reitzig / ltx2any

Yet another LaTeX build wrapper, with one or two nifty features
GNU General Public License v3.0
59 stars 4 forks source link

Name undefined control sequence #91

Closed koppor closed 6 years ago

koppor commented 7 years ago

Is it possible to extract some kinds of error messages "better"?

For instance, at "undefined control sequence", I'd like to know the control sequence instead of some other (more or less) unrelated information. 😇

grabbed_20170131-102653

akerbos commented 7 years ago

Phew, LaTeX logs suck.

Basically, TeXLogParser is the best I can do short of dealing with even more special cases.

That said, this looks like a standard error; of such, TeXLogParser should catch the whole message without changing formatting, which usually give you a helpful message. Can you paste the passage from the raw log, please?

reitzig commented 6 years ago

@koppor Is this still current? Without a concrete log as an example, I won't be able to add more rules to the log parser.

koppor commented 6 years ago

In case I come up with an mwe, I will reopen the issue.