WPIntell

Source evidence

??? with align/split environment

LaTeX2HTML · support · 2018-12-27T12:42:00+00:00

mixedsentiment
highseverity
0.83relevance
1replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

7 / 35 rows with source links

20.0% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

28 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
vesnog resolved
Hello, I recently started using LaTeX2HTML plugin in order to publish scientific content on my blog. However, when I use complex equations with split/align environments from amsmath package I have problems referring to these equations later on as instead of an equation number ??? is displayed. This is not the case with single line simple equations and they are correctly referenced with \eqref command. I browsed through the PHP files in the hope that I will point me in the right direction, yet failed as I do not know PHP. The way I use split environment is inside a parent equation environment just like I do in regular LaTeX with pdflatex as the compiler. \begin{equation}\label{eq:Polarization}<br>\begin{split}<br>P_{induced} &= Np \\<br>&= -Nex \\<br>&= \frac{Ne^2}{m_0}\frac{1}{(\omega_0^2-\omega^2 - i \gamma \omega)} \mathrm{E}<br>\end{split}<br>\end{equation} I appreciate your assistance and explanation on this matter. Furthermore, is it normal that Latex comments starting with % are displayed as they are on the output? The page I need help with: [ log in to see the link] 1. The LaTeX2HTML plugin of version newer than v2.0.0 do nothing to the labeling/referencing stuff, which is done by MathJax. So your problem is related to MathJax, and the bug seems has a workaround as mentioned here, Referring to labels defined in an expression with “split” or “aligned” environments seems broken : which is simple, just move your label at the bottom of split: \begin{equation} \begin{split} P_{induced} &= Np \\ &= -Nex \\ &= \frac{Ne^2}{m_0}\frac{1}{(\omega_0^2-\omega^2 - i \gamma \omega)} \mathrm{E} \end{split} \label{eq:Polarization} \end{equation} \eqref{eq:Polarization} 2. Furthermore, is it normal that Latex comments starting with % are displayed as they are on the output? Of course not, the lines start with % should understand as comment out, thus % this is comment out % This is comment out too will be hidden completely on the output. This is what LaTeX2HTML expect and actually do. This reply was modified 7 years, 5 months ago by Van Abel . This reply was modified 7 years, 5 months ago by Van Abel .

Comments

1 shown
Van Abel 2018-12-28T09:47:00+00:00

1. The LaTeX2HTML plugin of version newer than v2.0.0 do nothing to the labeling/referencing stuff, which is done by MathJax. So your problem is related to MathJax, and the bug seems has a workaround as mentioned here, Referring to labels defined in an expression with “split” or “aligned” environments seems broken : which is simple, just move your label at the bottom of split: \begin{equation} \begin{split} P_{induced} &= Np \\ &= -Nex \\ &= \frac{Ne^2}{m_0}\frac{1}{(\omega_0^2-\omega^2 - i \gamma \omega)} \mathrm{E} \end{split} \label{eq:Polarization} \end{equation} \eqref{eq:Polarization} 2. Furthermore, is it normal that Latex comments starting with % are displayed as they are on the output? Of course not, the lines start with % should understand as comment out, thus % this is comment out % This is comment out too will be hidden completely on the output. This is what LaTeX2HTML expect and actually do. This reply was modified 7 years, 5 months ago by Van Abel . This reply was modified 7 years, 5 months ago by Van Abel .