aclements / latexrun

A 21st century LaTeX wrapper
MIT License
616 stars 65 forks source link

Line breaks are not parsed correctly when using #58

Open jmpzero opened 5 years ago

jmpzero commented 5 years ago

The two regular expressions don't seem to work, when the whole path is multiline

r'^Transcript written on "?(.* )\.log"?\.$' and r'^Output written on "?(.*\. [^ ."]+)"? \([0-9]+ page'

Files were located in a path, where the the output for transcript and output would not fit into a single line. The script immediately broke, even though the regular expression should support multilines.

jmpzero commented 5 years ago

This happens especially when

Transcript written on /home/jmpzero/tex/test .log.

or

Output written on /home/jmpzero/tex/test.pdf (2 pages, , 89632 bytes).