latex3 / tagging-project

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

shadow package incompatible #336

Open mbertucci47 opened 3 months ago

mbertucci47 commented 3 months ago

The \shabox command from the shadow package errors if the text spans more than one line. The tagging of the box should also probably be suppressed.

\DocumentMetadata
  {
    lang=en-US,
    pdfversion=2.0,
    pdfstandard=ua-2,
    testphase={phase-III,math,title,table,firstaid},
  }
\documentclass{article}

\usepackage{shadow}

\title{shadow tagging test}

\begin{document}

\shabox{text}

\shabox{a long sentence a long sentence a long sentence a long sentence a long sentence a long sentence a long sentence}

\end{document}

errors with

! Package tagpdf Error: The number of automatic begin (3) and end (2)
(tagpdf)                text-unit para hooks differ!
u-fischer commented 3 months ago

It errors as the \vbox is not properly ended by a \par. And yes, the shadowbox should not be tagged/be artifacts.