[OS X TeX] latex->dvips->Distiller->Acrobat Professional

Herbert Schulz herbs at wideopenwest.com
Tue Nov 18 08:46:20 EST 2008


On Nov 18, 2008, at 6:21 AM, Roussanka Loukanova wrote:

> Hi,
>
> On Tue, 18 Nov 2008, Enrico Franconi wrote:
>
>>
>> On 18 Nov 2008, at 06:28, David Arnold wrote:
>>> Currently, in a terminal window, I am doing the following:
>>> latex filename.tex
>>> dvips filename.ps
>>> Then I drag filename.ps from the finder onto my Acrobat Distiller  
>>> icon.
>>> Then I drag filename.pdf from the finder onto Acrobat Professional.
>>> 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.
>>
>> I suggest that you use simpdftex as follows:
>>> simpdftex latex --mode dvips --maxpfb --distiller ps2pdf14  
>>> filename.tex
>> This will latex your file and will generate directly the  
>> filename.pdf in one shot.
>> Then, if you use Skim instead of Acrobat Professional as a PDF  
>> previewer in production time, then it will reload automatically the  
>> new PDF without further ado.
>
> I've tried this command in Carbon Emacs, by setting it in AUCTeX. It  
> works well, except that:
>
> - the reloading is not automatic. I have to use manually Revert from  
> the the File menu in Skim.
>
> - synctex functions only by placing "\synctex=1" in the preamble of  
> filename.tex.
>
> Roussanka
>
>


Howdy,

I use

simpdftex latex --maxpfb --extratexopts "-synctex=1" --distiller  
ps2pdf14

(i.e., with the --extratexopts "-synctex=1" option) with TeXShop and  
it generates the .syctex.gz file just fine.

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)






More information about the MacOSX-TeX mailing list