Arthur Reutenauer wrote:
Hello Idris,
I didn't see any reply to this e-mail you sent two weeks ago, so I wanted to give it a try:
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) 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 -----------------------------------------------------------------