[NTG-context] Font switching question

2009-05-11 Thread Yue Wang
Hi, Hans: I am working on Chinese support on XeTeX/ConTeXt and I almost finished that. I will later upload a module called t-zhspacing to the garden (or CTAN?). But there is one last problem. Let me explain like this. Suppost I have two typescripts (typeA and typeB) and both with complete

Re: [NTG-context] Font switching question

2009-05-11 Thread Yue Wang
Hi Hans: let me give a better explanation. we define a typescript foobar. so we can call \foobar to load the foobar typeface. then we should define a macro like this: \def\switchtofoobar{\savecurrentstyle\foobar\getcurrentstyle} and call it like that: text 1 {\swichtofoobar text2} text 3 when

Re: [NTG-context] Font switching question

2009-05-11 Thread Wolfgang Schuster
Am 11.05.2009 um 16:38 schrieb Yue Wang: Hi Hans: let me give a better explanation. we define a typescript foobar. so we can call \foobar to load the foobar typeface. then we should define a macro like this: \def\switchtofoobar{\savecurrentstyle\foobar\getcurrentstyle} and call it like

Re: [NTG-context] Font switching question

2009-05-11 Thread Yue Wang
On Mon, May 11, 2009 at 11:23 PM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 11.05.2009 um 16:38 schrieb Yue Wang: Hi Hans: let me give a better explanation. we define a typescript foobar. so we can call  \foobar to load the foobar typeface. then we should define a