Table of contents
Hi all, Feeling stupid... I updated my context MKIV to the latest version, was working with one ~1y old. I can't get a table of contents to work at all for some strange reason, am I misunderstanding something basic? I have tried all sorts of variants, but a test case and log follows. Thanks, John ====================================================================== %-*-context-*- \starttext \completecontent \section{One} some text \stoptext ====================================================================== mtx-context | run 1: luatex --fmt="/home/jd/context/tex/texmf-cache/luatex-cache/context/2448223e6631addb83df348d74153606/formats/cont-en" --lua="/home/jd/context/tex/texmf-cache/luatex-cache/context/2448223e6631addb83df348d74153606/formats/cont-en.lui" --backend="pdf" "./test.mkiv" \stoptext This is LuaTeX, Version beta-0.70.1-2011051918 (rev 4277) \write18 enabled. (test.mkiv ConTeXt ver: 2012.04.02 22:23 MKIV fmt: 2012.4.4 int: english/english system > cont-new.mkiv loaded (/home/jd/context/tex/texmf-context/tex/context/base/cont-new.mkiv system > beware: some patches loaded from cont-new.mkiv ) system > test.top loaded (test.top) fonts > latin modern fonts are not preloaded languages > language en is active {/home/jd/context/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map} fonts > preloading latin modern fonts (second stage) fonts > typescripts > unknown: library 'loc' {/home/jd/context/tex/texmf/fonts/map/dvips/lm/lm-math.map}{/home/jd/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 structure > sectioning > title @ level 2 : 0.0 -> \headtext {content} ! Undefined control sequence. system > tex > error on line 11 in file test.mkiv: Undefined control sequence ... 1 %-*-context-*- 2 \starttext 3 \completecontent 4 \section{One} 5 some text 6 \stoptext 7 \12>:77>:abc ...trc_lists_get_reference_attribute \v!all \strc_lists_get_des... \strc_lists_apply_renderingsetup ...nderingsetup } \relax \the \t_lists_every... \strclistsentryprocess ... \fi \fi \fi \endcsname \dostoptagged \listextrapa... l.11 {} \ctxcommand ...\directlua \zerocount {commands.#1} \doplacestructurelist ...s = "#4", order = "#5" }} \dostoptagged ... l.4 \section {One} ? ! Interruption. system > tex > error on line 11 in file test.mkiv: Interruption ... 1 %-*-context-*- 2 \starttext 3 \completecontent 4 \section{One} 5 some text 6 \stoptext 7 <to be read again> a l \v!all ->al l \12>:77>:abc ...ts_get_reference_attribute \v!all \strc_lists_get_destinatio... \strc_lists_apply_renderingsetup ...nderingsetup } \relax \the \t_lists_every... \strclistsentryprocess ... \fi \fi \fi \endcsname \dostoptagged \listextrapa... l.11 {} ... l.4 \section {One} ? ! Emergency stop. system > tex > error on line 11 in file test.mkiv: Emergency stop ... 1 %-*-context-*- 2 \starttext 3 \completecontent 4 \section{One} 5 some text 6 \stoptext 7 <to be read again> a l \v!all ->al l \12>:77>:abc ...ts_get_reference_attribute \v!all \strc_lists_get_destinatio... \strc_lists_apply_renderingsetup ...nderingsetup } \relax \the \t_lists_every... \strclistsentryprocess ... \fi \fi \fi \endcsname \dostoptagged \listextrapa... l.11 {} ... l.4 \section {One} ! ==> Fatal error occurred, no output PDF file produced! -- John Devereux
John Devereux
Hi all,
Feeling stupid...
I updated my context MKIV to the latest version, was working with one ~1y old.
I can't get a table of contents to work at all for some strange reason, am I misunderstanding something basic? I have tried all sorts of variants, but a test case and log follows.
[...] OK, this is happening on two separate (linux) systems now. One of them never had context on it before. \starttext \completecontent \section{One} some text \stoptext -- John Devereux
Hi, I was unsuccessful using \completecontent to my wishes in the recent past. The correct result I achieved with \placelist[section]. But now indeed even this fails with your example. Willi On 5 Apr 2012, at 09:14, John Devereux wrote:
\starttext \completecontent \section{One} some text \stoptext
Willi Egger
Hi,
I was unsuccessful using \completecontent to my wishes in the recent past. The correct result I achieved with \placelist[section]. But now indeed even this fails with your example.
Willi On 5 Apr 2012, at 09:14, John Devereux wrote:
\starttext \completecontent \section{One} some text \stoptext
Hi Willi, Thank you very much for trying it. Can anyone post even a trivial example that does work? Is the latest beta really broken? Thanks, John -- John Devereux
participants (2)
-
John Devereux
-
Willi Egger