Am Thu, 14 Oct 2010 13:28:16 +0200 schrieb Mojca Miklavec:

> Wolfgang Schuster has just posted an example to dev-cont...@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 



--------------------------------------------------
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex

Reply via email to