[NTG-context] Titles numbering

Wolfgang Schuster schuster.wolfgang at gmail.com
Wed Feb 17 14:37:59 CET 2016


> Michał Goliński <mailto:golinski at amu.edu.pl>
> 17. Februar 2016 um 14:32
> The following file used to give me numbered titles (and still gives 
> numbered titles in TeXLive):
>
> \setuphead[part][
>   placehead=yes,
>   page=yes,
> %  number=yes
> ]
>
> \setuphead[chapter][
>   page=yes,
> %  number=yes
> ]
>
> \starttext
\startbodymatter
>   \startpart[title={Part one}]
>     \startchapter[title={Fancy chapter name}]
>       \startsection[title={A very very very long section title}, 
> list={Shortened somewhat}]
>         \input knuth
>       \stopsection
>     \stopchapter
>   \stoppart
\stopbodymatter
>   \startbackmatter
>     \startchapter[title={Contents}]
>       \placecontent[criterium=all]
>     \stopchapter
>   \stopbackmatter
> \stoptext
>
>
> In the current beta, they are unnumbered. Has the syntax changed?
>
>
> Besides, according to wiki, "number=yes" should force a numbered 
> title, while uncommenting these lines in fact suppresses the number in 
> TeXLive (and does not help in beta).
>
> Is this a bug/work in progress or am I doing something wrong here?
You’re missing the start/stop-commands for the bodypart.

Wolfgang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20160217/e4710846/attachment-0001.html>


More information about the ntg-context mailing list