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

Simplest etoc with a tabular causes there is no mc to end and raises there is no open structure on the stack error at end document #24

Open
jfbu opened this issue Jan 14, 2024 · 1 comment
Labels
at-2024-01-12 2024-01-12 has the issue tagging Relative to support of the `LaTeX tagged PDF` project

Comments

@jfbu
Copy link
Owner

jfbu commented Jan 14, 2024

\DocumentMetadata{
 uncompress,
 pdfversion=1.7,
 lang=en-US,
 testphase=phase-III
}
\documentclass{article}
\usepackage{etoc}
\usepackage{hyperref}
\usepackage{array}

\begin{document}
    

\begingroup
\etocglobaldefs % necessary for \etocname etc... to survive to & closing groups

\etocsetlinestyle{section}
  {}
  {\\\etocnumber&\etocname &\etocpage }
  {}
  {}

\etocsettocstyle{\begin{tabular}{ccc}number&name&page}{\end{tabular}}

\tableofcontents

\endgroup

\section{One}

\section{Two}

\section{Three}

\section{Four}

\end{document}

This looks as being in the same area as #20.

@jfbu jfbu added tagging Relative to support of the `LaTeX tagged PDF` project at-2024-01-12 2024-01-12 has the issue labels Jan 14, 2024
jfbu added a commit that referenced this issue Jan 15, 2024
@jfbu
Copy link
Owner Author

jfbu commented Jan 15, 2024

Maybe illustrating same root problem as impacting #20 and #21. Maybe the 'fix' if at all possible would be more on the user side to add custom mark-up to mute all tagsupport hooks into tabular/longtable...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
at-2024-01-12 2024-01-12 has the issue tagging Relative to support of the `LaTeX tagged PDF` project
Projects
None yet
Development

No branches or pull requests

1 participant