[OS X TeX] OT: looking for a public-domain EPS file editor
Chris Goedde
cgoedde at condor.depaul.edu
Thu Apr 26 11:55:26 EDT 2007
On Apr 25, 2007, at 7:08 PM, Bruno Voisin wrote:
>
> Manual solution
> ===============
>
> - Edit bulle-orig.eps manually, to comment out the initmatrix line,
> and save the result as bulle-chris.eps.
>
> - Use epstopdf (from TeX) to convert to pdf:
>
> epstopdf --outfile=bulle-chris-epstopdf.pdf bulle-chris.eps
>
> The file bulle-chris-epstopdf.pdf has the correct bounding box. If
> one attempts to use instead pstopdf (from OS X), Preview (from OS
> X) or ps2pdf (from GhostScript), the bounding box remains incorrect
> (it is the same as in bulle-orig.eps).
Actually, you can automate this pretty easily. I.e. the one-line
shell script:
sed -e 's/initmatrix/%initmatrix/' $1 | epstopdf --filter > $1.pdf
will create foo.eps.pdf out of foo.eps. I'm sure there's an easy way
to shorten the name down to foo.pdf, but my shell programming skilz
are weak.
--
Chris
------------------------- Helpful Info -------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
List Reminders & Etiquette: http://www.esm.psu.edu/mac-tex/list/
More information about the MacOSX-TeX
mailing list