ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Subject: Re: Aleph queries
Date: Fri, 23 Jun 2006 13:08:54 +0200	[thread overview]
Message-ID: <449BCBC6.2090301@wxs.nl> (raw)
In-Reply-To: <449BB539.9010709@elvenkind.com>

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

  reply	other threads:[~2006-06-23 11:08 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.119.1150925775.1824.ntg-context@ntg.nl>
2006-06-22  6:52 ` frontmatter wwl
2006-06-22  6:52 ` frontmatter wwl
2006-06-22  7:57 ` Aleph queries Duncan Hothersall
2006-06-22 15:44   ` Hans Hagen
2006-06-23  8:35   ` Hans Hagen
2006-06-23  9:32     ` Taco Hoekwater
2006-06-23 11:08       ` Hans Hagen [this message]
2006-06-23  8:55   ` Hans Hagen
     [not found] <mailman.3.1151056802.10220.ntg-context@ntg.nl>
2006-06-23 12:10 ` Duncan Hothersall
2006-06-23 15:46   ` Idris Samawi Hamid
2006-06-23 16:24     ` Hans Hagen
2006-06-23 14:13 ` Duncan Hothersall
2006-06-15  8:30 Duncan Hothersall
2006-06-15 16:28 ` Idris Samawi Hamid
2006-06-21 15:37   ` Duncan Hothersall
2006-06-21 15:55     ` Idris Samawi Hamid
2006-06-21 16:11       ` Duncan Hothersall
2006-06-21 16:44         ` Idris Samawi Hamid
2006-06-21 16:35       ` Hans Hagen
2006-06-21 16:54         ` Idris Samawi Hamid
2006-06-21 17:05           ` Hans Hagen
2006-06-21 18:04             ` Idris Samawi Hamid
2006-06-21 19:16               ` Hans Hagen
2006-06-21 21:07                 ` Idris Samawi Hamid

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=449BCBC6.2090301@wxs.nl \
    --to=pragma@wxs.nl \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).