[Bug 833247] New: LaTeX code \frac{1}{2} converted to "Image" instead of the fraction 1/2 by LaTeX2HTML 1.71 in its .html output file with portions of TeX Live 2012 installed in openSUSE 12.3
https://bugzilla.novell.com/show_bug.cgi?id=833247 https://bugzilla.novell.com/show_bug.cgi?id=833247#c0 Summary: LaTeX code \frac{1}{2} converted to "Image" instead of the fraction 1/2 by LaTeX2HTML 1.71 in its .html output file with portions of TeX Live 2012 installed in openSUSE 12.3 Classification: openSUSE Product: openSUSE 12.3 Version: Final Platform: 32bit OS/Version: openSUSE 12.3 Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: l_pat_s@hotmail.com QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux i686; rv:22.0) Gecko/20100101 Firefox/22.0 The LaTeX code y=\frac{1}{2}x^2 was improperly converted to the equivalent of "y=Image x^2" instead of the equivalent of "y=(1/2) x^2" in a HyperText Markup Language (.html) output file produced by the program LaTeX2HTML 1.71 with portions of TeX Live 2012 installed in an openSUSE-12.3, Linux operating system. That is in the .html file the word "Image" appeared instead of the fraction 1/2 with a horizontal fraction line in it when the .html file was prepared from a freshly prepared .tex file. The problem might be in how openSUSE 12.3 "handles" TeX Live 2012, in TeX Live 2012 itself, or in my particular installations of LaTeX2HTML 1.71 in portions of TeX Live 2012 in openSUSE 12.3. Such a problem was not reported in TeX Live 2012 at ftp://ftp.math.utah.edu/public_html/public_html/pub/tex/historic/systems/texlive/2012/web/bugs.html on the Internet. I did not see a problem with fractions like this in the combination of LaTeX2HTML 1.71 in portions of TeX Live 2011 in openSUSE 12.2. Using instead the combination of TeX4ht and portions of TeX Lve 2012 in openSUSE 12.3 was gratefully successful for such LaTeX-coded fractions. But a "side effect" was that so far I have not been able to obtain long vertical delimiters "|" with, for example \dfrac{df}{dx}\bigg |_{x=0} using TeX4ht to process a .tex file containing similar LaTeX code. Reproducible: Always Steps to Reproduce: 1. With LaTeX2HTML 1.71 and portions of TeX Live 2012, such as the packages texlive, texlive-latex, and latex2html, installed in openSUSE 12.3, include the LaTeX code \frac{1}{2}, the LaTeX code for the fraction 1/2, in a freshly prepared .tex file with a name of the form MyFile.tex. 2. Execute "latex MyFile.tex" twice and "latex2html -nonavigation -no_math -html_version 3.2,math -split 0 MyFile.tex" once. 3. Open the output file MyFile.html in a Web browser like Konqueror or Mozilla Firefox. Actual Results: In the output file MyFile.html see the word "Image" displayed Expected Results: instead of the desired fraction 1/2 with a horizontal fraction line in it. This type of fraction problem did not occur for me when old .tex files were processed by the programs LaTeX and LaTeX2HTML 1.71 in openSUSE 12.3. By "old" tex files I mean .tex files produced when I had version 12.2 or an earlier version of openSUSE installed along with portions of TeX Live 2011 or perhaps an even earlier version of TeX Live along with version 1.71 or 1.70 of LaTeX2HTML. But after the contents from such an "old" .tex file were copied and pasted into a blank Kate document, that document was saved as a new .tex file, and that document was processed with commands of the form "latex MyFile.tex" and "latex2html -nonavigation -no_math -html_version 3.2,math -split 0 MyFile.tex", the problem occurred in the .html output file produced by LaTeX2HTML 1.71. In at least the years 2013 and 2012 in openSUSE I have often used the Lightweight X Windows System, Version 11 (X11), Development Environment (LXDE). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=833247
https://bugzilla.novell.com/show_bug.cgi?id=833247#c1
--- Comment #1 from Lawrence Somerville
https://bugzilla.novell.com/show_bug.cgi?id=833247
https://bugzilla.novell.com/show_bug.cgi?id=833247#c
FeiXiang Zhang
https://bugzilla.novell.com/show_bug.cgi?id=833247
https://bugzilla.novell.com/show_bug.cgi?id=833247#c2
Lawrence Somerville
https://bugzilla.novell.com/show_bug.cgi?id=833247
https://bugzilla.novell.com/show_bug.cgi?id=833247#c3
--- Comment #3 from Lawrence Somerville
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:22.0) Gecko/20100101 Firefox/22.0
The LaTeX code y=\frac{1}{2}x^2 was improperly converted to the equivalent of "y=Image x^2" instead of the equivalent of "y=(1/2) x^2" in a HyperText Markup Language (.html) output file produced by the program LaTeX2HTML 1.71 with portions of TeX Live 2012 installed in an openSUSE-12.3, Linux operating system. That is in the .html file the word "Image" appeared instead of the fraction 1/2 with a horizontal fraction line in it when the .html file was prepared from a freshly prepared .tex file. The problem might be in how openSUSE 12.3 "handles" TeX Live 2012, in TeX Live 2012 itself, or in my particular installations of LaTeX2HTML 1.71 in portions of TeX Live 2012 in openSUSE 12.3. Such a problem was not reported in TeX Live 2012 at ftp://ftp.math.utah.edu/public_html/public_html/pub/tex/historic/systems/texlive/2012/web/bugs.html on the Internet. I did not see a problem with fractions like this in the combination of LaTeX2HTML 1.71 in portions of TeX Live 2011 in openSUSE 12.2.
Using instead the combination of TeX4ht and portions of TeX Lve 2012 in openSUSE 12.3 was gratefully successful for such LaTeX-coded fractions. But a "side effect" was that so far I have not been able to obtain long vertical delimiters "|" with, for example \dfrac{df}{dx}\bigg |_{x=0} using TeX4ht to process a .tex file containing similar LaTeX code.
A written insert on August 22, 2013 by the author or initiator of this "bug" report: When using TeX4ht gratefully now I do have a way which works to input a vertical line segment with a length about equal to the height of the stacked mathematical symbols to the left of it. Below is sample of its use in a .tex file containing LaTeX code in equation mode: \begin{equation} y=\left.\dfrac{df}{dx}\right |_{x=0} \end{equation} In the .html output file produced by the TeX4ht command of the form "htlatex MyFile.tex", with a file with a name of the form MyFile.tex containing such code, gratefully the length of the "|" was about equal to the height of df/dx with a horizontal fraction line. On the Internet I read of the use of \left. .....\right. I tried it with LaTeX code close to "\dfrac{df(x)}{dx}\left.\right |" without success in the corresponding output, .html file produced by TeX4ht. So it appears that placing the LaTeX code for the tall mathematical expression df/dx between \left. and \right apparently "acclamates" TeX4ht to the mathematical "environment" so that it adjusts the height of the "|" to match the height of "df/dx", with a horizontal fraction line, which precedes the "|". Assuming that's how TeX4ht works in this situation, that's just what I want to occur in it! ---End of the August 22, 2013 written insertion-----
Reproducible: Always
Steps to Reproduce: 1. With LaTeX2HTML 1.71 and portions of TeX Live 2012, such as the packages texlive, texlive-latex, and latex2html, installed in openSUSE 12.3, include the LaTeX code \frac{1}{2}, the LaTeX code for the fraction 1/2, in a freshly prepared .tex file with a name of the form MyFile.tex. 2. Execute "latex MyFile.tex" twice and "latex2html -nonavigation -no_math -html_version 3.2,math -split 0 MyFile.tex" once. 3. Open the output file MyFile.html in a Web browser like Konqueror or Mozilla Firefox. Actual Results: In the output file MyFile.html see the word "Image" displayed
Expected Results: instead of the desired fraction 1/2 with a horizontal fraction line in it.
This type of fraction problem did not occur for me when old .tex files were processed by the programs LaTeX and LaTeX2HTML 1.71 in openSUSE 12.3. By "old" .tex files I mean .tex files produced when I had version 12.2 or an earlier version of openSUSE installed along with portions of TeX Live 2011 or perhaps an even earlier version of TeX Live along with version 1.71 or 1.70 of LaTeX2HTML. But after the contents from such an "old" .tex file were copied and pasted into a blank Kate document, that document was saved as a new .tex file, and that document was processed with commands of the form "latex MyFile.tex" and "latex2html -nonavigation -no_math -html_version 3.2,math -split 0 MyFile.tex", the problem occurred in the .html output file produced by LaTeX2HTML 1.71. In at least the years 2013 and 2012 in openSUSE I have often used the Lightweight X Windows System, Version 11 (X11), Development Environment (LXDE).
-- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=833247
https://bugzilla.novell.com/show_bug.cgi?id=833247#c4
--- Comment #4 from Lawrence Somerville
https://bugzilla.novell.com/show_bug.cgi?id=833247
https://bugzilla.novell.com/show_bug.cgi?id=833247#c5
Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=833247
https://bugzilla.novell.com/show_bug.cgi?id=833247#c6
--- Comment #6 from Lawrence Somerville
https://bugzilla.novell.com/show_bug.cgi?id=833247
https://bugzilla.novell.com/show_bug.cgi?id=833247#c7
--- Comment #7 from Lawrence Somerville
https://bugzilla.novell.com/show_bug.cgi?id=833247
https://bugzilla.novell.com/show_bug.cgi?id=833247#c
Petr Gajdos
https://bugzilla.novell.com/show_bug.cgi?id=833247
https://bugzilla.novell.com/show_bug.cgi?id=833247#c
Petr Gajdos
https://bugzilla.novell.com/show_bug.cgi?id=833247
https://bugzilla.novell.com/show_bug.cgi?id=833247#c8
Petr Gajdos
https://bugzilla.novell.com/show_bug.cgi?id=833247
https://bugzilla.novell.com/show_bug.cgi?id=833247#c9
--- Comment #9 from Petr Gajdos
https://bugzilla.novell.com/show_bug.cgi?id=833247
https://bugzilla.novell.com/show_bug.cgi?id=833247#c10
Petr Gajdos
https://bugzilla.novell.com/show_bug.cgi?id=833247
https://bugzilla.novell.com/show_bug.cgi?id=833247#c11
--- Comment #11 from Lawrence Somerville
https://bugzilla.novell.com/show_bug.cgi?id=833247
https://bugzilla.novell.com/show_bug.cgi?id=833247#c12
Petr Gajdos
https://bugzilla.novell.com/show_bug.cgi?id=833247
https://bugzilla.novell.com/show_bug.cgi?id=833247#c13
Petr Gajdos
Thanks, Petr Gajdos, for kindly posting something here. As far as openSUSE Linux is concerned, I switched from using version 12.3 to using version 13.1 of the openSUSE Linux operating system. Therefore it is not so convenient for me to perform a test in an openSUSE-12.3, Linux operating system.
Then you can test rpm from http://download.opensuse.org/repositories/home:/pgajdos:/maintenance:/latex2... Is it working for you?
LaTeX2HTML Version 2012 (1.2)
We will not do an update to 2012 for released distributions if there is no reason for it.
LaTeX2HTML in openSUSE 12.3 not properly interpreting the LaTeX code for a fraction like \frac{1}{2}, please consider looking for that same possible problem in the LaTeX2HTML-related software packages provided by YaST2 for openSUSE 13.1.
As soon as you confirm that rpm from repository above is working for you, we can do an update for both 12.3 and 13.1. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=833247
https://bugzilla.novell.com/show_bug.cgi?id=833247#c14
--- Comment #14 from Lawrence Somerville
https://bugzilla.novell.com/show_bug.cgi?id=833247
https://bugzilla.novell.com/show_bug.cgi?id=833247#c15
Petr Gajdos
https://bugzilla.novell.com/show_bug.cgi?id=833247
https://bugzilla.novell.com/show_bug.cgi?id=833247#c16
--- Comment #16 from Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=833247
https://bugzilla.novell.com/show_bug.cgi?id=833247#c17
--- Comment #17 from Lawrence Somerville
https://bugzilla.novell.com/show_bug.cgi?id=833247
https://bugzilla.novell.com/show_bug.cgi?id=833247#c18
--- Comment #18 from Lawrence Somerville
https://bugzilla.novell.com/show_bug.cgi?id=833247
https://bugzilla.novell.com/show_bug.cgi?id=833247#c19
--- Comment #19 from Lawrence Somerville
participants (1)
-
bugzilla_noreply@novell.com