[Clas12nim] better pdflatex log

Maurizio Ungaro ungaro at jlab.org
Tue Jan 8 15:04:11 EST 2019


Hi all,

This applies only to those of you using scons to build the pdf file. I find the default log of  pdflatex quite annoying and hard to follow.

If you replace the SConstruct lines with these (change ltcc.tex to your main source tex file):

env = Environment(PDFLATEXFLAGS = "-halt-on-error")  # stops log where error occurs
env['ENV']['max_print_line']='1048576'               # log output does not break single lines into multiples
env.Command('ltcc.pdf', 'ltcc.tex', "pdflatex $SOURCE > /dev/null; bibtex $SOURCE ; pdflatex $SOURCE")

the log will be better. Let me know if you need any help with it.

Mauri

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.jlab.org/pipermail/clas12nim/attachments/20190108/047e04cf/attachment.html>


More information about the Clas12nim mailing list