[XeTeX] Re: XeTeX & Unicode vs. standard LaTeX

Jonathan Kew jonathan_kew at sil.org
Sun Oct 10 22:02:38 CEST 2004


On 10 Oct 2004, at 8:46 pm, Zsolt Kiraly wrote:

> One question. Is the mapping user extensible ? is there a cfg file
> that I can modify to define additional mappings ?

Yes, users can define mappings as required. I'll include a couple of 
examples (including a basic "tex-text" mapping), but there are many 
other possibilities--for example, transliteration between different 
scripts.

On 10 Oct 2004, at 8:44 pm, Somadevah at aol.com wrote:

>
>    U+002D U+002D         >  U+2013 ; endash
>       U+002D U+002D U+002D  >  U+2014 ; emdash
>       U+0060 U+0060         >  U+201C ; opening double quote
>
>  Dear Jonathan,
>
>  this sounds fantastic. Is this substitution scheme going to have a 
> syntax permitting the use of character ranges and maybe even 
> replacement patterns? So that one might be able to reorder character 
> positions saying something like (assuming syntax resembling grep):
>
>  ([U+0915-U+0939]) (U+0930) > \2\1
>
>  I suppose one could spell out these substitutions for each case, but 
> it would save time...

Yes. For more on the mapping engine (primarily focused on 
byte<->Unicode encoding conversion, but being used here to do 
transformations of a Unicode text stream), see:

	http://scripts.sil.org/teckit

The software currently there is primarily for Windows, but I'll post OS 
X versions too.

Jonathan



More information about the XeTeX mailing list