-
Notifications
You must be signed in to change notification settings - Fork 0
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
Inline TOC raises warnings #11
Comments
I need some help here on whether it is at all possible to insert in a paragraph a PDF tagging TOC structure. ping @u-fischer if you get this and have time. |
The PDF-paragraph (the So a list inside a paragraph
is tagged like this:
Basically you should do something similar and interrupt the P/text tag. The coding is not necessarly trivial if the inner structure (e.g. the list) contains It is not very beautiful, but not illegal to produce empty structures or mc-chunks. |
Thanks a lot @u-fischer! Based on your help I did a preliminary implementation for tagging inline TOCs. It is certainly much too naive but works with the gh9 and gh11 test files which I checked on ngpdf.com. The tree looks ok there. In the HTML conversion I noticed that text chunks from the input originating in the user custom TOC line styles disappear, which is expected as I tried to mark them as artifacts. Also disappearing from the HTML conversion is some text from user custom A probably very bad point is that I use As per the #9 which was fixed earlier, I realized the issue originated from the fact that after borrowing from kernel the before and after edit1: when the TOC contents got started in vertical mode... edit2: and if the "after hook" was executed while still in paragraph mode, rather. Then a |
First warning is
The text was updated successfully, but these errors were encountered: