From: Derek CORDEIRO <derekcordeiro@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: pagenumbering/toc bug?
Date: Fri, 11 Sep 2009 12:07:35 +0530 [thread overview]
Message-ID: <33c64e670909102337u5285bda1xd794791aee0fccbe@mail.gmail.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 1772 bytes --]
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.
[-- Attachment #1.2: Type: text/html, Size: 2456 bytes --]
[-- Attachment #2: Type: text/plain, Size: 487 bytes --]
___________________________________________________________________________________
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 other threads:[~2009-09-11 6:37 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=33c64e670909102337u5285bda1xd794791aee0fccbe@mail.gmail.com \
--to=derekcordeiro@gmail.com \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).