Taco Hoekwater wrote:
> Hi,
>
> Hans Hagen wrote:
>   
>> figure [num1] . [num2] . [num3] 
>>
>> should come out as 
>>
>>  [num3] . [num2] . [num1] erugif
>>     
>
> We discovered that the arabic contextual analyzation OTP assumes
> that any sequence of [0-9.+-]+ is a single number and should be
> typeset in TLT mode.
>   
just curious: does this make sense? why is this?
> For figure numbers and version numbers etcetera this assumption
> is wrong (they are multiple numbers concatenated together).
>
> A trick (?) is to change the separator such that the number
> parsing in the otp see separate numbers as well:
>
>    \setupcaptions[separator={{.}}]
>   
or a bit more extensive:

\def\ArabicUTF
  {\ArabicDirGlobal
   \usefiltersequence[UTFArabic]%
   % not needed:   \reversesectionnumberstrue
   \switchtobodyfont[omarb]}

\setupheads   [separator={{.}}]
\setupcaptions[separator={{.}}]

 this still gives problems with refering to a graphic but for that we need more 
hackery 

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
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to