ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "George N. White III" <aa056@chebucto.ns.ca>
Cc: "aleph@ntg.nl" <aleph@ntg.nl>
Subject: Re: Arabic-utf-8 (plus a sample)
Date: Sun, 06 Jun 2004 10:22:07 -0300	[thread overview]
Message-ID: <Pine.SGI.4.60.0406061015330.6908@montigo.bio.dfo.ca> (raw)
In-Reply-To: <opr84y8ldgu9mfh0@lamar.colostate.edu>

On Sat, 5 Jun 2004, Idris Samawi Hamid wrote:

> Hi gang,
>
> For Arabic we use a Latin transcription in Aleph/(e-)Omega (or even ArabTeX) 
> unless one of the encoding filters like utf-8 is used. Even for utf-8 files, 
> however, it would be very useful to be able to convert a utf-8 file to Latin 
> transcription for further processing by Aleph/(e-)Omega. For example, adding 
> diacritics is much easier to do in Latin than in an Arabic script editor 
> because Latin transcription is one-dimensional and adding diacritics to 
> Arabic is a 2-dimen affair.
>
> The best thing would be a perl script but I don't know perl at all (except to 
> run some some precreated scripts). If someone out of the kindness of their 
> heart could write a short and simple script for just seven characters I could 
> do the rest myself and present it back here.

Can you use (or extend) GNU recode?  It does include support for
utf-8 and several TeX encodings.

From the manual: "It is easy for a programmer to add a new charset to 
`recode'.  All it requires is making a few functions kept in a single `.c' 
file, adjusting `Makefile.am' and remaking `recode'."

-- 
   George N. White III <aa056@chebucto.ns.ca>
   Head of St. Margarets Bay, Nova Scotia, Canada

      parent reply	other threads:[~2004-06-06 13:22 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-05 19:32 Idris Samawi Hamid
2004-06-05 20:41 ` Thomas A. Schmitz
2004-06-05 21:33   ` Idris Samawi Hamid
2004-06-05 21:48     ` Thomas A. Schmitz
2004-06-05 22:51       ` Idris Samawi Hamid
2004-06-05 23:15         ` Re[2]: " Giuseppe Bilotta
2004-06-05 23:31           ` Idris Samawi Hamid
2004-06-05 23:58             ` Re[4]: " Giuseppe Bilotta
2004-06-06  0:19               ` Idris Samawi Hamid
2004-06-06  0:26                 ` Idris Samawi Hamid
2004-06-06  9:09                 ` Perl scripting (was: Arabic-utf-8) Henning Hraban Ramm
2004-06-06 21:03                   ` Idris Samawi Hamid
2004-06-06 21:28                     ` Thomas A. Schmitz
2004-06-07 19:45                       ` Henning Hraban Ramm
2004-06-07 20:53                         ` Thomas A.Schmitz
2004-06-05 23:08 ` [SPAM: 3.411] Arabic-utf-8 (plus a sample) Richard MAHONEY
2004-06-06  0:19   ` Idris Samawi Hamid
2004-06-06 13:22 ` George N. White III [this message]

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=Pine.SGI.4.60.0406061015330.6908@montigo.bio.dfo.ca \
    --to=aa056@chebucto.ns.ca \
    --cc=aleph@ntg.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).