Dear all, There is an error message, "undefined control sequence as below when I use "\startstructureblockenvironment": mtx-context | run 1: luatex --fmt="/Users/graph/ConTeXt/tex/texmf-cache/luatex-cache/context/2448223e6631addb83df348d74153606/formats/cont-en" --lua="/Users/graph/ConTeXt/tex/texmf-cache/luatex-cache/context/2448223e6631addb83df348d74153606/formats/cont-en.lui" --backend="pdf" "./test4.tex" \stoptext This is LuaTeX, Version beta-0.70.1-2011051908 (rev 4277) \write18 enabled. (test4.tex ConTeXt ver: 2011.10.08 11:42 MKIV fmt: 2011.10.12 int: english/english system > cont-new.mkiv loaded (/Users/graph/ConTeXt/tex/texmf-context/tex/context/base/cont-new.mkiv system > beware: some patches loaded from cont-new.mkiv ) system > test4.top loaded (test4.top) fonts > latin modern fonts are not preloaded languages > language en is active ! Undefined control sequence. system > tex > error on line 6 in file test4.tex: Undefined control sequence ... 1 \definestructureconversionset[frontpart:pagenumber][][romannumerals] 2 \definestructureconversionset[bodypart:pagenumber] [][numbers] 3 4 \setuplist[chapter][pageconversionset=pagenumber] 5 6 >> \startstructureblockenvironment[frontpart] 7 \setupuserpagenumber[numberconversion=romannumerals] 8 \setuppagenumber[number=1] 9 \stopstructureblockenvironment 10 11 \startstructureblockenvironment[bodypart] 12 \setuppagenumber[number=1] 13 \stopstructureblockenvironment 14 15 \startcomponent Test 16 l.6 \startstructureblockenvironment [frontpart] ? I followed an example in the wiki - http://wiki.contextgarden.net/Table_of_Contents Would you please tell me what is wrong? Here is a sample code. \definestructureconversionset[frontpart:pagenumber][][romannumerals] \definestructureconversionset[bodypart:pagenumber] [][numbers] \setuplist[chapter][pageconversionset=pagenumber] \startstructureblockenvironment[frontpart] \setupuserpagenumber[numberconversion=romannumerals] \setuppagenumber[number=1] \stopstructureblockenvironment \startstructureblockenvironment[bodypart] \setuppagenumber[number=1] \stopstructureblockenvironment \startcomponent Test \startbodymatter \chapter{One} \input knuth \chpater{Two} \input knuth \stopbodymatter \stopcomponent Thank you. Best regards, Dalyoung
participants (2)
-
Jeong Dalyoung
-
Wolfgang Schuster