* Titles numbering
@ 2016-02-17 13:32 Michał Goliński
2016-02-17 13:37 ` Wolfgang Schuster
0 siblings, 1 reply; 2+ messages in thread
From: Michał Goliński @ 2016-02-17 13:32 UTC (permalink / raw)
To: ConTeXt
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
\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
\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?
Regards
Michał
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Titles numbering
2016-02-17 13:32 Titles numbering Michał Goliński
@ 2016-02-17 13:37 ` Wolfgang Schuster
0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Schuster @ 2016-02-17 13:37 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 1206 bytes --]
> Michał Goliński <mailto:golinski@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
[-- Attachment #1.2: Type: text/html, Size: 2831 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 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 : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-02-17 13:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-17 13:32 Titles numbering Michał Goliński
2016-02-17 13:37 ` Wolfgang Schuster
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).