[XeTeX] problem with ~ in Mapping=velthuis-sanskrit

David Carlisle d.p.carlisle at gmail.com
Thu Nov 12 11:35:43 CET 2020


>    \catcode`\~=12%

changing catcodes in an environment looks wrong (the % after the 12 is
definitely wrong)  if you change catcodes then the definition cannot work
in the argument of any command (for the same reasons that \verb does not
work in command arguments) . Leave ~ active but make it expand to the
inactive one eg

\edef~{\string~}%
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/xetex/attachments/20201112/87a6b434/attachment.html>


More information about the XeTeX mailing list.