Source

SCons / src / engine / SCons / Tool / dvips.xml

<!--
__COPYRIGHT__

This file is processed by the bin/SConsDoc.py module.
See its __doc__ string for a discussion of the format.
-->
<tool name="dvips">
<summary>
Sets construction variables for the dvips utility.
</summary>
<sets>
DVIPS
DVIPSFLAGS
PSCOM
PSPREFIX
PSSUFFIX
</sets>
<uses>
PSCOMSTR
</uses>
</tool>

<builder name="PostScript">
<summary>
Builds a <filename>.ps</filename> file
from a <filename>.dvi</filename> input file
(or, by extension, a <filename>.tex</filename>,
<filename>.ltx</filename>,
or
<filename>.latex</filename> input file).
The suffix specified by the &cv-link-PSSUFFIX; construction variable
(<filename>.ps</filename> by default)
is added automatically to the target
if it is not already present.  Example:

<example>
# builds from aaa.tex
env.PostScript(target = 'aaa.ps', source = 'aaa.tex')
# builds bbb.ps from bbb.dvi
env.PostScript(target = 'bbb', source = 'bbb.dvi')
</example>
</summary>
</builder>

<cvar name="DVIPS">
<summary>
The TeX DVI file to PostScript converter.
</summary>
</cvar>

<cvar name="DVIPSFLAGS">
<summary>
General options passed to the TeX DVI file to PostScript converter.
</summary>
</cvar>

<cvar name="PSCOM">
<summary>
The command line used to convert TeX DVI files into a PostScript file.
</summary>
</cvar>

<cvar name="PSCOMSTR">
<summary>
The string displayed when a TeX DVI file
is converted into a PostScript file.
If this is not set, then &cv-link-PSCOM; (the command line) is displayed.
</summary>
</cvar>

<cvar name="PSPREFIX">
<summary>
The prefix used for PostScript file names.
</summary>
</cvar>

<cvar name="PSSUFFIX">
<summary>
The prefix used for PostScript file names.
</summary>
</cvar>