Steffen Wolfrum wrote:
> On Wed, 11 Apr 2007 17:44:18 +0200, Mojca Miklavec wrote:
>   
>> You should try to get "uc" working if possible, but you need to add
>> some definitions from my previous mail. If you want to stick with
>> texnansi, you should better use pdfTeX.
>>     
>
> I have a document with German as the main language, defined ...
>
> \usetypescriptfile[type-gyr]
> \usetypescript[times][texnansi]
> \mainlanguage[de]
> \setupbodyfont[times,10pt] 
>
> .... and inserted Arabic quotes in Arabic AlBayan.ttf, defined  ...
>
> \font\geeza="AlBayan" at 10pt
>
>
> That's why it's typeset with XeTeX. But nevertheless texnansi for 
> TeXGyreTermes seems to be fine (at least for now).
>   
technically one can define a virtual font which uses TeXGyreTermes as base, but 
has additional glyphs taken from AlBayan; I do have experimental code for that 
but have to cook up an interface (not that hard, i only need time and 
motivation); that way you dont't need to switch to geeza in between 

\ctxlua {
    fonts.define.methods.install("weird", {
{ "include-method", "base" } ,
{ "copy-char"     , "lmroman10-regular"     ,     65,     66 } ,              { 
"copy-range"    , "lmsans10-regular"      , 0x0100, 0x01FF } , 
{ "copy-range"    , "lmtypewriter10-regular", 0x0200, 0xFF00 } ,
{ "fallback-range", "lmtypewriter10-regular", 0x0000, 0x0200 }   
    })
}

\starttext

\startTEXpage

[EMAIL PROTECTED]
\test \eacute \rcaron \adoublegrave \char"0200
AB\char65\char65

\stopTEXpage

Along these lines ... but then properly interfaced -) 


Hans 

-----------------------------------------------------------------
                                          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
-----------------------------------------------------------------

_______________________________________________
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to