Bruno Le Floch
2018-04-18 15:08:33 UTC
Hello,
I suggest allowing \Ucharcat to produce active characters. See
three-line patch attached. This would allow to produce active
characters expandably in all engines (pdfTeX, luaTeX, XeTeX, pTeX,
upTeX). My code makes
\Ucharcat `~ 13
\expandafter\show\Ucharcat `~ 13
\edef\foo{\expandafter\noexpand\Ucharcat `~ 13 }
run the code of the active ~ as if it had been typed directly, then show
its meaning, then do the equivalent of \def\foo{~}.
Bruno
I suggest allowing \Ucharcat to produce active characters. See
three-line patch attached. This would allow to produce active
characters expandably in all engines (pdfTeX, luaTeX, XeTeX, pTeX,
upTeX). My code makes
\Ucharcat `~ 13
\expandafter\show\Ucharcat `~ 13
\edef\foo{\expandafter\noexpand\Ucharcat `~ 13 }
run the code of the active ~ as if it had been typed directly, then show
its meaning, then do the equivalent of \def\foo{~}.
Bruno