You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Invoke pdflatex through latexrun.
latexrun is a script that tidies up the output of pdflatex in such a way
that it looks similar to GCC/Clang. (Almost?) all unnecessary output is
removed. Instead of suppressing the output on success, now use the
occasion to simply print the output of this command, so the user has
useful warnings to act on.
Unfortunately, the stock version of latexrun required a minor change to
work properly. It seems to crash by default if pdflatex invokes mktexfmt
as well. Fix this by using non-greedy pattern matching. Also improve the
output a bit by using relative paths.
Fixes: ProdriveTechnologies#3
Run pdflatex until we reach a fixed point.
It looks like running pdflatex twice is not sufficient to get line
numbers in documents working properly. Simply run up to ten times,
terminating if two runs yield the same document.