Changes

Jump to navigation Jump to search
607 bytes added ,  17:28, 30 January 2021
no edit summary
\stoptext
</context></cd:example><cd:example title="Setting label of a new section head"><context mode="mkiv" source="yes" text="produces">
\definehead[mychapter][chapter][bodypartlabel=mychapter]
\mychapter{Animals}
\stoptext
</context></cd:example><cd:example title="Inline headings similar to LaTeX'&amp;squo;s `\paragraph{}`">Modified from (https://tex.stackexchange.com/questions/375922/paragraph-title-in-context-similar-to-latex-paragraph).
<context mode="mkiv" source="yes" text="produces">
\input knuth
\stopparagraph
</context></cd:example><cd:example title="Setting label of a part">In MkIV, if you want parts to be labeled as "Part 1" etc., the following isn't sufficient (but works in MkII):  <context mode="mkiv" source="yes" text="because it produces">\setuphead[part][placehead=yes] \starttext\part{A part} \stoptext</context> For MkIV, add <code>bodypartlabel=part</code> to the <code>setuphead</code>: <context mode="mkiv" source="yes">\setuphead[part][placehead=yes, bodypartlabel=part] \starttext\part{A part} \stoptext</context> (Thanks to Wolfgang Schuster on the mailing list for this information.)</cd:example></cd:examples>
<cd:notes></cd:notes>
<cd:seealso>

Navigation menu