%scons; %builders-mod; %functions-mod; %tools-mod; %variables-mod; ]> This Tool sets the required construction variables for working with the Ghostscript command. It also registers an appropriate Action with the PDF Builder (&b-link-PDF;), such that the conversion from PS/EPS to PDF happens automatically for the TeX/LaTeX toolchain. Finally, it adds an explicit Ghostscript Builder (&b-link-Gs;) to the environment. GS GSFLAGS GSCOM GSCOMSTR The Ghostscript program used, e.g. to convert PostScript to PDF files. The full Ghostscript command line used for the conversion process. Its default value is $GS $GSFLAGS -sOutputFile=$TARGET $SOURCES. The string displayed when Ghostscript is called for the conversion process. If this is not set (the default), then &cv-link-GSCOM; (the command line) is displayed. General options passed to the Ghostscript program, when converting PostScript to PDF files for example. Its default value is -dNOPAUSE -dBATCH -sDEVICE=pdfwrite A Builder for explicitly calling the gs executable. Depending on the underlying OS, the different names gs, gsos2 and gswin32c are tried. env = Environment(tools=['gs']) env.Gs('cover.jpg','scons-scons.pdf', GSFLAGS='-dNOPAUSE -dBATCH -sDEVICE=jpeg -dFirstPage=1 -dLastPage=1 -q') )