AndyClifton / accessibility

A CTAN-compliant version of the LaTeX `accessibility` package
37 stars 6 forks source link

Incompatibility with enumitem #13

Open juh2600 opened 4 years ago

juh2600 commented 4 years ago

Describe the bug When the enumitem package is used and an enumerate environment is present in the document, pdflatex fails to compile the document.

To Reproduce MWE:

\documentclass{article}

\usepackage{enumitem}
\usepackage[english]{babel} % included to suppress (seemingly unrelated) warning

\usepackage[tagged,highstructure]{strucPDF}

\begin{document}
Line so document will compile if enumerate environment is commented.
\begin{enumerate}
\item foo
\end{enumerate}
\end{document}

Expected behavior Document should compile properly.

Log messages

! Use of \\enumerate doesn't match its definition.
<argument> \def \reserved@a {
                             \def \@currenvir {PDFListLabel}\edef \@currenvl...
l.11 \item
           foo

Tex Installation