On Mon, May 11, 2009 at 9:00 PM, Wolfgang Schuster <[email protected]> wrote: > > Am 11.05.2009 um 14:41 schrieb Yue Wang: > >> Hi Wolfgang: >> >> nice script. >> >> Can the module meet my needs discussed in >> http://www.ntg.nl/pipermail/ntg-context/2009/040831.html ? > > dunno, i have to see more from your code >
The code is already in http://code.google.com/p/ctex-kit/ It's located in /trunk/zhspacing/ directory. Thanks for reviewing. The key idea is to group chinese words in {\zhfonts } automatically using XeTeX's interchartok mechanism. In LaTeX, It saves the current latin nfss style state in a macro, then apply to the zhfonts group. related code is in zhspacing/tex/latex/zhfont.sty. But I don't know how to do that in ConTeXt. >> or is it possible to extend the support to xetex? > > possible yes but it's a lot of work because the complete fallback mechanism > needs to be written for XeTeX which is available for MkIV since a while. > > Wolfgang > > ___________________________________________________________________________________ > If your question is of interest to others as well, please add an entry to > the Wiki! > > maillist : [email protected] / > http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : https://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ___________________________________________________________________________________ > ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : [email protected] / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
