fpantigny / nicematrix

The LaTeX package nicematrix
3 stars 1 forks source link

tagging support adds empty tags #10

Open mbertucci47 opened 5 days ago

mbertucci47 commented 5 days ago

Thanks for adding support for tagging!

The NiceTabular environment adds an empty <Div> and empty <P> tag that are not there with a normal tabular. Here's an example.

% !TeX TXS-program:compile = txs:///lualatex
\DocumentMetadata
  {
    lang=en-US,
    pdfversion=2.0,
    pdfstandard=ua-2,
    testphase={phase-III,math,title,table,firstaid}
  }
\documentclass{article}
\usepackage{nicematrix}

\title{nicematrix tagging test}

\begin{document}

\begin{NiceTabular}{cc}
A & B \\
C & D
\end{NiceTabular}

\begin{tabular}{cc}
A & B \\
C & D
\end{tabular}

\end{document}

NiceTabular tags

nicetabular_tagging

tabular tags

tabular_tagging

This is not a huge deal. I think most applications using tags will just ignore these. But to be fully correct they should eventually be fixed.

fpantigny commented 5 days ago

I will try to solve that problem.