ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Question to sectioning
@ 2018-04-11 17:36 Tomas Hala
  2018-04-18 15:53 ` Tomas Hala
  2018-04-18 16:00 ` Wolfgang Schuster
  0 siblings, 2 replies; 5+ messages in thread
From: Tomas Hala @ 2018-04-11 17:36 UTC (permalink / raw)
  To: Mailing list ConTeXt

Hello,

I have got a document with e.g. six chapters, numbers are from 1 to 6.
At special places I would like put a special page containing a special title.
The special page should be without a header and without any number, 
the title should be put into the contents by the same way as other chapters..

I came across two problems: 

First, in the minimal example below I get chapter numbers 1, 2, 4, 5, 7, 8
and if I use incrementnumber=no, the "specialpage" is not stored in the contents.  

Secondly, I do know how to switch off the header only at this special page.

I also tried \definehead[specialpage][title] but in this case the "specialpage" is not stored in the
contents, too. 

What I am doing wrong?

Thanks for the help in advance,

Tomáš


% TL2017

\definehead[specialpage][chapter]
\definehead[levelA][chapter]

\setuphead[specialpage][number=no] %,incrementnumber=no]

\starttext

\definecombinedlist[mycontent][levelA,specialpage][level=chapter]
\completemycontent

\levelA{A1}
\levelA{A2}
\specialpage{Special page 1}
\levelA{A3}
\levelA{A4}
\specialpage{Special page 2}
\levelA{A5}
\levelA{A6}

\stoptext


___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-04-25 17:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-11 17:36 Question to sectioning Tomas Hala
2018-04-18 15:53 ` Tomas Hala
2018-04-18 16:00 ` Wolfgang Schuster
2018-04-23 22:59   ` Tomas Hala
2018-04-25 17:51     ` Pablo Rodriguez

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).