blob: 13c7875acf2205ee9cb0539740adf2e6c4e60274 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
____________
AUTO-PST-PDF
BASIC USAGE
This package provides a wrapper around pst-pdf to automatically
accomodate for typesetting either with DVI or PDF output. With
default package option [on], typesetting under pdfLaTeX will
automatically initiate a LaTeX->dvips->ps2pdf->pdfcrop run to
generate the required PDF figures for the document.
After this has been done and the figures no longer need to be
re-generated, the package can be given the [off] option to save
compilation time.
REQUIREMENTS
pdfTeX must be called with the --shell-escape option, and Heiko
Oberdiek's pdfcrop Perl script must be installed.
Loads the following packages for convenience:
color,graphicx,psfrag,pst-pdf
Requires e-TeX because I'm lazy.
ADDITIONAL USAGE
Macros are provided to easily facilitate figures created by the
MATLAB package laprint and the Mathematica package MathPSfrag. Also,
a generic psfrag wrapper is provided.
\mathfig{<filename>} - insert a Mathematica graphic
(without -psfrag suffix)
\matlabfig{<filename>} - insert a Matlab graphic
\psfragfig{<filename>} - insert an EPS with psfrag statements
in either or both of the files
<document>-psfrag.tex
<filename>-psfrag.tex
The above commands also accept an optional argument
which is passed to \includegraphics.
_________________________
Will Robertson, Nov. 2006
|