latex2e icon indicating copy to clipboard operation
latex2e copied to clipboard

Add LuaMML sockets for eqnarray

Open zauguin opened this issue 5 months ago • 7 comments

Not entirely sure where to add these. So we want to keep this in latex-lab or should the sockets be added directly in base/ltmath?

Internal housekeeping

Status of pull request

  • Feedback wanted

Checklist of required changes before merge will be approved

  • [ ] Test file(s) added
  • [ ] Version and date string updated in changed source files
  • [ ] Relevant \changes entries in source included
  • [ ] Relevant changes.txt updated
  • [ ] Rollback provided (if necessary)?
  • [ ] ltnewsX.tex (and/or latexchanges.tex) updated

zauguin avatar Jul 06 '25 13:07 zauguin

I think something more has to be done for fleqn.clo since that overwrites this definition.

mbertucci47 avatar Jul 06 '25 16:07 mbertucci47

When I activate structure elements, the labels are not really correct as they are outside of the table.

\DocumentMetadata
  {
    uncompress,
    tagging=on,
    tagging-setup={math/setup=mathml-SE},
  }
\documentclass{article}

\usepackage{unicode-math}

\begin{document}

\begin{eqnarray}
A&=&B\\
D&=&C
\end{eqnarray}

\end{document}

I get also warnings:

Package tagpdf Warning: structure with label 0 is unknown rerun


Package tagpdf Warning: structure with label 0 is unknown rerun

(I tried also with the luamml-dev).

u-fischer avatar Jul 08 '25 20:07 u-fischer

@u-fischer I forgot to push, but with https://github.com/latex3/luamml/commit/732e0fbf5df8af83aa964d8b9904543aeb6655ce the structure tree looks reasonable.

zauguin avatar Jul 08 '25 22:07 zauguin

This PR has been automatically marked as stale because it has not had recent activity.

github-actions[bot] avatar Sep 09 '25 08:09 github-actions[bot]

What are we doing with this PR?

josephwright avatar Nov 12 '25 07:11 josephwright

well, as @mbertucci47 remarked it also needs handling in fleqn. Not checked that.

FrankMittelbach avatar Nov 12 '25 08:11 FrankMittelbach

I think the fleqn support was added in https://github.com/latex3/latex2e/pull/1817/commits/4d98d8a561055acdec941ed249a59a53ab023af3

mbertucci47 avatar Nov 20 '25 21:11 mbertucci47