[OS X TeX] Texshop Engine
David Arnold
dwarnold45 at suddenlink.net
Wed Jan 20 00:43:14 EST 2010
Dick,
There is no "source toolbar" to the right of the Typesetting menu. But it does appear on the Macros/Program. What is does is add the following as the first line of the file:
% !TEX TS-program = Distiller
So, that's good.
While I have your attention, can I ask you one more question?
Here is my attempt thus far at the Distiller.engine:
#!/bin/tcsh
set path= ($path /usr/texbin /usr/local/bin)
set filename = "$1"
set dvifilename="${filename:r}.dvi"
set psfilename = "${filename:r}.ps"
latex "$filename"
dvips "$dvifilename"
/Applications/Adobe\ Acrobat\ 9\ Pro/Acrobat\ Distiller.app/Contents/MacOS/Acrobat\ Distiller "$psfilename"
I'm trying to get Acrobat Distiller to process the postscript file. Everything in here works except the last line. That's where I am struggling. Can you make a suggestion that might work?
David.
P.S. On another note, even when I've closed filename.pdf, but left filename.tex open in TexShop, when I drag filename.ps onto Distiller, Distiller will complain that filename.pdf is still open. To get around this, I have to shut down Texshop completely. Any thoughts on this?
D.
On Jan 19, 2010, at 9:12 PM, Richard Koch wrote:
> David,
>
> It won't appear in the Typesetting menu, but will appear in the Source Toolbar,
> in a pulldown menu right of the Typeset button. Did you quit and restart TeXShop
> after adding this engine?
>
> Dick Koch
>
> On Jan 19, 2010, at 8:53 PM, David Arnold wrote:
>
>> All,
>>
>> I saved the following as Distiller.engine in ~/Library/TeXShop/Engines, chmod +x Distiller.engine, then restarted TeXShop. It did not appear in the Typeset window.
>>
>> #!/bin/bash
>> export PATH=/usr/texbin:/usr/local/bin:$PATH
>> latex "$1"
>>
>> Weird. Using 2.29.
>>
>> What am I doing wrong?
>>
>> David.----------- Please Consult the Following Before Posting -----------
>> TeX FAQ: http://www.tex.ac.uk/faq
>> List Reminders and Etiquette: http://email.esm.psu.edu/mac-tex/
>> List Archive: http://tug.org/pipermail/macostex-archives/
>> TeX on Mac OS X Website: http://mactex-wiki.tug.org/
>> List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex
>>
>
More information about the MacOSX-TeX
mailing list