Download here (right-click, save link as).
This is a bash shell script which converts some .pstex and .pstex_t sources to the following objects:
- A stand-alone EPS-file: *-standalone.eps
- A stand-alone PDF-file: *-standalone.pdf
- Raw *.eps and *.pdf files displaying the graphics without embedded latex
- A latex file (not standalone) which can be included (\include{*.pstex_l}) in latex documents to generate the graphics object.
Uses correct paths, strictly uses a *.eps source.
- A latex file *.pdftex_l similar to the above but using a *.pdf source.
Usage: as simple as pstex2epspdf name path
, where name
is the basename of the pstex file without the extention, and path
is the path as seen from the LaTeX-compiler, including the final forward slash.
Example: suppose we have a main directory with the source tex-file. Graphics are stored in the figures
subdirectory and contains a raw pstex source named original.pstex(_t)
. We cd into figures, and type pstex2epspdf original figures/
. We cd back into the main directory, and we can now edit our source tex-file to include stuff like \includegraphics{figures/original-standalone}
, or when we are using costum fonts or something like that, we can opt for \include{figures/original.pstex_l}
when using normal LaTeX, or \include{figures/original.pdftex_l}
when using pdfLaTeX.
Feedback is welcome (see main page for contact details). Use at own risk!
Back to main page