Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

accessibilityMeta gives up on nested structs like \section{\emph{Text}} #20

Open
frankMilde opened this issue Nov 9, 2017 · 0 comments

Comments

@frankMilde
Copy link

Minimum working example to repoduce bug:

\documentclass[10pt,a4paper]{article}
\usepackage[T1,T2A]{fontenc}
\usepackage[utf8]{inputenc}

\usepackage[tagged]{accessibilityMeta}

\begin{document}
    \section{\emph{Test}}
\end{document}

running pdflatex gives an error

Package accessibilityMeta Warning: You may need to use the babel package or the
 chosen language (english) is not supported by Adobe Acrobat Reader 6. on input
 line 6.

! Undefined control sequence.
<argument> \equal
                  {Section}{Document}
l.8 \section{\emph{Test}}

In a bigger document I got a different message:

[5.6.0.0.3]
! TeX capacity exceeded, sorry [input stack size=5000].
\closeUntilPDFStruct ...bool =0\sectionInDepth {#1
                                                  }{@elemi}\ifnum \@elemi =1...

All works fine if:

  1. accessibilityMeta is commented out, or
  2. \emph{...} is removed, or
  3. {\em ...} is used

My guess is it has something to do with the ifelse package.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant