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

matrices wrong after one with empty cell #46

Closed
murkle opened this issue Jun 29, 2018 · 1 comment
Closed

matrices wrong after one with empty cell #46

murkle opened this issue Jun 29, 2018 · 1 comment

Comments

@murkle
Copy link
Collaborator

murkle commented Jun 29, 2018

Just spotted this fix in a fork:
CBN-Polska@271489b

-                    boxarr[i][j - 1].type = TeXConstants.TYPE_INTERTEXT;
+                    if (boxarr[i][j - 1] != nullBox) // BUGFIX: EN-122
+                        boxarr[i][j - 1].type = TeXConstants.TYPE_INTERTEXT;

BUGFIX EN-122 solves problem:

When a matrix like this

\begin{tabular}{ccc}
  &     \\
  & 1 & 2  \\
\end{tabular}

is created then all next matrixes having first cell in a row empty have all row empty.

So when you call above tex and later write for example:

\begin{tabular}{ccc}
  & 2 & 3   \\
4 & 5 & 6  \\
  & 8 & 9  \\
\end{tabular}

you will see only 4 5 6. First and third line are print empty.

murkle referenced this issue in CBN-Polska/jlatexmath Jun 29, 2018
@murkle
Copy link
Collaborator Author

murkle commented Jun 29, 2018

Seems related to this bug:
#30

kovzol pushed a commit to geogebra/geogebra that referenced this issue Jun 29, 2018
opencollab/jlatexmath#46
problem with 
\begin{tabular}{ccc}  &     \\  & 1 & 2  \\\end{tabular}
then
\begin{tabular}{ccc}  & 2 & 3   \\4 & 5 & 6  \\  & 8 & 9  \\\end{tabular}


git-svn-id: http://dev.geogebra.org/svn/trunk/geogebra@62612 23ce0884-8a58-47d3-bc5c-ddf1cd5b9f9e
kovzol pushed a commit to geogebra/geogebra that referenced this issue Jul 4, 2018
@murkle murkle closed this as completed Apr 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant