The example for pagenumbering(different pagenumbering in different parts
with appropriate change in TOC) in MkIV given by Wolfgang @
http://www.ntg.nl/pipermail/ntg-context/2009/043296.html no longer works.

If \completecontent is commented it works.

errors:

structure       : begin of sectionblock frontpart
structure       : title @ level 2 : 0.0 -> \headtext {content}
! LuaTeX error ...text/tex/texmf-context/tex/context/base/strc-pag.lua:104:
bad argument #3 to 'format' (string expected, got table)
stack traceback:
    [C]: in function 'format'
    ...text/tex/texmf-context/tex/context/base/strc-pag.lua:104: in function
'number'
    ...text/tex/texmf-context/tex/context/base/strc-pag.lua:172: in function
'prefixpage'
    ...text/tex/texmf-context/tex/context/base/strc-lst.lua:399: in function
'prefixedpage'
    <main ctx instance>:1: in main chunk.
\structurelistpagenumber ...gestopper \!!es , } )}

\doifsomething #1->\edef \!!stringa {#1
                                       }\ifx \!!stringa \empty \expandafter
...
<argument> ...omething {\structurelistpagenumber }
                                                   {\hbox \ifdim \listwidth
...
\firstofoneargument #1->#1

<argument> ...and {\structurelistpagenumber }}}}}}
                                                  }\vbox {\hsize \!!widthb
\...
\domakelistelement ...#4}[internal(#2)]\else #3{#4
                                                  }\fi
...


ConTeXt  ver: 2009.09.09 14:31 MKIV  fmt: 2009.9.11  int: english/english

Ofcourse, it worked well a few days back, I updated today.

-- 
A few minutes of yours can give many minutes of education to someone less
priviledged. Go to my blog(http://teachmetowrite.blogspot.com/) and click on
the social vibe badge to make a difference.
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to