pretext-cli icon indicating copy to clipboard operation
pretext-cli copied to clipboard

If pdf build fails, dump .tex file into log directory

Open rhinopotamus opened this issue 1 year ago • 0 comments

Say I'm building to pdf, but something is wrong with the generated LaTeX file. The LaTeX engine will give me some useful error messages with line numbers, but those point to the generated LaTeX file rather than the PreTeXt source.

That LaTeX file lives in some temp directory whose address is logged (I'm pretty sure this happens here), but it'd be nice if I could just look in the log directory (or maybe even the output directory?) for it.

rhinopotamus avatar Jul 26 '24 22:07 rhinopotamus