Changes

Jump to navigation Jump to search
Created page with "Documentation for \placecombinedlist"
<cd:commandgroup name="placecombinedlist" xmlns:cd="http://wiki.contextgarden.net/commanddoc/20200807">
<cd:shortdesc>The command <tt>\placecombinedlist</tt> typesets combined lists
</cd:shortdesc>
<cd:variants>
<cd:command category="structure" file="strc-lst.mkvi" interfacedate="2020-07-14T09:24" interfacefile="i-list.xml" level="document" name="placecombinedlist" variantnumber="1">
<cd:arguments>
<cd:keywords ordinal="1">
<cd:keywordsdoc></cd:keywordsdoc>
<cd:constant type="cd:list"></cd:constant>
</cd:keywords>
<cd:assignments list="yes" optional="yes" ordinal="2">
<cd:assignmentsdoc></cd:assignmentsdoc>
<cd:inherit name="setupcombinedlist"></cd:inherit>
</cd:assignments>
</cd:arguments>
</cd:command>
</cd:variants>
<cd:description>Typeset a combined list defined with {{cmd|definecombinedlist}}. There is one such list predefined: <code>content</code>.

This command does not insert a sectioning head.
</cd:description>
<cd:examples><cd:example title="">General TOC:
<texcode>
\placecombinedlist[content][criterium=all]
</texcode>

Local TOC:
<texcode>
\placecombinedlist[content][criterium=local]:
</texcode>

<texcode>
\chapter{Test}
\placecombinedlist[content][criterium=local]
\section{A}
\section{B}
</texcode>

Otherwise;

<texcode>
\chapter{Test}
\section{Table of contents}
\placecombinedlist[content][criterium=previous]
In this case the contents of the chapter is given.</br>
Although you are already in a lower level in the hierarchy of the document.
\section{B}
</texcode>

</cd:example></cd:examples>
<cd:notes></cd:notes>
<cd:seealso>
<cd:commandref name="definecombinedlist" originator="system"></cd:commandref>
<cd:commandref name="setupcombinedlist" originator="system"></cd:commandref>
<cd:source file="strc-lst.mkvi" originator="system"></cd:source>
<cd:wikipage originator="system" page="Category:Structure"></cd:wikipage>
<cd:commandref name="placecontent"></cd:commandref>
<cd:commandref name="completecontent"></cd:commandref></cd:seealso>
</cd:commandgroup>

Navigation menu