Difference between revisions of "Command/startproject"

From Wiki
Jump to navigation Jump to search
(Created page with "Documentation for \startproject ... \stopproject")
 
 
Line 22: Line 22:
 
   </cd:command>
 
   </cd:command>
 
</cd:variants>
 
</cd:variants>
<cd:description><code>\startproject ... \stopproject</code> starts a project. A project is a structure to produce multiple PDF files that use the same {{cmd|environment}}s. Each PDF file is defined by a {{cmd|product}}; each product may (re)use several {{cmd|component}}s internally.</cd:description>
+
<cd:description><code>\startproject ... \stopproject</code> starts a project. A project is a structure to produce multiple PDF files that use the same {{cmd|environment}}s. Each PDF file is defined by a {{cmd|product}}; each product may (re)use several {{cmd|component}}s internally.
<cd:examples><cd:example title="">
+
 
<texcode>
+
Project files are not meant to be processed themselves. Their function is to connect a common set of {{cmd|environment}}s to a list of otherwise independent products.</cd:description>
 +
<cd:examples><cd:example title=""><texcode>
 
\startproject myworks
 
\startproject myworks
  
Line 43: Line 44:
 
<cd:wikipage page="Project structure"></cd:wikipage>
 
<cd:wikipage page="Project structure"></cd:wikipage>
 
<cd:commandref name="product"></cd:commandref>
 
<cd:commandref name="product"></cd:commandref>
<cd:commandref name="environment"></cd:commandref></cd:seealso>
+
<cd:commandref name="environment"></cd:commandref>
 +
<cd:commandref name="component"></cd:commandref></cd:seealso>
 
</cd:commandgroup>
 
</cd:commandgroup>

Latest revision as of 13:25, 6 September 2020


\startproject ... \stopproject

Summary

The environment \startproject ... \stopproject is used for grouping environments and products

Settings

\startproject[...] ... \stopproject
[...]file *

Settings string

\startproject ... ... \stopproject
... file *

Description

\startproject ... \stopproject starts a project. A project is a structure to produce multiple PDF files that use the same \environments. Each PDF file is defined by a \product; each product may (re)use several \components internally.

Project files are not meant to be processed themselves. Their function is to connect a common set of \environments to a list of otherwise independent products.

Examples

Example 1

\startproject myworks

   \environment  mywork_setups

   \product book1

   \product book2

   \product book3

\stopproject

Notes

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: