[XeTeX] latin-1 encoded characters in commented out parts trigger log warnings

Ulrike Fischer news3 at nililand.de
Sun Feb 21 21:52:48 CET 2021


Am Sun, 21 Feb 2021 20:26:04 +0000 schrieb Ross Moore:

> Once you have encountered the (correct) comment character,
> what follows on the rest of the line is going to be discarded,
> so its encoding is surely irrelevant.
> 
> Why should the whole line need to be fully tokenised,
> before the decision is taken as to what part of it is retained?

Well you need to find the end of the line to know where to stop with
the discarding don't you? So you need to inspect the part after the
comment char until you find something that says "newline".



-- 
Ulrike Fischer 
https://www.troubleshooting-tex.de/



More information about the XeTeX mailing list.