Skip to content

warning mentions Em/pdf2 even though pdfversion is set at 1.7  #93

@jfbu

Description

@jfbu

Artificial document (deliberately attempting illegal nesting)

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

\begin{document}

\emph{hallo!\ShowTagging{struct-stack}}

\ExplSyntaxOn
\__tag_toc_starttoc_init:n{toc}
\__tag_toc_contentsline_begin:nnn{section}{dummy}{dummydest}
\ShowTagging{struct-stack}\emph{dummy section}\par
\__tag_toc_contentsline_end:n{section}{dummy}{dummydest}
\__tag_toc_starttoc_finalize:
\ExplSyntaxOff
\end{document}

generates on first pdflatex run:

Package tagpdf Warning: Parent-Child 'TOCI/' --> 'Em/pdf2'.
(tagpdf)                Relation is not allowed (struct 5, /TOCI --> struct 6)
(tagpdf)                on line 16

but the pdfversion is 1.7. Does this mean that Em/pdf2 is used internally (I see also /Em in the pdf if using 2.0 so not saying at all here perhaps mark-up not pdf 1.7 one, clearly that can't be the case), or is this artifact (sic) from warning process?

I have not yet assimilated docs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions