Difference between revisions of "Command/product"
< Command
Jump to navigation
Jump to search
(Created page with "Documentation for \product") |
|||
Line 29: | Line 29: | ||
\environment env_layout | \environment env_layout | ||
\environment env_fonts | \environment env_fonts | ||
− | + | ||
% These \product commands do not do anything | % These \product commands do not do anything | ||
\product first_product | \product first_product | ||
Line 44: | Line 44: | ||
\subject{Chapter One} | \subject{Chapter One} | ||
− | He sat, in defiance of municipal orders, astride the gun Zam-Zammah | + | He sat, in defiance of municipal orders, astride the gun Zam-Zammah |
− | on her brick platform opposite the old Ajaib-Gher --- the Wonder-house, | + | on her brick platform opposite the old Ajaib-Gher --- the Wonder-house, |
− | as the natives call the Lahore Museum. Who hold Zam-Zammah, that | + | as the natives call the Lahore Museum. Who hold Zam-Zammah, that |
− | \quote{fire-breathing dragon}, hold the Punjab; for the great | + | \quote{fire-breathing dragon}, hold the Punjab; for the great |
green-bronze piece is always the first of the conqueror's loot. | green-bronze piece is always the first of the conqueror's loot. | ||
\stopproduct | \stopproduct | ||
Line 57: | Line 57: | ||
<cd:commandref name="Project structure"></cd:commandref> | <cd:commandref name="Project structure"></cd:commandref> | ||
<cd:commandref name="project"></cd:commandref> | <cd:commandref name="project"></cd:commandref> | ||
− | <cd:commandref name="startproject"></cd:commandref></cd:seealso> | + | <cd:commandref name="startproject"></cd:commandref> |
+ | <cd:commandref name="startproduct"></cd:commandref></cd:seealso> | ||
</cd:commandgroup> | </cd:commandgroup> |
Latest revision as of 13:06, 6 September 2020
Contents
\product
Summary
The command \product lists a product in a larger project
Settings
Settings string
Description
The command
\product
does not do anything: to link a product to a project file, one should use \project inside the product. Nonetheless, the \product
command is often used inside project files as a reminder of what products the project involves.
Examples
Example 1
% myproject.tex \startproject useful_label % name for reporting purposes; should not be empty % Any file that states \project myproj will use the following environments: \environment env_layout \environment env_fonts % These \product commands do not do anything \product first_product \product second_product \stopproject
% first_product.tex \startproduct % use the environment files mentioned in myproject.tex \project myproj \subject{Chapter One} He sat, in defiance of municipal orders, astride the gun Zam-Zammah on her brick platform opposite the old Ajaib-Gher --- the Wonder-house, as the natives call the Lahore Museum. Who hold Zam-Zammah, that \quote{fire-breathing dragon}, hold the Punjab; for the great green-bronze piece is always the first of the conqueror's loot. \stopproduct