ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Idris S Hamid <ishamid@attbi.com>
Cc: ahoenig@suffolk.lib.ny.us
Subject: A Semetic Aporia
Date: Sun, 17 Nov 2002 21:17:45 -0800	[thread overview]
Message-ID: <200211172117.45028.ishamid@attbi.com> (raw)

Dear Hans,
I have a serious problem: 

In Classical Arabic numerals are pronounced from single digits to tens to 
hundreds, etc., e.g. 

1234== four, thirty, two hundred, and a thousand. This makes transcribing 
Arabic numerals easy: they run the same as in roman languages. So in my otp's 
(Omega-Gamma) there is a command to transcribe any left-to-right L-R string 
numeral into an L-R string in Arabic (so I don't have to type the numeral 
backwards in the L-R transcription; i.e., typing 1234 in L-R comes out the 
same in R-L).

But there is a complicated scenario: For purposes of sectioning, we get (as in 
a TOC) for e.g. Section 3.12

in roman it should be (L-R):
3.12-------------------------------------------<page no.>

in Arabic it should be (R-L):
<page no.>-------------------------------------------12.3

Now my Gamma configuration is such that everything is flipped R-L except for 
numerals, so I _actually_ get
<page no.>-------------------------------------------3.12

in my Arabic sections and TOC. Is there any way to reverse the order of 
subsections so that subsection 3.12 comes out as 12.3? I assume there is some 
code that commands ConTeXt to print the section number, followed by the 
subsection number. Can that be hacked to reverse the sequence for Semetic 
documents (Arabic and Hebrew)? So we could have an option say,  
[style=semetic]. I did something similar in EDMAC once for Arabic critical 
editions.

I am finishing up a treatise in Arabic to be submitted later this week so I'm 
desparate. I guess I could replace all the numerals using the manual 
mechanism but there must be a better way!

Best wishes
Idris
-- 
Dr. Idris S Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

             reply	other threads:[~2002-11-18  5:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-18  5:17 Idris S Hamid [this message]
2002-11-18  9:59 ` Hans Hagen
2002-11-18 20:22   ` Idris S Hamid
2002-11-18 20:42     ` Idris S 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=200211172117.45028.ishamid@attbi.com \
    --to=ishamid@attbi.com \
    --cc=ahoenig@suffolk.lib.ny.us \
    --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).