From owner-freebsd-questions@FreeBSD.ORG Fri Oct 8 13:33:23 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 36FB516A4CE for ; Fri, 8 Oct 2004 13:33:23 +0000 (GMT) Received: from Gina.esfm.ipn.mx (esfm.ipn.mx [148.204.102.61]) by mx1.FreeBSD.org (Postfix) with ESMTP id CA2E343D41 for ; Fri, 8 Oct 2004 13:33:22 +0000 (GMT) (envelope-from mrspock@esfm.ipn.mx) Received: from Gina.esfm.ipn.mx (localhost.esfm.ipn.mx [127.0.0.1]) by Gina.esfm.ipn.mx (8.12.10/8.12.10) with ESMTP id i98DWk4I052314 for ; Fri, 8 Oct 2004 08:32:46 -0500 (CDT) (envelope-from mrspock@esfm.ipn.mx) Received: from localhost (mrspock@localhost)i98DWjrF052311 for ; Fri, 8 Oct 2004 08:32:46 -0500 (CDT) (envelope-from mrspock@esfm.ipn.mx) X-Authentication-Warning: Gina.esfm.ipn.mx: mrspock owned process doing -bs Date: Fri, 8 Oct 2004 08:32:45 -0500 (CDT) From: Eduardo Viruena Silva To: freebsd-questions@freebsd.org Message-ID: <20041008083101.V52129@Gina.esfm.ipn.mx> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: latex2html problems (fwd) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Oct 2004 13:33:23 -0000 Hello FreeBSD gurus! I have a question for you. I have installed FreeBS 5.2.1-RELEASEp9 in my computer. I also upgraded my ports, compiled and installed the following ports: latex2html-2002.2.1_3 Convert LaTeX documents to HTML teTeX-2.0.2_2 Thomas Esser's distribution of TeX & friends latex2html seems to work fine but it does not process formulas. Perhaps this example is a little too large, but... Example: ---test.tex------ \documentclass{article} \begin{document} $\sin(x)$ \end{document} ---end of test.tex---- Michelle:/home/mrspock/tex> latex2html test --- it was properly processed but, at the end: --- *** processing 1 images *** Generating postscript images using dvips ... This is dvips(k) 5.92b Copyright 2002 Radical Eye Software (www.radicaleye.com) ' TeX output 2004.10.07:1523' -> /tmp/l2h879/image (-> /tmp/l2h879/image001) [1] Converting image #1 pstoimg: Error: "/usr/local/bin/ppmquant -floyd 256 < /tmp/l2h879/p892.pnm | /usr/local/bin/pnmtopng -interlace -trans '#ffffff' > img1.png" failed: Error while converting image Doing section links ...... Done. -------- Now, "pstoimg" is a function in /usr/local/bin that was installed by latex2html. "pnmtopng" was installed by "netpbm-10.24"... and it seems that it is being called with a pair of parameters that does not seem to work. Does anybody know if there is a solution for this? Thanks in advance. Eduardo. PS. Please reply to my e-mail address, I'm not subscribed to the list.