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

strucPDF causes errors with \hline in longtable #15

Open
dsavransky opened this issue Jul 15, 2019 · 0 comments
Open

strucPDF causes errors with \hline in longtable #15

dsavransky opened this issue Jul 15, 2019 · 0 comments
Labels
strucPDF transferred from old `strucPDF`package. Needs to be checked against accessibility

Comments

@dsavransky
Copy link

Describe the bug
longtable environment cannot include \hline when strucPDF is in use.

To Reproduce
MWE:

\documentclass[11pt,article,oneside,tagged]{article}
\usepackage[left=1in,top=1in,right=1in,bottom=1in,footskip = 0.333in]{geometry}
\usepackage[T1]{fontenc}
\usepackage{longtable} %provide longtable
\usepackage[tagged, highstructure]{strucPDF}

\begin{document}
\begin{longtable}{ p{0.1\textwidth} | p{0.8\textwidth}  }
%\hline
1 & 2\\
3 & 4\\
%\hline
\end{longtable}
\end{document}

Expected behavior
Compiles correctly as shown. Uncommenting either \hline command produces the error:

./test.tex:14: A <box> was supposed to be here.
<to be read again> 
                   \toks@ 
l.14 1
       & 2\\
? 

Log messages
If applicable, add log outputs or screenshots to help explain your problem.

Tex Installation (please complete the following information):

  • OS: macos 10.14.5
  • 'TeX distribution: MacTex (TexLive)
  • Version 2019

Additional context
tabularx and tabular all work as expected.

Thank you.

@dsavransky dsavransky changed the title structPDF causes errors with \hline in longtable strucPDF causes errors with \hline in longtable Jul 15, 2019
@AndyClifton AndyClifton transferred this issue from another repository Sep 8, 2019
@AndyClifton AndyClifton added the strucPDF transferred from old `strucPDF`package. Needs to be checked against accessibility label Oct 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
strucPDF transferred from old `strucPDF`package. Needs to be checked against accessibility
Projects
None yet
Development

No branches or pull requests

2 participants