Re: [Fink-users] latex2html problems
On Feb 21, 2008, at 4:49 PM, Martin Costabel wrote: Alexander Hansen wrote: Michael Brickenstein wrote: [] pstoimg: Error: /sw/bin/ppmquant -floyd 256 /tmp/l2h73952/ p73966.pnm | /sw/bin/pnmtopng -interlace -trans 'gray85' img15.png failed: Invalid argument [] It works OK on Tiger. Since the executables are scripts, It's likely that the problem is due to changes in how some of the shell builtins under Leopard handle certain arguments. I'll cc this on to the latex2html maintainer as well. Found it. The problem is that on Leopard, the file rgb.txt is no longer in /usr/X11R6/lib/X11/, but in /usr/X11[R6]/share/X11/. Therefore the pnmtopng utility does not find it and fails. As a workaround, you can set the environment variable RGBDEF, for example like this: env RGBDEF=/usr/X11/share/X11/rgb.txt latex2html tutorial.tex I think the right place to fix this is in the netpbm-bin package. It has a list of directories to search for rgb.txt, and /usr/X11/share/ X11 needs to be put on this list. I've just done this in netpbm-bin-10.26.39-4. -- Dave - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users
Re: [Fink-users] latex2html problems
David R. Morrison wrote: [] I've just done this in netpbm-bin-10.26.39-4. With this version, latex2html tutorial.tex runs for me without error. -- Martin - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users
[Fink-users] latex2html problems
Hi! I tried using the latex2html package in version 2002-2-1-3 on my Leopard box (ppc). I have no problems with the document under different plattforms. Using fink I get many errors like the following: pstoimg: Error: /sw/bin/ppmquant -floyd 256 /tmp/l2h73952/ p73966.pnm | /sw/bin/pnmtopng -interlace -trans 'gray85' img15.png failed: Invalid argument Error while converting image Converting image #1 pstoimg: Error: /sw/bin/ppmquant -floyd 256 /tmp/l2h73952/ p73984.pnm | /sw/bin/pnmtopng -interlace -trans 'gray85' img1.png failed: Invalid argument Following the advice of a friend, I tried export DYLD_LIBRARY_PATH=/sw/lib:$DYLD_LIBRARY_PATH Then the messages change to Error: Cannot read 'img15.png': No such file or directory Converting image #1 pstoimg: Error: Ghostscript returned error status 133 pstoimg: Error: Couldn't find pnm output of /tmp/l2h73911/image001.ps ... I put the example file under the following address http://www.mfo.de/organisation/institute/brickenstein/tutorial.tex If get these things working, I would like to submit a new package (PolyBoRi). Thanks in advance! Best regards, Michael - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users
Re: [Fink-users] latex2html problems
Michael Brickenstein wrote: Hi! I tried using the latex2html package in version 2002-2-1-3 on my Leopard box (ppc). I have no problems with the document under different plattforms. Using fink I get many errors like the following: pstoimg: Error: /sw/bin/ppmquant -floyd 256 /tmp/l2h73952/ p73966.pnm | /sw/bin/pnmtopng -interlace -trans 'gray85' img15.png failed: Invalid argument Error while converting image Converting image #1 pstoimg: Error: /sw/bin/ppmquant -floyd 256 /tmp/l2h73952/ p73984.pnm | /sw/bin/pnmtopng -interlace -trans 'gray85' img1.png failed: Invalid argument Following the advice of a friend, I tried export DYLD_LIBRARY_PATH=/sw/lib:$DYLD_LIBRARY_PATH Then the messages change to Error: Cannot read 'img15.png': No such file or directory Converting image #1 pstoimg: Error: Ghostscript returned error status 133 pstoimg: Error: Couldn't find pnm output of /tmp/l2h73911/image001.ps ... I put the example file under the following address http://www.mfo.de/organisation/institute/brickenstein/tutorial.tex If get these things working, I would like to submit a new package (PolyBoRi). Thanks in advance! Best regards, Michael It works OK on Tiger. Since the executables are scripts, It's likely that the problem is due to changes in how some of the shell builtins under Leopard handle certain arguments. I'll cc this on to the latex2html maintainer as well. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users
Re: [Fink-users] latex2html problems
Alexander Hansen wrote: Michael Brickenstein wrote: [] pstoimg: Error: /sw/bin/ppmquant -floyd 256 /tmp/l2h73952/ p73966.pnm | /sw/bin/pnmtopng -interlace -trans 'gray85' img15.png failed: Invalid argument [] It works OK on Tiger. Since the executables are scripts, It's likely that the problem is due to changes in how some of the shell builtins under Leopard handle certain arguments. I'll cc this on to the latex2html maintainer as well. Found it. The problem is that on Leopard, the file rgb.txt is no longer in /usr/X11R6/lib/X11/, but in /usr/X11[R6]/share/X11/. Therefore the pnmtopng utility does not find it and fails. As a workaround, you can set the environment variable RGBDEF, for example like this: env RGBDEF=/usr/X11/share/X11/rgb.txt latex2html tutorial.tex I think the right place to fix this is in the netpbm-bin package. It has a list of directories to search for rgb.txt, and /usr/X11/share/X11 needs to be put on this list. -- Martin - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users
Re: [Fink-users] latex2html problems
As a workaround meanwhile, you could always symlink rgb.txt over to one of the places netpbm is looking for it. More robust than setting an envariable... On 2/21/08, Martin Costabel [EMAIL PROTECTED] wrote: Alexander Hansen wrote: Michael Brickenstein wrote: [] pstoimg: Error: /sw/bin/ppmquant -floyd 256 /tmp/l2h73952/ p73966.pnm | /sw/bin/pnmtopng -interlace -trans 'gray85' img15.png failed: Invalid argument [] It works OK on Tiger. Since the executables are scripts, It's likely that the problem is due to changes in how some of the shell builtins under Leopard handle certain arguments. I'll cc this on to the latex2html maintainer as well. Found it. The problem is that on Leopard, the file rgb.txt is no longer in /usr/X11R6/lib/X11/, but in /usr/X11[R6]/share/X11/. Therefore the pnmtopng utility does not find it and fails. As a workaround, you can set the environment variable RGBDEF, for example like this: env RGBDEF=/usr/X11/share/X11/rgb.txt latex2html tutorial.tex I think the right place to fix this is in the netpbm-bin package. It has a list of directories to search for rgb.txt, and /usr/X11/share/X11 needs to be put on this list. -- Martin - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users -- Mark J. Reed [EMAIL PROTECTED] - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users