Sorry that was my fault for not cleaning up the .tuc-file or some
such. Thank you, now it works perfectly.
Johan
2011/8/2 Johan Sandblom
I updated to no avail. Perhaps I need to get a newer luatex? I also tried to change \midaligned to \hbox to \hsize and got another problem. Curiously it is now located on line 4 of the input file regardless of whethter line 4 is a comment or not.
Johan
Running `LuaConTeXt' on `minimaltele2' with ``context minimaltele2.tex''
mtx-context | run 1: luatex --fmt="/home/johans/context/tex/texmf-cache/luatex-cache/context/2448223e6631addb83df348d74153606/formats/cont-en" --lua="/home/johans/context/tex/texmf-cache/luatex-cache/context/2448223e6631addb83df348d74153606/formats/cont-en.lui" --backend="pdf" "./minimaltele2.tex" \stoptext This is LuaTeX, Version beta-0.70.1-2011051923 (rev 4277) \write18 enabled. (minimaltele2.tex
ConTeXt ver: 2011.07.26 09:17 MKIV fmt: 2011.8.2 int: english/english
system > cont-new.mkiv loaded (/home/johans/context/tex/texmf-context/tex/context/base/cont-new.mkiv system > beware: some patches loaded from cont-new.mkiv ) system > minimaltele2.top loaded (minimaltele2.top) fonts > latin modern fonts are not preloaded languages > language en is active {/home/johans/context/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map}fonts > preloading latin modern fonts (second stage) (/home/johans/context/tex/texmf-context/tex/context/base/type-siz.mkiv) (/home/johans/context/tex/texmf-context/tex/context/base/type-otf.mkiv) files > readfile > asked name: 'loc', not found {/home/johans/context/tex/texmf/fonts/map/dvips/lm/lm-math.map}{/home/johans/context/tex/texmf/fonts/map/dvips/lm/lm-rm.map} fonts > virtual math > unable to resolve name mapsfromchar fonts > fallback modern rm 12pt is loaded ! Undefined control sequence.
system > tex > error on line 4 in file minimaltele2.tex: Undefined control sequence ...
1 \mainlanguage[swedish] 2 3 %%\definedescription 4 >> %% [TelefonEntry] 5 %% [width=2em] 6 7 %%\unexpanded\def\TelefonCommand#1#2#3% 8 %% {\startTelefonEntry{#2}#3\stopTelefonEntry} 9 \unexpanded\def\TelefonCommand#1#2#3% 10 {\hbox to \hsize{#2\hfil#3}\par} 11 12 \definesorting[Telefon][Telefone] 13 14 \starttext
<argument> \fakewords {1}{1} \TelefonCommand ...#3->\hbox to \hsize {#2\hfil #3 }\par l.4 \sortingentry{1}{Ö}{\fakewords {1}{1}}{}
\doplacelistofsorts ...gparameter \c!method ", })} \stoppacked \endgroup l.25 ...on][criterium=all,command=\TelefonCommand]
?
2011/8/2 Wolfgang Schuster
: Am 02.08.2011 um 16:50 schrieb Johan Sandblom:
Thank you. Unfortunately I get the following:
! Undefined control sequence.
\TelefonCommand #1#2#3->\maxaligned
You can replace “\maxaligned” with “\hbox to \hsize”.
The command is rather new and the ConTeXt version of \line (\hbox to \hsize) from plain TeX.
Wolfgang ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
-- Johan Sandblom, MD PhD m +46735521477 Sweden "What is wanted is not the will to believe, but the will to find out, which is the exact opposite" - Bertrand Russell
-- Johan Sandblom, MD PhD m +46735521477 Sweden "What is wanted is not the will to believe, but the will to find out, which is the exact opposite" - Bertrand Russell