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

after some hard work I hoodwinked it changing the basic definition:

\definehead[specialpage][chapter] --> \definehead[specialpage][subsubsection]
joined with redefinition of the design of this special subsubsection
but I cannot believe that this is the proper solution. 
Have anybody idea how to do it better? 

Thanks in advance.

The best,

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
# 
# 


                                         Tomáš Hála
--------------------------------------------------------------------
Mendelova univerzita, Provozně ekonomická fakulta, ústav informatiky
Zemědělská 1, CZ-613 00 Brno,  tel. +420 545 13 22 28
--------------------------------------------------------------------
http://akela.mendelu.cz/~thala
___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to