latexrun icon indicating copy to clipboard operation
latexrun copied to clipboard

Fails on finding the logfile when using synctex with lualatex

Open kaueraal opened this issue 7 years ago • 3 comments

When running latexrun --latex-cmd lualatex --latex-args '-shell-escape -interaction=nonstopmode -synctex=1' --bibtex-cmd biber main.tex latexrun is not able to find the log file and outputs failed to extract job name from latex log. It is probably due to the fact, that lualatex outputs SyncTeX written on main.synctex.gz.Transcript written on main.log. instead of the usual line when synctex is enabled.

Using latexrun --latex-cmd lualatex --latex-args '-shell-escape -interaction=nonstopmode' --bibtex-cmd biber main.tex works correctly.

kaueraal avatar Jul 28 '17 10:07 kaueraal

I noticed that now the syntax for adding extra arguments is --latex-args='--synctex=1'

marco-vassena avatar Nov 26 '19 16:11 marco-vassena

I can run it, but it doesn't seem to generate the *synctex.gz file

marco-vassena avatar Nov 26 '19 16:11 marco-vassena

The file is written into the output directory (obj_dir default latex.out). If you need it in the top directory for synching the pdf, pass flag -O ..

marco-vassena avatar Nov 27 '19 16:11 marco-vassena