On Wed, 13 Oct 2010, Wolfgang Schuster wrote:
Am 13.10.2010 um 01:01 schrieb Aditya Mahajan:
I thought that Mojca was asking if we can also specify units in Greek. For
example, 1μμ instead of 1mm (Although, I am not sure what are the corresponding
units in Greek).
\usemodule[translate]
\translateinput[μμ][mm]
\enableinputtranslation
\starttext\tt
\scratchdimen=2mm 2mm: \the\scratchdimen\crlf
\scratchdimen=1μμ 1μμ: \the\scratchdimen
\stoptext
On 2010.10.13 beta I get
! LuaTeX error <main ctx instance>:32: attempt to call field
'install_text_filter' (a nil value)
stack traceback:
<main ctx instance>:32: in function 'enable'
<main ctx instance>:1: in main chunk.
system > error on line 5 in file test.tex: LuaTeX error ...
1 \usemodule[translate]
2
3 \translateinput[μμ][mm]
4
5 >> \enableinputtranslation
6
7 \starttext\tt
8 \scratchdimen=2mm 2mm: \the\scratchdimen\crlf
9 \scratchdimen=1μμ 1μμ: \the\scratchdimen
10 \stoptext
11
This works fine in TL ConTeXt.
Aditya
_______________________________________________
dev-context mailing list
dev-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/dev-context