Contents

Home Contact Research Tools LaTeX

Conversion and Printing Tools

EPS Tools

A collection of shell scripts for Linux/Unix to convert EPS files to PDF, PNG and JPEG (via Ghostscript). For details on features and options, click eps2pdf, eps2png or eps2jpg.

Download (2011/06/01 version)

Required packages: coreutils, gawk, ghostscript, sed

FIG Tools

These shell scripts for Linux/Unix/MacOSX convert FIG files to EPS and PDF (via Ghostscript), allowing you to easily embed TeX output in your pictures — click Xfig tips for more info. For details on features and options, click fig2eps or fig2pdf.

Download (2011/06/01 version)

Required packages: coreutils, gawk, ghostscript, grep, sed, transfig, and a full LaTeX system with dvips and pdflatex (e.g. texlive)

Print Tools

These shell scripts for Linux/Unix print PS or PDF files with multiple pages per side at the optimal (largest possible) scale, which is determined automatically by calculating the space occupied by the page contents. For details, see the manual page.

Download (2011/06/01 version)

Required packages: coreutils, cups, gawk, ghostscript, poppler-utils, psutils, sed

Instructions

Extract the downloaded archive to ~/bin (the command tar -xzpf file.tgz will do the job). Make sure you have execute permissions for the extracted scripts, and ~/bin is in your PATH environment variable.

Acknowledgement

I thank the users of these tools who have helped me over the years to keep them up to date and implement a number of improvements and new features (you know who you are).

New features/Bug fixes

EPS Tools • 2008 • better support for EPS files created on DOS or Mac platforms; esp2pdf now embeds and subsets all fonts in the output file • 2009 • support for HiRes Bounding Boxes added; bug in the -B option fixed; image size is now computed correctly when scaling or rotating; color rendering has been improved; the possibility to prepend PostScript files has been added; eps2png and eps2jpg can now scale images to a specific number of pixels; new PNG mode 48 added; new JPEG mode CMYK added; simpler and more efficient coding • 2010 • added the -C option • 2011 • added the -o option; added the -l option in eps2pdf; improved conversion to a different color model in eps2pdf

FIG Tools • 2008 • fixed a bug occurring with some versions of transfig • 2009 • added the -F option to respect FIG font sizes; added the -k option to aid debugging; fixed the "illegal character" bug on Mac OS X • 2010 • fixed a bug in the error handling of fig2pdf; fixed the "invalid GenericResourceDir" problem occuring in OpenSuse 11.3 • 2011 • added the -i option; added FIG2EPS_CODE and FIG2PDF_CODE environment variables; added the -l option in fig2pdf; the tools are now able to handle larger figures (up to roughly 5×5 m or 17×17 feet)

Print Tools • 2010 • filenames containing spaces are now handled correctly, and so are empty pages and pages whose bounding box starts exactly at (0,0); added the -r option • 2011 • the tools now point to the -h option for help