latexrun icon indicating copy to clipboard operation
latexrun copied to clipboard

Numbers in brackets from preamble output are incorrectly parsed as page numbers

Open tchajed opened this issue 6 years ago • 0 comments

The semantic package outputs a date in the format [2018/11/1], which latexrun incorrectly parses as the page number 2018. This only affects the first page, since subsequent page numbers correct it, but it causes errors on the first page to be reported as being on page 2019.

A simple way to test this is \typeout{[2018/11/1]} in the preamble and then an error on the first page (eg, an overfull \hbox).

Perhaps one way this could be fixed is re-setting the page number after processing the preamble.

tchajed avatar Nov 01 '18 19:11 tchajed