latex3 / tagging-project

Issues related to the tagging project
https://latex3.github.io/tagging-project/
LaTeX Project Public License v1.3c
35 stars 14 forks source link

luatexja breaks table tagging #87

Closed u-fischer closed 5 days ago

u-fischer commented 3 months ago

luatexja patches and overwrite tabular/array commands and that breaks the table tagging:

\DocumentMetadata{
  lang        = en,
  pdfversion  = 2.0,
  pdfstandard = ua-2,
  testphase   =
   {phase-III,table}
}
\documentclass[10pt,a4paper]{report}
\usepackage{luatexja}
\begin{document}
blub
  \begin{tabular}{|l|p{3cm}|}
  hello & hola
  \end{tabular}
\end{document}
Package tagpdf Warning: Parent-Child 'P/pdf2' --> 'TR/pdf2'.
(tagpdf)                Relation is not allowed (struct 6, /text --> struct 7)
(tagpdf)                on line 54

image

mbertucci47 commented 3 weeks ago

It seems this was fixed in https://github.com/luatexja/luatexja/commit/4e0e008cf4b6a2392b01320e9547218ca82c1830