[OS X TeX] latex->dvips->Distiller->Acrobat Professional
Herbert Schulz
herbs at wideopenwest.com
Wed Nov 19 22:06:06 CET 2008
Howdy,
The following message from Bruno Voisin is forwarded to the list.
Good Luck,
Herb Schulz
(herbs at wideopenwest dot com)
Begin forwarded message:
>
>> Does anyone have a script (or makefile) that will:
>>
>> 1. Close filename.pdf in Acrobat Professional, if open.
>> 2. latex filename.tex.
>> 3. dvips filename.dvi
>> 4. Use the Acrobat Distiller to turn filename.ps to filename.pdf,
>> then close Distiller when finished.
>> 5. Open the resulting filename.pdf in Acrobat Professional.
>
> There have been a number of answers, but none addressed the original
> request really. I am not willing to re-subscribe just for this, so
> it would help if you posted the answer for me.
>
> Not quite what was asked (I imagine this was more an AppleScript),
> but from within TeXworks there's a way to perform tasks 2 to 4 all
> in one go (not closing Distiller afterwards though). Create a
> processing tool performing the following tasks:
>
> Program:
> simpdftex
>
> Arguments:
> latex
> --extratexopts
> -synctex=1
> --distiller
> "/Applications/Adobe Acrobat 8 Professional/Acrobat Distiller.app/
> Contents/MacOS/Distiller"
> $fullname
>
> The arguments must all be on separate lines in TeXworks' processing
> tools interface:
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Image 5.png
Type: image/png
Size: 89469 bytes
Desc: not available
URL: <http://tug.org/pipermail/macostex-archives/attachments/20081119/a2a83ec2/attachment.png>
-------------- next part --------------
>
>
>
> The exact path to the Distiller executable must be adapted to the
> version of Acrobat. It can be obtained by Ctrl-clicking on the
> Distiller app then navigating to the executable within.
>
> The option --extradvipsopts R0 which I saw you suggested can
> similarly be added on two separate lines:
>
> --extradvipsopts
> R0
>
> In a quick test I just made that works, Distiller is launched and
> the document processed successfully. Then by double-cliking on the
> document icon in the Distiller window this document is opened in the
> default PDF viewer (Preview or Reader or Acrobat depending on your
> settings):
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Image 4.png
Type: image/png
Size: 157479 bytes
Desc: not available
URL: <http://tug.org/pipermail/macostex-archives/attachments/20081119/a2a83ec2/attachment-0001.png>
-------------- next part --------------
>
>
>
> I am not aware of any way to perform the same in TeXShop, namely to
> bypass the Distiller choice between Ghostscript and Apple Distiller
> in Preferences > Misc.
>
> Cheers,
>
> Bruno
More information about the macostex-archives
mailing list