[texhax] read argument until EOL
Uwe Lueck
uwe.lueck at web.de
Thu Jan 6 19:54:00 CET 2011
I really wondered about \uccode/\uppercase where LaTeX has
\lccode/\lowercase ...
could you please explain the joke to the rest of us?
Looks like a nice lesson on TeX! -- Uwe.
[Phil originally:]
> >> \def \eolsection
> >> {
> >> \begingroup
> >> \catcode `\^^M = \active
> >> \uccode `\~ = `\^^M
> >> \uppercase {\def \innereolsection ##1~}{\endgroup \message {##1}}\relax
> >> \innereolsection
> >> }
> >> Where I have "\message {##1}", you should insert whatever
> >> you want to do with My Title and analogous parameters.
> Heiko Oberdiek wrote:
> > "1" might have the wrong uccode different than 0 or `1.
> > (But I would consider it as quite small risk.
"Philip Taylor (Webmaster, Ret'd)" <P.Taylor at rhul.ac.uk>
answered 06.01.2011 16:57:04:
>
> I had to re-read that several times before I saw your point.
> But now I have seen it, I am ROTFL :-) (In less polite
> groups, I have even seen PMSL, but I would not sink to
> such vulgarity in these refined circles). But you are,
> of course, quite correct : "1" /might/ have the wrong
> \uccode. But it is a little unlikely !
More information about the texhax
mailing list