[XeTeX] Localized XeLaTeX: was Greek XeLaTeX
Ulrike Fischer
news3 at nililand.de
Thu Oct 14 13:56:43 CEST 2010
Am Thu, 14 Oct 2010 13:28:16 +0200 schrieb Mojca Miklavec:
> Wolfgang Schuster has just posted an example to dev-context at ntg.nl:
>
> \usemodule[translate]
> \translateinput[μμ][mm]
>
> \enableinputtranslation
>
> \starttext\tt
> \scratchdimen=2mm 2mm: \the\scratchdimen\crlf
> \scratchdimen=1μμ 1μμ: \the\scratchdimen
> \stoptext
I don't have a context currently to try, but what would happen if
you use it e.g. this way:
\usemodule[translate]
\translateinput[im][mm]
\enableinputtranslation
\starttext\tt
\scratchdimen=2mm 2mm: \the\scratchdimen\crlf
\scratchdimen=1im 1im: \the\scratchdimen
immens
\stoptext
Would this replace every occurence of "im" in the input? Including
the "im" in \scratchdimen, the "im" in the second 1im and the "im"
in immens?
--
Ulrike Fischer
More information about the XeTeX
mailing list