[XeTeX] Special characters: how to handle cleanly
Will Robertson
wspr81 at gmail.com
Tue May 27 07:18:59 CEST 2008
On 26/05/2008, at 5:23 PM, Joseph Wright wrote:
> The problems for me is that I
> don't know how to use \catcode or \lccode with UTF codes (or indeed
> where to find such information). In your example, you use explicit
> characters, which works fine in UTF8 but not is ASCII :-(
Ah, no worries :)
The relevant lines to change are
\catcode`\^^^^00b5=13
\def^^^^00b5{\check at glyph@else{`\^^^^00b5}{\ERROR}}
That is, you can use the hexadecimal unicode value (in lowercase) with
as many "^" as hex digits. (So ^^b5 and ^^^0b5 also work.)
Hope this helps,
Will
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2415 bytes
Desc: not available
Url : http://tug.org/pipermail/xetex/attachments/20080527/67837942/attachment-0001.bin
More information about the XeTeX
mailing list