[NTG-context] Table of contents

John Devereux john at devereux.me.uk
Wed Apr 4 14:20:18 CEST 2012


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


More information about the ntg-context mailing list