At 06:20 PM 5/4/2002 -0600, Idris Samawi Hamid wrote:

>%=========con-test3=================
>\usetypescriptfile[type-xxx]
>\usetypescript[arabtest]
>\setupbodyfont[omarab,10pt]
>
>\def\latinunicode{\ocp\BasicLatinTexUni=lat2uni
>       \ocp\BasicLatinUniToFont=uni2lat
>       \ocplist\BasicLatinOCP=
>       \addbeforeocplist 1 \BasicLatinTexUni
>       \addbeforeocplist 1 \BasicLatinUniToFont
>       \nullocplist
>       \pushocplist\BasicLatinOCP}

this kind of defs are best done with the filter definition macros

>\def\texencoding{\clearocplists}

so, is \clearocplists a primitive ? [can you mail me a properly pdf'd or 
ps'd manual of omega; i can only generate an ugly unreadable bitmap version 
with missing charactrers]

>If you leave \latinunicode uncommented then con-test3 will compile like an 
>ordinary ConTeXt job. Uncomment it and funny things happen:

hm, maybe we need to hook some otp disabling code to the framework that 
reads system files
\
>Hans mentioned that omega crashes on his system but I hope he or someone 
>else here can test this and help me find an answer.

the latest fptex binaries work, so i can now generate an omega format (at 
the cost of large mem values)

>2. I mentioned the once before but I was rather unclear then and hope to 
>be more clear and also more general this time:
>
>\showlayout, \showbodyfont, and \showbodyfontenvironment[omarab] do funny 
>things when the otp's are loaded. \showlayout actually causes omega to crash.
>\showgrid does not print the margin numbers (probably because they are 
>isolated from the otp list). I think the solution is to

this maybe due to otp lookahead (omega is a hungry program); i got quite 
some \CLOBBERED (funny enough an undefined primitive) messages to the screen;

>fontenvironment table in cmr. \showbodyfont[omarab][cmr][\myocplist bt] 
>would show sample characters transcribed by `b' and `t' from omarab but 
>print the table and
>verbatim commands in cmr. \myocplist would have to grouped so it affects 
>nothing but the sample characters.

that's for later,

>I am rather afraid to mess around with the ConTeXt macros myself. They 
>look rather frightening. Please don't make me do it:-)..

not needed, there are enough hooks to get things done properly

btw, adding

   \definetypeface [omarab] [tt] [mono] [computer-modern] [default]

to the xxx file helps -)
Hans
-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
                        information: http://www.pragma-ade.com/roadmap.pdf
                     documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------

Reply via email to