Changes

Jump to navigation Jump to search
1,711 bytes added ,  12:58, 6 September 2020
Created page with "Documentation for \component"
<cd:commandgroup name="component" xmlns:cd="http://wiki.contextgarden.net/commanddoc/20200807">
<cd:shortdesc><!-- a short command summary goes here -->
The command <tt>\component</tt> is used for including parts of products
</cd:shortdesc>
<cd:variants>
<cd:command category="structure" file="file-job.mkvi" interfacedate="2020-06-19T13:41" interfacefile="i-document.xml" level="document" name="component" variantnumber="1">
<cd:arguments>
<cd:keywords ordinal="1">
<cd:keywordsdoc></cd:keywordsdoc>
<cd:constant type="cd:file"></cd:constant>
</cd:keywords>
</cd:arguments>
</cd:command>
<cd:command category="structure" file="file-job.mkvi" interfacedate="2020-06-19T13:41" interfacefile="i-document.xml" level="document" name="component" variant="string" variantnumber="2">
<cd:arguments>
<cd:keywords delimiters="none" ordinal="1">
<cd:keywordsdoc></cd:keywordsdoc>
<cd:constant type="cd:file"></cd:constant>
</cd:keywords>
</cd:arguments>
</cd:command>
</cd:variants>
<cd:description>Includes a file (usually a chapter or part) into a product.
</cd:description>
<cd:examples><cd:example title="">Here is a product file that uses the components <code>c_frontmatter.tex</code> <code>c_chapter_1.tex</code>, and <code>c_chapter_2.tex</code>:
<texcode>
\startproduct
\component c_frontmatter
\component c_chapter_1
\component c_chapter_2
\stopproduct
</texcode></cd:example></cd:examples>
<cd:notes></cd:notes>
<cd:seealso>
<cd:source file="file-job.mkvi" originator="system"></cd:source>
<cd:wikipage originator="system" page="Category:Structure"></cd:wikipage>
<cd:commandref name="startproduct"></cd:commandref></cd:seealso>
</cd:commandgroup>

Navigation menu