[texhax] Detection of start of source line

Christian Neukirchen chneukirchen at gmail.com
Wed Oct 5 18:45:01 CEST 2016


Philip Taylor <P.Taylor at Rhul.Ac.Uk> writes:

> But now that the cat has got off and I am wearing the right glasses, I
> can confirm that my suggestion does not work as-is; even when
> \futurelet has changed \nexttoken into the character '*', the \ifx
> fails, for reasons that temporarily escape me ...

After a few minutes... I saw \nextoken != \nexttoken.

Now your approach seems to work!

(But I wonder what redefining newline breaks...)

Thanks,
-- 
Christian Neukirchen  <chneukirchen at gmail.com>  http://chneukirchen.org



More information about the texhax mailing list