ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Idris Samawi Hamid" <ishamid@colostate.edu>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: Re: active strings in luatex?
Date: Sun, 13 Jan 2008 16:25:55 -0700	[thread overview]
Message-ID: <op.t4v51hpnnx1yh1@your-b27fb1c401> (raw)
In-Reply-To: <478A97CF.1020708@wxs.nl>

On Sun, 13 Jan 2008 15:59:27 -0700, Hans Hagen <pragma@wxs.nl> wrote:

>>> In luatex can I make a definition such that such that the string
>>>
>>> U004C U0303 (l ̃)
>>>
>>> is always treated as l with tilde above, taking into account italics  
>>> and
>>> without using \~l (which does not work in, eg, footnote)?
>>
>>   What you want here is to support the Unicode combining characters,
>> which isn't straightforward in TeX because according to the Standard,
>> they come after the base letter they modify, while TeX's accent commands
>> are, of course, typed before.  So you can't simply make the combining
>> characters active and equivalent to the appropriate accent macros.
>
> if i know the precise specs i can build it into the utf collapser, which
> is way faster than dealing with tokens (mkiv will not have a token
> parser for the main input, at most for dedicated tasks)

This may be a good place to start:

http://www.unicode.org/versions/Unicode5.0.0/ch02.pdf

see pages 48--54

don't know if this is precise enough... See also pp.~109--117 of

http://www.unicode.org/versions/Unicode5.0.0/ch03.pdf

which seems even more precise. See also

http://www.unicode.org/versions/Unicode5.0.0/UnicodeBookIX.pdf

under "combining"

Best wishes
Idris

-- 
Professor Idris Samawi Hamid, Editor-in-Chief
International Journal of Shi`i Studies
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2008-01-13 23:25 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-28 18:29 Idris Samawi Hamid
2008-01-13  3:31 ` Arthur Reutenauer
2008-01-13 11:18   ` Taco Hoekwater
2008-01-13 14:38     ` Mojca Miklavec
2008-01-14  0:20       ` Arthur Reutenauer
2008-01-13 18:51     ` Arthur Reutenauer
2008-01-13 22:59   ` Hans Hagen
2008-01-13 23:25     ` Idris Samawi Hamid [this message]
2008-01-13 23:30     ` Arthur Reutenauer
2008-01-14  8:59       ` Hans Hagen

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=op.t4v51hpnnx1yh1@your-b27fb1c401 \
    --to=ishamid@colostate.edu \
    --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).