[XeTeX] XeTeX Digest, Vol 67, Issue 40

Michiel Kamermans pomax at nihongoresources.com
Sat Oct 17 13:35:25 CEST 2009


mhbezine2009 wrote:
> Now I understand that XeTeX is intended to regard Chinese chars as 
> normal "letters". Is it possible to simply define a macro to let 
> non-alpha chars terminate the command parsing? Note that LaTeX 
> provides commands \makeatother and \makeatletter to do somewhat 
> similar work:-) Especially, I hope to extend such features for "@" to 
> chinese characters (including chinese punctuations) since it would 
> look more natural not to insert odd spaces or "\ " for Chinese 
> typesetting.
Look more natural in which respect? Typically people will never see your 
.tex source file, so what should matter is how it comes rolling out of 
the DVI/PDF generation process I would imagine? Since this behaviour is 
uniform in XeTeX for any unicode character, it might not be a good idea 
to start adding exception rules to the actual parsing of the TeX source 
based merely on which characters follow - you would be breaking every 
XeTeX source written that now use mixed script macros, for instance. 
That's arguably a really bad idea =)

- Mike "Pomax" Kamermans
nihongoresources.com


More information about the XeTeX mailing list