3 SPDX-FileCopyrightText: Copyright The SCons Foundation (https://scons.org)
4 SPDX-License-Identifier: MIT
5 SPDX-FileType: DOCUMENTATION
7 This file is processed by the bin/SConsDoc.py module.
11 <!ENTITY % scons SYSTEM '../../doc/scons.mod'>
13 <!ENTITY % builders-mod SYSTEM '../../doc/generated/builders.mod'>
15 <!ENTITY % functions-mod SYSTEM '../../doc/generated/functions.mod'>
17 <!ENTITY % tools-mod SYSTEM '../../doc/generated/tools.mod'>
19 <!ENTITY % variables-mod SYSTEM '../../doc/generated/variables.mod'>
23 <sconsdoc xmlns="http://www.scons.org/dbxsd/v1.0"
24 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
25 xsi:schemaLocation="http://www.scons.org/dbxsd/v1.0 http://www.scons.org/dbxsd/v1.0/scons.xsd">
30 Sets construction variables for the dvips utility.
35 <item>DVIPSFLAGS</item>
45 <builder name="PostScript">
48 Builds a <filename>.ps</filename> file
49 from a <filename>.dvi</filename> input file
50 (or, by extension, a <filename>.tex</filename>,
51 <filename>.ltx</filename>,
53 <filename>.latex</filename> input file).
54 The suffix specified by the &cv-link-PSSUFFIX; construction variable
55 (<filename>.ps</filename> by default)
56 is added automatically to the target
57 if it is not already present.
58 &b-PostScript; is a single-source builder.
62 <programlisting language="python">
64 env.PostScript(target = 'aaa.ps', source = 'aaa.tex')
65 # builds bbb.ps from bbb.dvi
66 env.PostScript(target = 'bbb', source = 'bbb.dvi')
74 The TeX DVI file to PostScript converter.
79 <cvar name="DVIPSFLAGS">
82 General options passed to the TeX DVI file to PostScript converter.
90 The command line used to convert TeX DVI files into a PostScript file.
95 <cvar name="PSCOMSTR">
98 The string displayed when a TeX DVI file
99 is converted into a PostScript file.
100 If this is not set, then &cv-link-PSCOM; (the command line) is displayed.
105 <cvar name="PSPREFIX">
108 The prefix used for PostScript file names.
113 <cvar name="PSSUFFIX">
116 The prefix used for PostScript file names.