Changes

Jump to navigation Jump to search
817 bytes added ,  23:29, 30 April 2009
no edit summary
\setupsection[section][previousnumber=no]
</texcode>
 
==Unnumbered titles in table of contents==
 
Some times one wants an unnumbered chapter, say introduction, the following might do that trick:
 
<texcode>
\definehead [intro] [chapter]
\setuphead [intro] [number=no]
\definecombinedlist [content][intro,chapter,section]
\setuplist [intro] [headnumber=no]
 
\starttext
\completecontent
\startfrontmatter
\intro{No number}
\stopfrontmatter
 
\startbodymatter
\chapter{Has number}
\stopbodymatter
\stoptext
</texcode>
 
<context>
\definehead [intro] [chapter]
\setuphead [intro] [number=no]
 
\definecombinedlist [content][intro,chapter,section]
\setuplist [intro] [headnumber=no]
 
\starttext
\completecontent
\startfrontmatter
\intro{No number}
\stopfrontmatter
 
\startbodymatter
\chapter{Has number}
\stopbodymatter
\stoptext
</context>
 
 
==Your Own Title Styles==
68

edits

Navigation menu