5 This file is processed by the bin/SConsDoc.py module.
6 See its __doc__ string for a discussion of the format.
10 <!ENTITY % scons SYSTEM '../../doc/scons.mod'>
12 <!ENTITY % builders-mod SYSTEM '../../doc/generated/builders.mod'>
14 <!ENTITY % functions-mod SYSTEM '../../doc/generated/functions.mod'>
16 <!ENTITY % tools-mod SYSTEM '../../doc/generated/tools.mod'>
18 <!ENTITY % variables-mod SYSTEM '../../doc/generated/variables.mod'>
22 <sconsdoc xmlns="http://www.scons.org/dbxsd/v1.0"
23 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
24 xsi:schemaLocation="http://www.scons.org/dbxsd/v1.0 http://www.scons.org/dbxsd/v1.0/scons.xsd">
29 This Tool sets the required construction variables for working with
30 the Ghostscript software. It also registers an appropriate Action
31 with the &b-link-PDF; Builder, such that the conversion from
32 PS/EPS to PDF happens automatically for the TeX/LaTeX toolchain.
33 Finally, it adds an explicit &b-link-Gs; Builder for Ghostscript
50 The Ghostscript program used to, for example, convert PostScript to PDF files.
58 The full Ghostscript command line used for the conversion process. Its default
59 value is <quote><literal>$GS $GSFLAGS -sOutputFile=$TARGET $SOURCES</literal></quote>.
64 <cvar name="GSCOMSTR">
67 The string displayed when
68 Ghostscript is called for the conversion process.
69 If this is not set (the default), then &cv-link-GSCOM; (the command line) is displayed.
77 General options passed to the Ghostscript program,
78 when converting PostScript to PDF files for example. Its default value
79 is <quote><literal>-dNOPAUSE -dBATCH -sDEVICE=pdfwrite</literal></quote>
87 A Builder for explicitly calling the <application>gs</application> executable.
88 Depending on the underlying OS, the different names <application>gs</application>,
89 <application>gsos2</application> and <application>gswin32c</application>
93 env = Environment(tools=['gs'])
97 GSFLAGS='-dNOPAUSE -dBATCH -sDEVICE=jpeg -dFirstPage=1 -dLastPage=1 -q',