[OS X TeX] I do like ps4pdf

Herb Schulz herbs at wideopenwest.com
Sun Feb 6 22:33:09 CET 2005


On 2/6/05 2:33 PM, "Vince McGarry" <vmcgarry at austin.rr.com> wrote:

> Excellent, Herb. Simply excellent. Thanks so much.
> 
> Vince
> 
> On 2/6/05 11:57 AM, "Herb Schulz" <herbs at wideopenwest.com> wrote:
> 
>> Howdy,
>> 
>> The ps4pdf that comes with Gerben's i-installer does work out of the box but
>> you've got to know the sequence of things you've got to do. The Makefile
>> that comes with the sample does it but the best documentation is Table 2
>> from the TUGBoat article available as a .pdf file from
>> 
>> <http://www.perce.de/LaTeX/ps4pdf/>.
>> 
>> I've written a TeXShop engine file to do the basic work and a single final
>> processing (e.g., if you need BibTeX processing, etc., you'll have to add
>> more to the file) of a file set up for ps4pdf. Copy the text below into a
>> text editor and save it with UNIX line endings with the name `ps4pdf.engine'
>> (without the quotes of course) in ~/Library/TeXShop/Engines/ and it will
>> show up on the drop down typesetting menu on the source window's tool bar.
>> 
>> #!/bin/sh
>> location=$(dirname "$1")
>> basefname="${location}/`basename "$1" .tex`"
>> # process the figures
>> latex $1
>> ...

Howdy,

I just noticed that the latex $1 line needs double quotes around the $1,
i.e., it should read

latex "$1"

Sigh...

Good Luck,

Herb Schulz
(herbs at wideopenwest.com)

--------------------- 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 Post: <mailto:MacOSX-TeX at email.esm.psu.edu>





More information about the macostex-archives mailing list