* [NTG-ConTeXt] Wrong order of sections and subsections
@ 2016-06-18 22:03 Marcus Vinicius Mesquita
0 siblings, 0 replies; only message in thread
From: Marcus Vinicius Mesquita @ 2016-06-18 22:03 UTC (permalink / raw)
To: ntg-context
[-- Attachment #1.1: Type: text/plain, Size: 1652 bytes --]
Dear List
In the wiki, http://wiki.contextgarden.net/Titles, there is a MWE of how to
flush section head data without typesetting it in the text. But then
\placelist gives a wrong order of sections and subsections:
1 First section
1.1 First subsection
2 Second section
1.2 Second subsection
2.1 First subsection
If \setuptexttexts is omitted and the argument placehead=yes instead of
placehead=hidden, then the order is correct:
1 First section
1.1 First subsection
1.2 Second subsection
2 Second section
2.1 First subsection
Am I missing something?
Marcus Vinicius
______________________________-
MWE from the wiki
\setuphead
[section]
[placehead=hidden,
page=yes]
\setuphead
[subsection]
[placehead=yes,
page=yes,
continue=yes,
style=\it]
\setuptexttexts[{\placerawheaddata[section]}]
\starttext
\placelist[section,subsection] \page
\startsection[title=First section]
\startsubsection[title=First subsection]
Lorem ipsum \dots
\stopsubsection
\startsubsection[title=second subsection]
Lorem ipsum \dots
\stopsubsection
\stopsection
\startsection[title=Second section]
\startsubsection[title=First subsection]
Lorem ipsum \dots
\stopsubsection
\stopsection
\stoptext
Marcus Vinicius
--
Todas as coisas fatigam o corpo, salvo a música, que não fatiga nem o corpo
nem seus membros, por ser descanso da alma, primavera do coração, distração
do aflito, entretenimento do solitário, e viático do viajante.
Kunnâsh al-Hâ'ik (Cancioneiro de al-Hâ'ik)
[-- Attachment #1.2: Type: text/html, Size: 2259 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] only message in thread
only message in thread, other threads:[~2016-06-18 22:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-18 22:03 [NTG-ConTeXt] Wrong order of sections and subsections Marcus Vinicius Mesquita
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).