Re: [NTG-context] label bug with latest beta (2011.04.22)
Further, I have two more problems with the new label system: 1) The label "Part" is not shown any more in the ToC. 2) Showing the label in the ToC but not in the parts (bodypart for example) doesn't work any more with this solution: http://www.ntg.nl/pipermail/ntg-context/2011/058614.html Here's an example showing both problems: \setuphead [chapter] [bodypartlabel=] % uncommenting this adds the label again, but in both the toc and the bodypart \setuphead [section] [bodypartlabel=] % uncommenting this adds the label again, but in both the toc and the bodypart %\setuplabeltext [en] [part={Part }] % no difference, Part is not shown \setuplabeltext [en] [chapter={Chapter }] \setuplabeltext [en] [section={Section }] \starttext \startfrontmatter \completecontent [criterium=all,label=yes] \stopfrontmatter \startbodymatter \startpart [title={Table of Contents}] \startchapter [title={Chapter}] \startsection [title={Section}] \stopbodymatter \stoptext Adam
Am 23.04.2011 um 21:02 schrieb Reviczky, Adam:
Further, I have two more problems with the new label system:
1) The label "Part" is not shown any more in the ToC. 2) Showing the label in the ToC but not in the parts (bodypart for example) doesn't work any more with this solution: http://www.ntg.nl/pipermail/ntg-context/2011/058614.html
\setuplist[part] [label=part] \setuplist[chapter][label=chapter] \setuplist[section][label=section] and use the \completecontent command without setting for label because this will otherwise overwrite the settings above. Wolfgang
On 23-4-2011 9:02, Reviczky, Adam wrote:
\startbodymatter \startpart [title={Table of Contents}] \startchapter [title={Chapter}] \startsection [title={Section}]
some day leaving out the \stop's will backfire on you
\stopbodymatter \stoptext
add added a fallback in the beta ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (3)
-
Hans Hagen
-
Reviczky, Adam
-
Wolfgang Schuster