Skip to content

memoir class incompatible #910

Open
Open
@mbertucci47

Description

@mbertucci47

This is already logged in the yaml file and adjustments are made in the bible example but I'm opening an issue for it to keep track of specific things that need adjusting.

\title and \author

\DocumentMetadata
  {
    lang=en-US,
    pdfversion=2.0,
    pdfstandard=ua-2,
    tagging=on,
  }
\documentclass{memoir}
\title{memoir tagging test}
%\author{Some author} % or this
\begin{document}
Some text
\end{document}

Both error with ! Extra \endgroup..

Section headings

They're not tagged correctly.

\DocumentMetadata
  {
    lang=en-US,
    pdfversion=2.0,
    pdfstandard=ua-2,
    tagging=on,
  }
\documentclass{memoir}
\begin{document}
\section{Some section}
\end{document}

And \chapter errors.

\DocumentMetadata
  {
    lang=en-US,
    pdfversion=2.0,
    pdfstandard=ua-2,
    tagging=on,
  }
\documentclass{memoir}
\begin{document}
\chapter{Some chapter}
\end{document}

table of contents

Not tagged correctly, parent-child warnings.

\DocumentMetadata
  {
    lang=en-US,
    pdfversion=2.0,
    pdfstandard=ua-2,
    tagging=on,
  }
\documentclass{memoir}
\begin{document}
\tableofcontents
\section{Some section}
\subsection{Some subsection}
\end{document}

abstract tagged as list

\DocumentMetadata
  {
    lang=en-US,
    pdfversion=2.0,
    pdfstandard=ua-2,
    tagging=on,
  }
\documentclass{memoir}
\begin{document}
\begin{abstract} text \end{abstract}
\end{document}

Similarly for the adjustwidth environment.

floats defined with \newfloat not tagged correctly

\DocumentMetadata
  {
    lang=en-US,
    pdfversion=2.0,
    pdfstandard=ua-2,
    tagging=on,
  }
\documentclass{memoir}
\newfloat[chapter]{listing}{lol}{Listing}
\begin{document}
Some text
\begin{listing}
Some listing
\caption{Some caption}
\end{listing}
\end{document}

marginfigure not tagged correctly

Same for margintable.

\DocumentMetadata
  {
    lang=en-US,
    pdfversion=2.0,
    pdfstandard=ua-2,
    tagging=on,
  }
\documentclass{memoir}
\begin{document}
Some text
\begin{marginfigure}
Some figure
\caption{Some caption}
\end{marginfigure}
\end{document}

colon added in front of \legend

\DocumentMetadata
  {
    lang=en-US,
    pdfversion=2.0,
    pdfstandard=ua-2,
    tagging=on,
  }
\documentclass{memoir}
\begin{document}
Some text
\begin{figure}
\caption{Some caption}
Some figure
\legend{The legend}
\end{figure}
\end{document}

poor tagging for sidecaption

\DocumentMetadata
  {
    lang=en-US,
    pdfversion=2.0,
    pdfstandard=ua-2,
    tagging=on,
  }
\documentclass{memoir}
\begin{document}
Some text
\begin{figure}
\begin{sidecaption}{An illustration}
Some side caption
\end{sidecaption}
\end{figure}
\end{document}

ctabular not tagged correctly

Haven't checked what happens over page breaks.

\DocumentMetadata
  {
    lang=en-US,
    pdfversion=2.0,
    pdfstandard=ua-2,
    tagging=on,
  }
\documentclass{memoir}
\begin{document}
\begin{ctabular}{lcr} \toprule
LEFT & CENTER & RIGHT \\ \midrule
l & c & r \\
l & c & r \\
l & c & r \\
l & c & r \\ \bottomrule
\end{ctabular}
\end{document}

\autorows not tagged at all

\DocumentMetadata
  {
    lang=en-US,
    pdfversion=2.0,
    pdfstandard=ua-2,
    tagging=on,
  }
\documentclass{memoir}
\begin{document}
\autorows{c}{5}{c}{one, two, three, four, five,
six, seven, eight, nine, ten,
eleven, twelve, thirteen, fourteen }
\end{document}

\autocols does show in the tags but is not tagged as a table.

footnotes error with hyperref

No counter 'Hfootnote' defined.

\DocumentMetadata
  {
    lang=en-US,
    pdfversion=2.0,
    pdfstandard=ua-2,
    tagging=on,
  }
\documentclass{memoir}
\usepackage{hyperref}
\begin{document}
Some text\footnote{blub}
\end{document}

\verbfootnote errors

\DocumentMetadata
  {
    lang=en-US,
    pdfversion=2.0,
    pdfstandard=ua-2,
    tagging=on,
  }
\documentclass{memoir}
\begin{document}
Some text\verbfootnote{The \verb?\footnote? macro, like all
other macros except for \verb?\verbfootnote?,
can not contain verbatim text in its
argument.\label{fn2}}
\end{document}

loop with \twocolumnfootnotes

Same with \threecolumnfootnotes and \paragraphfootnotes.

\DocumentMetadata
  {
    lang=en-US,
    pdfversion=2.0,
    pdfstandard=ua-2,
    tagging=on,
  }
\documentclass{memoir}
\begin{document}
\paragraphfootnotes
Some text\footnote{blub}

More text\footnote{baz}
\end{document}

\sidepar not tagged as note

\DocumentMetadata
  {
    lang=en-US,
    pdfversion=2.0,
    pdfstandard=ua-2,
    tagging=on,
  }
\documentclass{memoir}
\begin{document}
text\sidepar{side text}

% compare with
text\marginpar{margin text}
\end{document}

more things...

There are definitely more incompatibilities that will have to be documented at a later time.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions