* Page with subsection following a subsection
@ 2011-06-07 16:43 Cecil Westerhof
2011-06-07 19:20 ` Marco
0 siblings, 1 reply; 2+ messages in thread
From: Cecil Westerhof @ 2011-06-07 16:43 UTC (permalink / raw)
To: mailing list for ConTeXt users
I would like to have a subsection start on a new page. This can be done with:
\setuphead[subsection][before={\page}]
But when I have had a section before the subsection instead of a
subsection before the subsection, I do not want a new page.
(Subsections I want to have divided, but the combo section/subsection
not.) Is this possible?
--
Cecil Westerhof
___________________________________________________________________________________
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: Page with subsection following a subsection
2011-06-07 16:43 Page with subsection following a subsection Cecil Westerhof
@ 2011-06-07 19:20 ` Marco
0 siblings, 0 replies; 2+ messages in thread
From: Marco @ 2011-06-07 19:20 UTC (permalink / raw)
To: ntg-context
On 2011-06-07 Cecil Westerhof <cldwesterhof@gmail.com> wrote:
> I would like to have a subsection start on a new page. This can be done
> with: \setuphead[subsection][before={\page}]
>
> But when I have had a section before the subsection instead of a
> subsection before the subsection, I do not want a new page.
> (Subsections I want to have divided, but the combo section/subsection
> not.) Is this possible?
Yes, it is:
\setuphead [subsection] [page=yes]
\starttext
\dorecurse{5}{%
\startsection [title=Sec]
\stopsection
\startsection [title=New Sec]
\startsubsection [title=Sub Sec]
\stopsubsection
\startsubsection [title=New Sub Sec]
\stopsubsection
\stopsection}
\stoptext
Marco
___________________________________________________________________________________
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:[~2011-06-07 19:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-07 16:43 Page with subsection following a subsection Cecil Westerhof
2011-06-07 19:20 ` Marco
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).