The xpdf package has a converter called pdftops.  Unfortunately, the syntax
for pdftops is different than acroread, which means that the source for PDF.cc
will have to be changed.

The suggestion that I have is to do something like the following:

The complete command line to convert a PDF to PS would be entered in the
config file, like so:
# The following line is the default used by PDF.cc if there is no
pdf_converter in the config file
#pdf_converter: acroread -toPostScript -pairs %src %dest
# Using acroread that is not in the PATH
pdf_converter: /usr/local/bin/acroread -toPostScript -pairs %src %dest
# Using pdftops that comes in the xpdf package
#pdf_converter: /usr/local/bin/pdftops %src %dest

Where, %src would be replaced with the filename of the source PDF file and
%dest would be replaced with the destination PS file.

This would be a fairly simple fix.  Any comments?

Sylvain,
I can implement, test, and provide patches if you would like.

Michael J. Long


Jed Michnowicz wrote:

> Has anybody gotten the PDF parsing to work with something other then
> acroread.  Our machine running htdig is Solaris 2.6 x86 which adobe has
> left out of the acroread world.  Are there any compatible products that can
> replace acroread.

[...sig snipped...]



--
* Michael J. Long * #include "std/disclaimer.h"
*   Summa Four    * Work: [EMAIL PROTECTED]
* Manchester, NH  * Play: [EMAIL PROTECTED]



----------------------------------------------------------------------
To unsubscribe from the htdig mailing list, send a message to
[EMAIL PROTECTED] containing the single word "unsubscribe" in
the body of the message.

Reply via email to