Table of contents section command: Difference between revisions

m Lemzwerg moved page Toc Section Command to Table of contents section command without leaving a redirect: Better title
Rework a confusing sentence
Line 7: Line 7:
In your piece-files you might have <code>\tocItem</code> commands to build the table of contents.
In your piece-files you might have <code>\tocItem</code> commands to build the table of contents.


If you replace those <code>\tocItem</code> commands with the newly defined <code>\part</code> command, you can use <code>#(set-toc-section! &quot;</code>''<code>section</code>''<code>&quot;)</code> in the master file:
With the following snippet, you can replace those <code>\tocItem</code> commands with <code>#(set-toc-section! &quot;''section''&quot;)</code> in the master file:


<pre>#(set-toc-section! &quot;tunes&quot;)
<pre>#(set-toc-section! &quot;tunes&quot;)