[OS X TeX] PSTricks, PDFTricks, pst-barcode, ps4pdf

Peter Dyballa Peter_Dyballa at Web.DE
Sun Jul 23 14:25:17 EDT 2006


Am 23.07.2006 um 17:30 schrieb Friedrich Vosberg:

> What is the easiest way to enable TeXShop to handle pst-barcode.sty?

It's this ps4pdf.engine:

	#!/bin/sh
	basefname=`basename "$1" .tex`
	# process the figures
	latex --shell-escape "$1"
	dvips -Ppdf -o "${basefname}-pics.ps" "${basefname}.dvi"
	ps2pdf -dAutoRotatePages=/None "${basefname}-pics.ps" "${basefname}- 
pics.pdf"
	pdfcrop "${basefname}-pics.pdf"
	mv "${basefname}-pics-crop.pdf" "${basefname}-pics.pdf"
	rm "${basefname}-pics.ps" "${basefname}.dvi"
	# process the file
	pdflatex "$1"


--
Mit friedvollen Grüßen

   Pete

The most exciting phrase to hear in science, the one that heralds new  
discoveries, is not "Eureka!" (I found it!) but "That's funny..."
                                       Isaac Asimov


------------------------- Info --------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
          & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/




More information about the MacOSX-TeX mailing list