Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

eqnarray: \nonumber also neutralizes next line number? #2394

Open
dginev opened this issue Aug 15, 2024 · 0 comments
Open

eqnarray: \nonumber also neutralizes next line number? #2394

dginev opened this issue Aug 15, 2024 · 0 comments

Comments

@dginev
Copy link
Collaborator

dginev commented Aug 15, 2024

A minimal example to reproduce:

\documentclass{article}
\begin{document}

\begin{eqnarray}
x \nonumber \\ % no number
&+& y \\ % this should get (1)
&+& z \nonumber % no number
\end{eqnarray}

\begin{eqnarray}
x \nonumber \\ % no number
&+& y_1 \\ % this should get (1)
&+& y_2 \\ % this should get (2)
&+& z \nonumber % no number
\end{eqnarray}
\end{document}

LaTeXML seems to be neutralizing two rows for a given \nonumber?
The second example is an even more interesting mix, as the resulting table gets two <tbody> containers, and the deposited (2) tag is floated to the top row - which has the x with \nonumber.

I'm not sure if we have regressed or this was also a problem in pre-0.8.8 releases. I've encountered it during my latest contracting work.

@dginev dginev added this to the LaTeXML-0.8.9 milestone Aug 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant