Home > latex2html error > latex2html error while converting image

Latex2html Error While Converting Image

[ subject ] [ author ] Thanks for your extensive reply. I did reinstall and got it nearly to work. I did the following: 1. downloaded "latex2html-2008.tar.gz" and extracted it 2. patched "prefs.pm" > "$prefs{'EXTRAPATH'} = '/sw/bin';" (cause of the install location from fink) to get the following right during ./ configure: ########## /sw/bin/pnmcrop -verbose yes checking for pnmflip... /sw/bin/pnmflip checking for ppmquant... /sw/bin/ppmquant checking for pnmfile... /sw/bin/pnmfile checking for pnmcat... /sw/bin/pnmcat checking for pbmmake... /sw/bin/pbmmake checking for ppmtogif... /sw/bin/ppmtogif yes checking if ppmtogif can make interlaced GIFs... yes checking for pnmtopng... /sw/bin/pnmtopng checking for ppmtojpeg... /sw/bin/ppmtojpeg checking for pnmcut... /sw/bin/pnmcut checking for pnmpad... /sw/bin/pnmpad checking for pnmrotate... /sw/bin/pnmrotate checking for pnmscale... /sw/bin/pnmscale checking for giftopnm... /sw/bin/giftopnm checking for jpegtopnm... /sw/bin/jpegtopnm checking for pngtopnm... /sw/bin/pngtopnm checking for tifftopnm... /sw/bin/tifftopnm checking for picttoppm... /sw/bin/picttoppm checking for anytopnm... /sw/bin/anytopnm checking for bmptoppm... /sw/bin/bmptoppm checking for pcxtoppm... /sw/bin/pcxtoppm checking for sgitopnm... /sw/bin/sgitopnm checking for xbmtopbm... /sw/bin/xbmtopbm checking for xwdtopnm... /sw/bin/xwdtopnm ############ 3. Did "make" and "make check" without problems 4. But "make test" returned the following error for images: ############ Converting image #2 pstoimg: Error: "/sw/bin/ppmquant -floyd 256 < /tmp/l2h1354/p1370.pnm | /sw/bin/pnmtopng -interlace -trans 'gray85' > img2.png" failed: Invalid argument Error while converting image Converting image #1 pstoimg: Error: "/sw/bin/pnmcrop < /tmp/l2h1354/p1386.pnm | /sw/bin/ pnmcrop -bot -sides | /sw/bin/pnmcrop -l -sides | /sw/bin/ pnmcrop -r -sides | /sw/bin/pnmcrop -l -sides | /sw/bin/ppmquant -floyd 256 | /sw/bin/pnmtopng -interlace -trans 'gray85' > img1.png" failed: Invalid argument Error while converting image ############ The index.html within the test folder also does not show the mathematical formulars, which I think are the two images not converted. Already tried to replace "gray85" with "#d9d9d9" (see http://www.tug.org/pipermail/latex2html/2008-September/003469.html) How could I make the image conversion work? Thanks Christian -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/latex2html/attachments/20081211/d7c4791f/at

from GoogleSign inHidden fieldsSearch for groups or messages

at moo.holy.cow>, wrote Parv thusly... > > > latex2html-2002.2.1_3 Convert LaTeX documents to https://lists.freebsd.org/pipermail/freebsd-questions/2004-October/060579.html HTML > > teTeX-2.0.2_2 Thomas Esser's distribution of TeX & friends http://arstechnica.com/phpbb/viewtopic.php?f=16&t=185925 > > ... with latex2html-2002.2.1_3 & teTeX-2.0.2_3. > > > Michelle:/home/mrspock/tex> latex2html test > > > > --- it was properly processed but, at the end: --- > > > > *** processing 1 images *** > > > > Generating postscript latex2html error 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: latex2html error while > > > > Error while converting image > > Do "ktrace -di -f log latex2html file.tex ; kdump -n -f log | less". > Then search for string "/tmp/l2h". You will see that directory is > removed well before ppmquant get to do its thing. ... > > "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. I was wrong in my assesment. As noted above, problem seems to be with/for pnmtopng not ppmquant ... # latex2html -debug p.tex ... Debug (syswait): Running "/misc/local/bin/perl5.8.5 /misc/local/bin/pstoimg -type png -debug -tmp /tmp/l2h3101 -discard -interlace -antialias -depth 1 -scale 1.6 -geometry 26x16 -margins 134,72 -crop abls -transparent -out img1.png /tmp/l2h3101/image001.ps" at /usr/local/bin/latex2html line 4230 pstoimg V2002-2-1 (Revision 1.16, Perl 5.008005) pstoimg: Temporary directory is /tmp/l2h3101 pstoimg: Processing /tmp/l2h3101/image001.ps pstoimg: EPSF dimensions are 31x23 pstoimg: Running /usr/local/bin/gs -sDEVICE=ppmraw -g50x37 -r115 -dTextAlphaBits=4 -sOutputFile=/tm

 

Related content

latex2html error while converting

Latex html Error While Converting p subject author Thanks for your relatedl extensive reply I did reinstall and got it nearly to work I did the following downloaded latex html- tar gz and extracted it patched prefs pm prefs 'EXTRAPATH' ' sw bin' cause of the install location from fink to get the following right during configure sw bin pnmcrop -verbose yes checking for pnmflip sw bin pnmflip checking for ppmquant sw bin ppmquant checking for pnmfile sw bin pnmfile checking for pnmcat sw bin pnmcat checking for pbmmake sw bin pbmmake checking for ppmtogif sw bin ppmtogif yes checking

latex2html error while

Latex html Error While p p p fr n GoogleLogga inDolda f ltS k efter grupper eller meddelanden p p SCAP-on-Apple SmartCard Services WebKit XQuartz Contact Terms of Use Privacy Policy All relatedl user-submitted text and content on this website is a href https trac macports org ticket https trac macports org ticket a licensed under a Creative Commons Attribution License unless otherwise noted Copyright Apple Inc All rights reserved New Ticket Tickets Wiki Browse Source Timeline Roadmap Ticket Reports Search Search Context Navigation larr Previous TicketNext Ticket rarr Ticket latex html error closed defect fixed Opened years ago Last

latex2html error

Latex html Error p Sign in relatedl Pricing Blog Support Search GitHub option form This repository Watch Star Fork Homebrew legacy-homebrew Code Issues Pull requests Projects Pulse Graphs latex html Error No such image type Closed adzenith opened this Issue Jan middot comment Projects None yet option form Labels None yet option form Milestone No milestone option form Assignees No one assigned participants adzenith commented Jan latex html installs just fine but doesn't work Repro touch test tex latex html test tex Output Error No such image type '' This installation supports first is default Gist here https gist github