At 17:06 12/06/01 +0100, you wrote:

>It seems that doc2html.pl is not calling pdf2html.pl, instead it is reading
>the .PDF file itself, as though it were plain text.
>
>Be sure to include the correct MIME type when calling doc2html.pl from the
>command line, this is most important.

Please could you indulge me and explain how to do this?

>Check that doc2html.pl has the correct full pathname for pdf2html.pl

I believe this to be correct.

>--
>David Adams
>Computing Services
>Southampton University
>
>
>----- Original Message -----
>From: "Marcus Valentine" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Tuesday, June 12, 2001 4:27 PM
>Subject: [htdig] doc2html.pl version 3 problems under windows NT
>
>
>> I'm running htdig 3.1.5 under Windows NT using the precompiled executables
>> (I couldn't successfully compile myself using cygwin due to the db2
>> problem). To get it to work I'm using current cygwin1.dll from cygwin
>> rather than the one supplied in the zip archive.
>>
>> I'm having problems with doc2html.pl (version 3).  I can run pdf2html.pl
>> from the command line with success. When I run doc2html.pl from the
>command
>> line with the same test pdf file I get an html header and footer with a
>> load of garbage in between. For example:
>>
>> <HTML>
>> <HEAD>
>> <TITLE>[?]</TITLE>
>> </HEAD>
>> <BODY>
>> <PRE>
>> %PDF-1.3 %����
>> 111 0 obj &lt;&lt; /Linearized 1 /O 113 /H [ 1220 443 ] /L 430511 /E
>206353
>> /N 3 /T 428172 &gt;&gt; endobj xref 111 39 0000000016 00000 n
>> 0000001131 00000 n
>>
>> <snip>
>>
>> �q��g�% �wS��GS�O�;�~ qlzQ� "`py(U����XP#h� 8O�?"��'� �� ?�loZ�� �"
>> x��Nja2�j(OjQ��OZ�'�n�-6f,Ihs}�/��0e-�L�B��PW "
>> e��GZǶ�۶��-d����`�SY�4�"FQ�XF��T$�W&lt;P����H �Y�z �'
>>
>> <snip>
>>
>> 0000668067 00000 n
>> 0000689090 00000 n
>> trailer &lt;&lt; /Size 201 /Info 110 0 R /Root 112 0 R /Prev 509432
>>
>/ID[&lt;48588281642fce5397729e6b1433419c&gt;&lt;0f7fb95a43228b9fa4c23677435b
>> 4380&gt;] &gt;&gt; startxref 689114 %%EOF
>> </PRE>
>> </BODY>
>> </HTML>
>>
>> I'm using the cygwin perl, v5.6.1.
>>
>> Any ideas?
>>
>> Marcus Valentine


_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
To unsubscribe, send a message to <[EMAIL PROTECTED]> with a 
subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html

Reply via email to