Idris Samawi Hamid wrote:
> On Sun, 23 Sep 2007 11:45:41 -0600, Mojca Miklavec  
> <[EMAIL PROTECTED]> wrote:
> 
>> On 9/23/07, Wolfgang Schuster wrote:
>>
>>> this would be nice because many chinese and japanese fonts have very
>>> ugly characters for normal latin texts and would be nice to choose
>>> another font for them.
>>>
>>> The second point is some it often neccesary to choose differents fonts
>>> for arabic, greek ... and this method can used to switch to the
>>> corresponding font without inserting font switching commands in the
>>> text but handle this with character classes.
>> I guess that in LuaTeX you can "compose your own font" on the fly. So
>> you can say "please take this region from Arial, another region from
>> some Greek fonts, and yet another from Chineese, perhaps some more
>> characters from somewhere else ... And then you can use a single font
>> for everything. (Don't ask me how this can be done, though.)
> 
> Let's get even more funky: we could define "text direction classes" such  
> that switching from LR to RL automatically switches from, say, the latin  
> group (or cyrillic) to the arabic group (or hebrew), and direction  
> switching could be done using the appropriate unicode characters instead  
> of control sequences (ie, unicode direction charaters should be made  
> active).

didn't i send you the code for that trick a while ago?

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 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
___________________________________________________________________________________

Reply via email to