OSX: how to use Distiller from the command line...

  • Follow


This is probably an easy one for experts,
but I still do not know my new Mac well enough.
(I want a simple shell command file that
does latex, then dvips, then uses Acrobat Distiller,
NOT ps2pdf)

The following should work on OS X, for the
distilling, as somebody told me:

open -a "/Applications/Acrobat\ Distiller\ 6.0.1.app" filename.ps >
filename.pdf

This does not work at all, and the error message
is incomprehensible to me. What is the correct 
way to do it?

Heinz

0
Reply heinrich_neumaier (1) 5/6/2005 8:52:02 AM

>>>>> heinrich_neumaier@yahoo.com (HN) wrote:

>HN> This is probably an easy one for experts,
>HN> but I still do not know my new Mac well enough.
>HN> (I want a simple shell command file that
>HN> does latex, then dvips, then uses Acrobat Distiller,
>HN> NOT ps2pdf)

>HN> The following should work on OS X, for the
>HN> distilling, as somebody told me:

>HN> open -a "/Applications/Acrobat\ Distiller\ 6.0.1.app" filename.ps >
>HN> filename.pdf

>HN> This does not work at all, and the error message
>HN> is incomprehensible to me. What is the correct 
>HN> way to do it?

I don't have Acrobat Distiller, so I might be slightly wrong, but it must
be something like:

/Applications/Acrobat\ Distiller\ 6.0.1.app/Contents/MacOS/Acrobat\ Distiller\ 6.0.1 filename.ps > filename.pdf

If the filename is incorrect open the application package and look for the
correct filename.
I have no idea if Distiller will accept a filename argument and write to
standard output.

You could also try MacOSX's built-in distiller pstopdf.
-- 
Piet van Oostrum <piet@cs.uu.nl>
URL: http://www.cs.uu.nl/~piet [PGP]
Private email: piet@vanoostrum.org
0
Reply Piet 5/6/2005 7:11:20 PM


Hi,

what about the direct way from latex to pdf? The output will be nicer
than from ps2pdf. There is pdftex and you can get it with a nice
interface as part of OzTeX 5.2 or CMacTeX 4.3.

Szia - Reuti


In article <1115369522.646449.45760@g14g2000cwa.googlegroups.com>,
<heinrich_neumaier@yahoo.com> wrote:

> This is probably an easy one for experts,
> but I still do not know my new Mac well enough.
> (I want a simple shell command file that
> does latex, then dvips, then uses Acrobat Distiller,
> NOT ps2pdf)
> 
> The following should work on OS X, for the
> distilling, as somebody told me:
> 
> open -a "/Applications/Acrobat\ Distiller\ 6.0.1.app" filename.ps >
> filename.pdf
> 
> This does not work at all, and the error message
> is incomprehensible to me. What is the correct 
> way to do it?
> 
> Heinz
>
0
Reply Reuti 5/6/2005 9:20:45 PM

heinrich_neumaier@yahoo.com wrote:

>This is probably an easy one for experts,
>but I still do not know my new Mac well enough.
>(I want a simple shell command file that
>does latex, then dvips, then uses Acrobat Distiller,
>NOT ps2pdf)
>
>The following should work on OS X, for the
>distilling, as somebody told me:
>
>open -a "/Applications/Acrobat\ Distiller\ 6.0.1.app" filename.ps >
>filename.pdf

There is a huge assumption here; that Distiller will look at its
command line (though I don't think that the command line is available
to the target of open), that it will look for a PS file name, that it
will write stdout.  Above all, the last is least likely.

Distiller has a command line interface in Windows, as per the
documentation. It says nothing about this on the Mac; Apple haven't
encouraged any development in this area. The Distiller API does
document an AppleScript interface to Distiller, and this is likely to
be more productive.
----------------------------------------
Aandi Inston  quite@dial.pipex.com http://www.quite.com
Please support usenet! Post replies and follow-ups, don't e-mail them.

0
Reply quite 5/6/2005 9:40:14 PM

Piet van Oostrum wrote:
>
> I don't have Acrobat Distiller, so I might be slightly wrong, but it
must
> be something like:
>
> /Applications/Acrobat\ Distiller\ 6.0.1.app/Contents/MacOS/Acrobat\
Distiller\ 6.0.1 filename.ps > filename.pdf
>

Thank you; this helped somewhat. The following command almost works

/Applications/Acrobat\ Distiller\ 6.0.1.app/Contents/MacOS/Distiller
test.ps

    the file is distilled.
    however, the pdf file is not saved and the command line remains
busy.
    Is this always the case?

Btw, I feel there are strong reasons not to use ps2pdf (Acrobat cannot
search for ligatures in its pdf, it produces much larger files) and
also
strong reasons not to use pdftex (does not allow \special in it).
In fact I do use pdftex, but to produce dvi output. 

Heinz

0
Reply heinrich_neumaier 5/7/2005 5:57:18 AM

>>>>> heinrich_neumaier@yahoo.com (HN) wrote:

>HN> Btw, I feel there are strong reasons not to use ps2pdf (Acrobat cannot
>HN> search for ligatures in its pdf, it produces much larger files) and

What about pstopdf?
-- 
Piet van Oostrum <piet@cs.uu.nl>
URL: http://www.cs.uu.nl/~piet [PGP]
Private email: piet@vanoostrum.org
0
Reply Piet 5/7/2005 8:10:57 PM

Piet van Oostrum wrote:
> >>>>> heinrich_neumaier@yahoo.com (HN) wrote:
>
> >HN> Btw, I feel there are strong reasons not to use ps2pdf (Acrobat
cannot
> >HN> search for ligatures in its pdf, it produces much larger files)
and
>
> What about pstopdf?

I do not know it; is it better than ps2pdf
(from Wierda's distribution?)

            Heinz

PS.  The original question is best answered
in the following way:

  open -a "/Applications/Acrobat Distiller 6.0.1.app" filename.ps

0
Reply heinrich_neumaier 5/8/2005 3:58:37 PM

6 Replies
491 Views

(page loaded in 2.093 seconds)

Similiar Articles:













7/23/2012 9:54:53 AM


Reply: