[texhax] Dense textbook with small diagrams

Joel C. Salomon joelcsalomon at gmail.com
Mon Oct 22 16:47:18 CEST 2007

On 10/20/07, Andy Farnell <padawan12 at obiwannabe.co.uk> wrote:
> What I would like to do is batch autocrop the lot of them, so that
> the bounding box is *exactly* shrunk to the extent of the image.

On Windows, I wrote a command called figtex.cmd, the relevant parts of
which follow:

for %%i in (%*) do (
	epstool --copy --bbox %%~ni.ps %%~ni.eps
	epstopdf %%~ni.eps

The %%~ni stuff extracts the filename (without the extension) from
each file on the command line.


More information about the texhax mailing list