rstudio / rstudio/tinytex

Sth wrong with bibtex creation

Open
#357 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
R
Stars
1.2k
Forks
127
PR merge metrics
No merged PRs in 30d

Description

When I used tinytex::xelatex('./my_test.tex') to compile my test file, I found that everything is good, except for the bibtex part. Seems to be file not exist, but using other tools like TexStudio it works perfect. I don't know what wrong there is, just report here.

6.
stop("Failed to build the bibliography via ", bib_engine, call. = FALSE)
5.
system2_quiet(bib_engine, shQuote(aux), error = {
check_blg = function() {
if (!file.exists(blg)) 
return(TRUE) ...
4.
build_bib()
3.
latexmk_emu(file, engine, bib_engine, engine_args, min_times, 
max_times, install_packages, clean)
2.
latexmk(engine = "xelatex", emulation = TRUE, ...)
1.
tinytex::xelatex("./my_test.tex")

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the reported entry point, tinytex::xelatex('./my_test.tex'), and trace the latexmk_emu() and build_bib() calls shown in the stack trace. Reproduce the failure with the referenced my_test.tex and compare the bibliography invocation with the working TexStudio case; done means the bibliography builds successfully through xelatex without the reported missing-file failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
latex, r
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.