latex3 / tagging-project

Issues related to the tagging project
https://latex3.github.io/tagging-project/
LaTeX Project Public License v1.3c
41 stars 15 forks source link

abstract box placed near root tag instead of after \date #746

Closed baskar-67 closed 3 weeks ago

baskar-67 commented 1 month ago

Dear Sir, sample.txt Our template stores the abstract content in a box and displays it in \maketitle below the date command. However, when I include the tagpdf package, the abstract moves near the root tag instead of below the date command. I have attached a small sample. Additionally, the tagpdf error shows the following: ! Package tagpdf Error: The number of automatic begin (3) and end (2) (tagpdf) text-unit para hooks differ! For immediate help type H . ...
l.47 \end{document} ?

! Package tagpdf Error: The number of automatic begin (6) and end (5) text (tagpdf) para hooks differ!

For immediate help type H . ...

l.47 \end{document}

Thanks and regards Baskaran NK

u-fischer commented 1 month ago

Dear Sir,

I'm not a sir, I'm a woman.

Beside this: yes moving boxes is not trivial with tagging. I would suggest to avoid it and to store only the content:

\gdef\@abstext{}
\RenewDocumentEnvironment{abstract}{+b}
 {\gdef\@abstext{\begin{minipage}{0.5\textwidth}#1\end{minipage}}}{}
baskar-67 commented 1 month ago

Dear Madam, Yes, It is working fine. Thank you for your support Thanks and regards Baskaran NK

baskar-67 commented 3 weeks ago

Dear Madam, Our template automates table formatting based on its width, allowing us to place it in a single column, double column, rotate it to landscape, use side captions, or create long tables using boxes. In these scenarios, boxes are necessary. However, when we apply tagpdf, the text is directed to the root element. This is just one example, and there are many similar elements. Please provide a solution for applying box content in the same place within tagpdf. Thanks and regards Baskaran NK

u-fischer commented 3 weeks ago

I'm closing this question as complete. Please open a new issue with a complete example for your table question. Moving boxes containing tagging structure is as I wrote non-trivial, there isn't yet a general answer how to handle them.

baskar-67 commented 3 weeks ago

Thank you Madam

car222222 commented 2 weeks ago

😀