Michał Goliński <mailto:golin...@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
___________________________________________________________________________________
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 : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________