[l2h] Unwanted black line segments under tall mathematical expressions in the OpenSuSE-11.1 Linux environment.
Pat Somerville
l_pat_s at hotmail.com
Tue Aug 25 07:17:13 CEST 2009
Hi. I have a .tex file of the form file.tex on which the issuing of commands of the form "latex file.tex" and "latex2html -nonavigation -no_math -html_version 4.01,math -split 0 file.tex" produced black line segments under some tall mathematical symbols and fractions, such as a parenthesis, a brace, or fractions, especially when there was a capital letter in the numerator. For example, in one equation R/q had an unwanted line segment under it; but r/q and 1/q did not. So it is pretty clear that this a height-related problem occurring with the tall, Portable Network Graphics (PNG) images I am producing. The unwanted line segments appeared when viewing the .html file produced as a result of the latex2hmtl command in both the Konqueror and Mozilla-Firefox-3.5.2 Web browsers. Executing a latex2html command on this .tex file in Fedora-Core-3 Linux, this problem did not occur. But using the same .tex file 1.5 years later in OpenSuSE-11.1 Linux I had the unwanted line segments under some images of mathematical symbols and fractions. I can't write with certainty that the latex2html commands were identical in the two cases about 1.5 years apart. But the above latex2html command was similar to what I often used. Is the command "latex2html -nonavigation -no_math -html_version 4.01,math -split 0 file.tex" antiquated for the modern, OpenSuSE-11.1, Linux environment, for example in the version number 4.01? Or am I using a version of some software package incompatible with what latex2html "expects" to find? Or am I missing a required software package?
Also some pstoimg errors are reported during the running of latex2html, for example:
'pstoimg: Error: "/usr/bin/pnmcrop -verbose -sides -bot < /tmp/l2h6353/p9481.pnm> /tmp/l2h6353/p9481.t00" failed: Bad file descriptor'
Here are some software packages I was using in OpenSuSE-11.1 Linux when the errors occurred:
In response to the command "latex2html --version": $* is no longer supported at /usr/bin/latex2html line 10599". "This is LaTeX2HTML version 2002-2-1 (1.70)..."
In response to the command "LaTeX --version": pdfTeX using libpoppler 3.141592-1.40.3-2.2 (Web2C 7.5.6) Copyright 2007 Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX)
kpathsea version 3.5.6
Probably pdfTeX was compiled with libpng 1.2.31, zlib 1.2.3, and xpdf 3.0.1.
In addition, after running a command of the form "latex file.tex", I think "latex2e" also appeared! What is going on here? Is this "latex" a combination of pdfTeX and LaTeX version 2e?
Perl 5.10
dvips 5.96
In response to the command "rpm -qa | grep ghostscript": ghostscript-library-8.62-31.43.1, ghostscript-fonts-other-8.62-31.43.1, ghostscript-omni-8.62-31.43.1, ghostscript-fonts-std-8.62-31.43.1, ghostscript-x11-8.62-31.43.1
In response to the command "rpm -qa | grep netpbm": netpbm-10.26.44-98.12, libnetpbm-10.26.44-98.12
In response to the command "rpm -qa | grep libpng": libpng12-0-1.2.31-4.38.1, libpng-devel-1.2.31-4.38.1
The package libpng3 exists. But I do not have it installed in my OpenSuSE-11.1 Linux installation.
I did not find libz installed in my OpenSuSE-11.1 Linux installation, but in a search for libz in YaST2 did find libzio-0.9-4.19 and libzypp-5.30.3-0.1.1 reported as installed.
Via the software I am building PNG images.
In response to the commands "pnmcrop --version" and "pnmtopng" I saw libnetpbm from Netpbm version: Netpbm 10.26.44, compiled Dec. 3, 2008.
pnmcrop: BSD defined
pnmcrop: RGB_ENV='RGBDEF'
pnmcrop:RGBENV='RGBDEF' (env vbl unset) .
In response to the command "libpng --version": -bash: libpng: command not found (But from the above data clearly some libpng packages are installed on my computer.)
In response to the command "libz --versioin": -bash: libz: command not found
I am aware of Dr. Ross Moore's year-2003 solution to avoid the black line segments under some images from http://www.xray.mpe.mpg.de/mailing-lists/latex2html/2003-02/msg00001.html on the Internet of inserting \strut or an invisible \vrule to fix such a problem in individual cases, as in $......\strut$ and "\vrule height 15 pt depth 0pt width 0pt." Also I was aware that one could have the unwanted black line segments around and/or below images when using too early a version of latex2html, which I don't think is the problem now in my case. Is there a global solution for me to avoid the problem of black line segments that I have encountered in this modern, OpenSuSE-11.1 environment?
In addition, at http://www.latex2html.org/node2.html on the Internet the following hyperlinks to the following Uniform Resource Locators (URLs) did not work on August 24-25, 2009: http://www-texdev.ics.mq.edu.au/l2h/docs/manual/ and http://www.erdw.ethz.ch/~bonk/l2h/l2h-note.html. Thanks to anyone taking the time to provide useful help to me.
Pat
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/latex2html/attachments/20090825/7ad5e73f/attachment.html>
More information about the latex2html
mailing list