[latex3-commits] [latex3/tagpdf] faster-ref: add testfiles for ref key (dfaad70)

github at latex-project.org github at latex-project.org
Wed Sep 11 19:32:51 CEST 2024


Repository : https://github.com/latex3/tagpdf
On branch  : faster-ref
Link       : https://github.com/latex3/tagpdf/commit/dfaad702220b8d5db1af4bed5acac80ad364bb36

>---------------------------------------------------------------

commit dfaad702220b8d5db1af4bed5acac80ad364bb36
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Wed Sep 11 19:32:51 2024 +0200

    add testfiles for ref key


>---------------------------------------------------------------

dfaad702220b8d5db1af4bed5acac80ad364bb36
 testfiles-pdftex/test-ref2-pdf.pvt |  54 +++
 testfiles-pdftex/test-ref2-pdf.tpf | 739 +++++++++++++++++++++++++++++++++++++
 testfiles-pdftex/test-ref2.lvt     |  54 +++
 testfiles-pdftex/test-ref2.tlg     | 299 +++++++++++++++
 4 files changed, 1146 insertions(+)

diff --git a/testfiles-pdftex/test-ref2-pdf.pvt b/testfiles-pdftex/test-ref2-pdf.pvt
new file mode 100644
index 0000000..02d17d4
--- /dev/null
+++ b/testfiles-pdftex/test-ref2-pdf.pvt
@@ -0,0 +1,54 @@
+\ExplSyntaxOn
+\sys_gset_rand_seed:n{1000}
+\ExplSyntaxOff
+
+\DocumentMetadata{%
+	%pdfstandard=A-4f,
+	pdfversion=2.0,
+	lang=en,
+	testphase={phase-III},
+}
+\input{regression-test}
+\RequirePackage{tagpdf-debug}
+\documentclass{article}
+\begin{document}
+\START
+\pagestyle{empty}
+\tagstructbegin{tag=Section,label=sec1}
+  \tagmcbegin{}
+   A structure
+  \tagmcend
+\tagstructend
+
+\tagstructbegin{tag=Section}
+\MakeLinkTarget*{sec2dest}
+  \tagmcbegin{}
+   A structure
+  \tagmcend
+\tagstructend
+
+\tagstructbegin{tag=Section,label=sec3}
+  \tagmcbegin{}
+   A structure
+  \tagmcend
+\tagstructend
+
+\tagstructbegin{tag=P,ref={unknown,sec1}}
+  \tagmcbegin{}
+   A structure
+  \tagmcend
+\tagstructend
+
+\tagstructbegin{tag=P}
+\ExplSyntaxOn
+\tag_struct_gput:nnn {\tag_get:n{struct_num}}{ref_label}{sec1}
+\tag_struct_gput:nnn {\tag_get:n{struct_num}}{ref_dest}{sec2dest}
+\tag_struct_gput:nnn {\tag_get:n{struct_num}}{ref_num}{\RefProperty{tagpdfstruct-sec3}{tagstruct}}
+\ExplSyntaxOff
+  \tagmcbegin{tag=P}
+   The last one
+  \tagmcend
+\tagstructend
+
+\ShowTagging{debug/structures}
+\end{document} 
\ No newline at end of file
diff --git a/testfiles-pdftex/test-ref2-pdf.tpf b/testfiles-pdftex/test-ref2-pdf.tpf
new file mode 100644
index 0000000..26b6cb7
--- /dev/null
+++ b/testfiles-pdftex/test-ref2-pdf.tpf
@@ -0,0 +1,739 @@
+%PDF-2.0
+%����
+40 0 obj
+<<
+/Type /Metadata /Subtype /XML
+/Length 11693     
+>>
+stream
+<?xpacket begin="" id="W5M0MpCehiHzreSzNTczkc9d"?>
+<x:xmpmeta xmlns:x="adobe:ns:meta/">
+ <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
+  <rdf:Description rdf:about=""
+    xmlns:pdf="http://ns.adobe.com/pdf/1.3/"
+    xmlns:xmpRights="http://ns.adobe.com/xap/1.0/rights/"
+    xmlns:dc="http://purl.org/dc/elements/1.1/"
+    xmlns:photoshop="http://ns.adobe.com/photoshop/1.0/"
+    xmlns:xmp="http://ns.adobe.com/xap/1.0/"
+    xmlns:xmpMM="http://ns.adobe.com/xap/1.0/mm/"
+    xmlns:stEvt="http://ns.adobe.com/xap/1.0/sType/ResourceEvent#"
+    xmlns:pdfaid="http://www.aiim.org/pdfa/ns/id/"
+    xmlns:pdfuaid="http://www.aiim.org/pdfua/ns/id/"
+    xmlns:pdfx="http://ns.adobe.com/pdfx/1.3/"
+    xmlns:pdfxid="http://www.npes.org/pdfx/ns/id/"
+    xmlns:prism="http://prismstandard.org/namespaces/basic/3.0/"
+    xmlns:stFnt="http://ns.adobe.com/xap/1.0/sType/Font#"
+    xmlns:Iptc4xmpCore="http://iptc.org/std/Iptc4xmpCore/1.0/xmlns/"
+    xmlns:pdfaExtension="http://www.aiim.org/pdfa/ns/extension/"
+    xmlns:pdfaSchema="http://www.aiim.org/pdfa/ns/schema#"
+    xmlns:pdfaProperty="http://www.aiim.org/pdfa/ns/property#"
+    xmlns:pdfaType="http://www.aiim.org/pdfa/ns/type#"
+    xmlns:pdfaField="http://www.aiim.org/pdfa/ns/field#">
+   <pdfaExtension:schemas>
+    <rdf:Bag>
+     <rdf:li rdf:parseType="Resource">
+      <pdfaSchema:schema>XMP Media Management Schema</pdfaSchema:schema>
+      <pdfaSchema:prefix>xmpMM</pdfaSchema:prefix>
+      <pdfaSchema:namespaceURI>http://ns.adobe.com/xap/1.0/mm/</pdfaSchema:namespaceURI>
+      <pdfaSchema:property>
+       <rdf:Seq>
+        <rdf:li rdf:parseType="Resource">
+         <pdfaProperty:name>OriginalDocumentID</pdfaProperty:name>
+         <pdfaProperty:valueType>URI</pdfaProperty:valueType>
+         <pdfaProperty:category>internal</pdfaProperty:category>
+         <pdfaProperty:description>The common identifier for all versions and renditions of a document.</pdfaProperty:description>
+        </rdf:li>
+       </rdf:Seq>
+      </pdfaSchema:property>
+     </rdf:li>
+     <rdf:li rdf:parseType="Resource">
+      <pdfaSchema:schema>PDF/A Identification Schema</pdfaSchema:schema>
+      <pdfaSchema:prefix>pdfaid</pdfaSchema:prefix>
+      <pdfaSchema:namespaceURI>http://www.aiim.org/pdfa/ns/id/</pdfaSchema:namespaceURI>
+      <pdfaSchema:property>
+       <rdf:Seq>
+        <rdf:li rdf:parseType="Resource">
+         <pdfaProperty:name>year</pdfaProperty:name>
+         <pdfaProperty:valueType>Integer</pdfaProperty:valueType>
+         <pdfaProperty:category>internal</pdfaProperty:category>
+         <pdfaProperty:description>Year of standard</pdfaProperty:description>
+        </rdf:li>
+        <rdf:li rdf:parseType="Resource">
+         <pdfaProperty:name>rev</pdfaProperty:name>
+         <pdfaProperty:valueType>Integer</pdfaProperty:valueType>
+         <pdfaProperty:category>internal</pdfaProperty:category>
+         <pdfaProperty:description>Revision year of standard</pdfaProperty:description>
+        </rdf:li>
+       </rdf:Seq>
+      </pdfaSchema:property>
+     </rdf:li>
+     <rdf:li rdf:parseType="Resource">
+      <pdfaSchema:schema>PDF/UA Universal Accessibility Schema</pdfaSchema:schema>
+      <pdfaSchema:prefix>pdfuaid</pdfaSchema:prefix>
+      <pdfaSchema:namespaceURI>http://www.aiim.org/pdfua/ns/id/</pdfaSchema:namespaceURI>
+      <pdfaSchema:property>
+       <rdf:Seq>
+        <rdf:li rdf:parseType="Resource">
+         <pdfaProperty:name>part</pdfaProperty:name>
+         <pdfaProperty:valueType>Integer</pdfaProperty:valueType>
+         <pdfaProperty:category>internal</pdfaProperty:category>
+         <pdfaProperty:description>Part of ISO 14289 standard</pdfaProperty:description>
+        </rdf:li>
+        <rdf:li rdf:parseType="Resource">
+         <pdfaProperty:name>rev</pdfaProperty:name>
+         <pdfaProperty:valueType>Integer</pdfaProperty:valueType>
+         <pdfaProperty:category>internal</pdfaProperty:category>
+         <pdfaProperty:description>Revision of ISO 14289 standard</pdfaProperty:description>
+        </rdf:li>
+       </rdf:Seq>
+      </pdfaSchema:property>
+     </rdf:li>
+     <rdf:li rdf:parseType="Resource">
+      <pdfaSchema:schema>PDF/X ID Schema</pdfaSchema:schema>
+      <pdfaSchema:prefix>pdfxid</pdfaSchema:prefix>
+      <pdfaSchema:namespaceURI>http://www.npes.org/pdfx/ns/id/</pdfaSchema:namespaceURI>
+      <pdfaSchema:property>
+       <rdf:Seq>
+        <rdf:li rdf:parseType="Resource">
+         <pdfaProperty:name>GTS_PDFXVersion</pdfaProperty:name>
+         <pdfaProperty:valueType>Text</pdfaProperty:valueType>
+         <pdfaProperty:category>internal</pdfaProperty:category>
+         <pdfaProperty:description>ID of PDF/X standard</pdfaProperty:description>
+        </rdf:li>
+       </rdf:Seq>
+      </pdfaSchema:property>
+     </rdf:li>
+     <rdf:li rdf:parseType="Resource">
+      <pdfaSchema:schema>PRISM Basic Metadata</pdfaSchema:schema>
+      <pdfaSchema:prefix>prism</pdfaSchema:prefix>
+      <pdfaSchema:namespaceURI>http://prismstandard.org/namespaces/basic/3.0/</pdfaSchema:namespaceURI>
+      <pdfaSchema:property>
+       <rdf:Seq>
+        <rdf:li rdf:parseType="Resource">
+         <pdfaProperty:name>complianceProfile</pdfaProperty:name>
+         <pdfaProperty:valueType>Text</pdfaProperty:valueType>
+         <pdfaProperty:category>internal</pdfaProperty:category>
+         <pdfaProperty:description>PRISM specification compliance profile to which this document adheres</pdfaProperty:description>
+        </rdf:li>
+        <rdf:li rdf:parseType="Resource">
+         <pdfaProperty:name>publicationName</pdfaProperty:name>
+         <pdfaProperty:valueType>Text</pdfaProperty:valueType>
+         <pdfaProperty:category>external</pdfaProperty:category>
+         <pdfaProperty:description>Publication name</pdfaProperty:description>
+        </rdf:li>
+        <rdf:li rdf:parseType="Resource">
+         <pdfaProperty:name>aggregationType</pdfaProperty:name>
+         <pdfaProperty:valueType>Text</pdfaProperty:valueType>
+         <pdfaProperty:category>external</pdfaProperty:category>
+         <pdfaProperty:description>Publication type</pdfaProperty:description>
+        </rdf:li>
+        <rdf:li rdf:parseType="Resource">
+         <pdfaProperty:name>bookEdition</pdfaProperty:name>
+         <pdfaProperty:valueType>Text</pdfaProperty:valueType>
+         <pdfaProperty:category>external</pdfaProperty:category>
+         <pdfaProperty:description>Edition of the book in which the document was published</pdfaProperty:description>
+        </rdf:li>
+        <rdf:li rdf:parseType="Resource">
+         <pdfaProperty:name>volume</pdfaProperty:name>
+         <pdfaProperty:valueType>Text</pdfaProperty:valueType>
+         <pdfaProperty:category>external</pdfaProperty:category>
+         <pdfaProperty:description>Publication volume number</pdfaProperty:description>
+        </rdf:li>
+        <rdf:li rdf:parseType="Resource">
+         <pdfaProperty:name>number</pdfaProperty:name>
+         <pdfaProperty:valueType>Text</pdfaProperty:valueType>
+         <pdfaProperty:category>external</pdfaProperty:category>
+         <pdfaProperty:description>Publication issue number within a volume</pdfaProperty:description>
+        </rdf:li>
+        <rdf:li rdf:parseType="Resource">
+         <pdfaProperty:name>pageRange</pdfaProperty:name>
+         <pdfaProperty:valueType>Text</pdfaProperty:valueType>
+         <pdfaProperty:category>external</pdfaProperty:category>
+         <pdfaProperty:description>Page range for the document within the print version of its publication</pdfaProperty:description>
+        </rdf:li>
+        <rdf:li rdf:parseType="Resource">
+         <pdfaProperty:name>issn</pdfaProperty:name>
+         <pdfaProperty:valueType>Text</pdfaProperty:valueType>
+         <pdfaProperty:category>external</pdfaProperty:category>
+         <pdfaProperty:description>ISSN for the printed publication in which the document was published</pdfaProperty:description>
+        </rdf:li>
+        <rdf:li rdf:parseType="Resource">
+         <pdfaProperty:name>eIssn</pdfaProperty:name>
+         <pdfaProperty:valueType>Text</pdfaProperty:valueType>
+         <pdfaProperty:category>external</pdfaProperty:category>
+         <pdfaProperty:description>ISSN for the electronic publication in which the document was published</pdfaProperty:description>
+        </rdf:li>
+        <rdf:li rdf:parseType="Resource">
+         <pdfaProperty:name>isbn</pdfaProperty:name>
+         <pdfaProperty:valueType>Text</pdfaProperty:valueType>
+         <pdfaProperty:category>external</pdfaProperty:category>
+         <pdfaProperty:description>ISBN for the publication in which the document was published</pdfaProperty:description>
+        </rdf:li>
+        <rdf:li rdf:parseType="Resource">
+         <pdfaProperty:name>doi</pdfaProperty:name>
+         <pdfaProperty:valueType>Text</pdfaProperty:valueType>
+         <pdfaProperty:category>external</pdfaProperty:category>
+         <pdfaProperty:description>Digital Object Identifier for the document</pdfaProperty:description>
+        </rdf:li>
+        <rdf:li rdf:parseType="Resource">
+         <pdfaProperty:name>url</pdfaProperty:name>
+         <pdfaProperty:valueType>URL</pdfaProperty:valueType>
+         <pdfaProperty:category>external</pdfaProperty:category>
+         <pdfaProperty:description>URL at which the document can be found</pdfaProperty:description>
+        </rdf:li>
+        <rdf:li rdf:parseType="Resource">
+         <pdfaProperty:name>byteCount</pdfaProperty:name>
+         <pdfaProperty:valueType>Integer</pdfaProperty:valueType>
+         <pdfaProperty:category>internal</pdfaProperty:category>
+         <pdfaProperty:description>Approximate file size in octets</pdfaProperty:description>
+        </rdf:li>
+        <rdf:li rdf:parseType="Resource">
+         <pdfaProperty:name>pageCount</pdfaProperty:name>
+         <pdfaProperty:valueType>Integer</pdfaProperty:valueType>
+         <pdfaProperty:category>internal</pdfaProperty:category>
+         <pdfaProperty:description>Number of pages in the print version of the document</pdfaProperty:description>
+        </rdf:li>
+        <rdf:li rdf:parseType="Resource">
+         <pdfaProperty:name>subtitle</pdfaProperty:name>
+         <pdfaProperty:valueType>Text</pdfaProperty:valueType>
+         <pdfaProperty:category>external</pdfaProperty:category>
+         <pdfaProperty:description>Document's subtitle</pdfaProperty:description>
+        </rdf:li>
+       </rdf:Seq>
+      </pdfaSchema:property>
+     </rdf:li>
+    </rdf:Bag>
+   </pdfaExtension:schemas>
+   <pdf:Producer>pdftex-NN.NN.NN</pdf:Producer>
+   <pdf:PDFVersion>2.0</pdf:PDFVersion>
+   <dc:type>
+    <rdf:Bag>
+     <rdf:li>Text</rdf:li>
+    </rdf:Bag>
+   </dc:type>
+   <dc:language>
+    <rdf:Bag>
+     <rdf:li>en</rdf:li>
+    </rdf:Bag>
+   </dc:language>
+   <dc:date>
+    <rdf:Seq>
+     <rdf:li>2016-05-20T09:00:00Z</rdf:li>
+    </rdf:Seq>
+   </dc:date>
+   <dc:format>application/pdf</dc:format>
+   <dc:source>test-ref2-pdf.tex</dc:source>
+   <xmp:CreatorTool>LaTeX</xmp:CreatorTool>
+   <xmp:CreateDate>2016-05-20T09:00:00Z</xmp:CreateDate>
+   <xmp:ModifyDate>2016-05-20T09:00:00Z</xmp:ModifyDate>
+   <xmp:MetadataDate>2016-05-20T09:00:00Z</xmp:MetadataDate>
+   <xmpMM:DocumentID>uuid:27f49e9f-adcd-4eac-8817-39c7e06bd5bd</xmpMM:DocumentID>
+   <xmpMM:InstanceID>uuid:0a57c455-157a-4141-8c19-6237d832fc80</xmpMM:InstanceID>
+   <prism:complianceProfile>three</prism:complianceProfile>
+   <prism:pageCount>1</prism:pageCount>
+  </rdf:Description>
+ </rdf:RDF>
+</x:xmpmeta>
+<?xpacket end="w"?>
+endstream
+endobj
+42 0 obj
+<<
+/Length 917       
+>>
+stream
+/opacity1 gs
+/Artifact BMC
+EMC
+/Section <</MCID 0 >> BDC
+/text <</MCID 1 >> BDC
+BT
+/F28 9.9626 Tf 148.712 657.235 Td [(A)]TJ/F39 9.9626 Tf( )Tj/F28 9.9626 Tf 10.793 0 Td [(structure)]TJ
+ET
+EMC
+EMC
+/Section <</MCID 2 >> BDC
+/text <</MCID 3 >> BDC
+BT
+/F28 9.9626 Tf 148.712 645.28 Td [(A)]TJ/F39 9.9626 Tf( )Tj/F28 9.9626 Tf 10.793 0 Td [(structure)]TJ
+ET
+EMC
+EMC
+/Section <</MCID 4 >> BDC
+/text <</MCID 5 >> BDC
+BT
+/F28 9.9626 Tf 148.712 633.325 Td [(A)]TJ/F39 9.9626 Tf( )Tj/F28 9.9626 Tf 10.793 0 Td [(structure)]TJ
+ET
+EMC
+EMC
+/P <</MCID 6 >> BDC
+/text <</MCID 7 >> BDC
+BT
+/F28 9.9626 Tf 148.712 621.37 Td [(A)]TJ/F39 9.9626 Tf( )Tj/F28 9.9626 Tf 10.793 0 Td [(structure)]TJ
+ET
+EMC
+EMC
+/P <</MCID 8 >> BDC
+/text <</MCID 9 >> BDC
+BT
+/F28 9.9626 Tf 148.712 609.415 Td [(The)]TJ/F39 9.9626 Tf( )Tj/F28 9.9626 Tf 20.479 0 Td [(last)]TJ/F39 9.9626 Tf( )Tj/F28 9.9626 Tf 18.874 0 Td [(one)]TJ
+ET
+EMC
+EMC
+/Artifact BMC
+EMC
+endstream
+endobj
+25 0 obj
+<<
+/Type /Page
+/Contents 42 0 R
+/Resources 41 0 R
+/MediaBox [0 0 612 792]
+/Tabs /S /StructParents 0 
+/Parent 45 0 R
+>>
+endobj
+41 0 obj
+<<
+/ExtGState 1 0 R 
+/Font << /F28 43 0 R /F39 44 0 R >>
+>>
+endobj
+1 0 obj
+<< /opacity1 <</ca 1/CA 1>>  >>
+endobj
+46 0 obj
+<< /Marked true  >>
+endobj
+6 0 obj
+<< /Nums [0 [ 24 0 R 27 0 R 28 0 R 30 0 R 31 0 R 33 0 R 34 0 R 36 0 R 37 0 R 39 0 R ]
+] >>
+endobj
+47 0 obj
+<< /Limits [(ID.002) (ID.019)]/Names [(ID.002) 21 0 R (ID.003) 22 0 R (ID.004) 23 0 R (ID.005) 24 0 R (ID.006) 26 0 R (ID.007) 27 0 R (ID.008) 28 0 R (ID.009) 29 0 R (ID.010) 30 0 R (ID.011) 31 0 R (ID.012) 32 0 R (ID.013) 33 0 R (ID.014) 34 0 R (ID.015) 35 0 R (ID.016) 36 0 R (ID.017) 37 0 R (ID.018) 38 0 R (ID.019) 39 0 R ] >>
+endobj
+48 0 obj
+<< /Kids [47 0 R] >>
+endobj
+7 0 obj
+<< /Artifact /NonStruct /DocumentFragment /Art /Aside /Note /H7 /H6 /H8 /H6 /H9 /H6 /H10 /H6 /Title /P /FENote /Note /Sub /Span /Em /Span /Strong /Span /title /P /part /P /section /H1 /subsection /H2 /subsubsection /H3 /paragraph /H4 /subparagraph /H5 /list /L /itemize /L /enumerate /L /description /L /quote /BlockQuote /quotation /BlockQuote /verbatim /P /item /LI /itemlabel /Lbl /itembody /LBody /footnote /Note /footnotemark /Lbl /footnotelabel /Lbl /text-unit /Part /text /P /theorem-like /Sect /codeline /Span /float /Note /figures /Sect /tables /Sect  >>
+endobj
+49 0 obj
+<< /justify <</O/Layout/TextAlign/Justify>>
+ >>
+endobj
+9 0 obj
+<< /Type /Namespace /NS (http://iso.org/pdf/ssn)  >>
+endobj
+11 0 obj
+<< /Type /Namespace /NS (http://iso.org/pdf2/ssn)  >>
+endobj
+13 0 obj
+<< /Type /Namespace /NS (http://www.w3.org/1998/Math/MathML)  >>
+endobj
+16 0 obj
+<< /title [/Title 11 0 R] /part [/Title 11 0 R] /section [/H1 11 0 R] /subsection [/H2 11 0 R] /subsubsection [/H3 11 0 R] /paragraph [/H4 11 0 R] /subparagraph [/H5 11 0 R] /list [/L 11 0 R] /itemize [/L 11 0 R] /enumerate [/L 11 0 R] /description [/L 11 0 R] /quote [/BlockQuote 9 0 R] /quotation [/BlockQuote 9 0 R] /verbatim [/P 11 0 R] /item [/LI 11 0 R] /itemlabel [/Lbl 11 0 R] /itembody [/LBody 11 0 R] /footnote [/FENote 11 0 R] /footnotemark [/Lbl 11 0 R] /footnotelabel [/Lbl 11 0 R] /text-unit [/Part 11 0 R] /text [/P 11 0 R] /theorem-like [/Sect 11 0 R] /codeline [/Sub 11 0 R] /float [/Aside 11 0 R] /figures [/Sect 11 0 R] /tables [/Sect 11 0 R]  >>
+endobj
+15 0 obj
+<< /Type /Namespace /NS (https://www.latex-project.org/ns/dflt/2022) /RoleMapNS 16 0 R  >>
+endobj
+18 0 obj
+<< /chapter [/H1 11 0 R] /section [/H2 11 0 R] /subsection [/H3 11 0 R] /subsubsection [/H4 11 0 R] /paragraph [/H5 11 0 R] /subparagraph [/H6 11 0 R]  >>
+endobj
+17 0 obj
+<< /Type /Namespace /NS (https://www.latex-project.org/ns/book/2022) /RoleMapNS 18 0 R  >>
+endobj
+19 0 obj
+<< /Type /Namespace /NS (data:,A63761E-9D7-4FBB-9B27-C3BC8D9BFB06)  >>
+endobj
+8 0 obj
+[ 9 0 R 11 0 R 13 0 R 15 0 R 17 0 R 19 0 R  ]
+endobj
+21 0 obj
+<<  /Type /StructElem /S /Document /NS 11 0 R  /P 5 0 R /K [24 0 R 28 0 R 31 0 R 34 0 R 37 0 R] /ID (ID.002) >>
+endobj
+22 0 obj
+<<  /Type /StructElem /S /Artifact /NS 15 0 R  /P 5 0 R /ID (ID.003) >>
+endobj
+23 0 obj
+<<  /Type /StructElem /S /Artifact /NS 15 0 R  /P 5 0 R /ID (ID.004) >>
+endobj
+24 0 obj
+<<  /Type /StructElem /S /Section /P 21 0 R /K [<</Type /MCR /Pg 25 0 R/MCID 0>> 26 0 R] /ID (ID.005) >>
+endobj
+26 0 obj
+<<  /Type /StructElem /S /text-unit /NS 15 0 R  /P 24 0 R /K 27 0 R /ID (ID.006) >>
+endobj
+27 0 obj
+<<  /Type /StructElem /C /justify /S /text /NS 15 0 R  /P 26 0 R /K <</Type /MCR /Pg 25 0 R/MCID 1>> /ID (ID.007) >>
+endobj
+28 0 obj
+<<  /Type /StructElem /S /Section /P 21 0 R /K [<</Type /MCR /Pg 25 0 R/MCID 2>> 29 0 R] /ID (ID.008) >>
+endobj
+29 0 obj
+<<  /Type /StructElem /S /text-unit /NS 15 0 R  /P 28 0 R /K 30 0 R /ID (ID.009) >>
+endobj
+30 0 obj
+<<  /Type /StructElem /C /justify /S /text /NS 15 0 R  /P 29 0 R /K <</Type /MCR /Pg 25 0 R/MCID 3>> /ID (ID.010) >>
+endobj
+31 0 obj
+<<  /Type /StructElem /S /Section /P 21 0 R /K [<</Type /MCR /Pg 25 0 R/MCID 4>> 32 0 R] /ID (ID.011) >>
+endobj
+32 0 obj
+<<  /Type /StructElem /S /text-unit /NS 15 0 R  /P 31 0 R /K 33 0 R /ID (ID.012) >>
+endobj
+33 0 obj
+<<  /Type /StructElem /C /justify /S /text /NS 15 0 R  /P 32 0 R /K <</Type /MCR /Pg 25 0 R/MCID 5>> /ID (ID.013) >>
+endobj
+34 0 obj
+<<  /Type /StructElem /Ref [ 24 0 R ] /S /P /NS 11 0 R  /P 21 0 R /K [<</Type /MCR /Pg 25 0 R/MCID 6>> 35 0 R] /ID (ID.014) >>
+endobj
+35 0 obj
+<<  /Type /StructElem /S /text-unit /NS 15 0 R  /P 34 0 R /K 36 0 R /ID (ID.015) >>
+endobj
+36 0 obj
+<<  /Type /StructElem /C /justify /S /text /NS 15 0 R  /P 35 0 R /K <</Type /MCR /Pg 25 0 R/MCID 7>> /ID (ID.016) >>
+endobj
+37 0 obj
+<<  /Type /StructElem /S /P /NS 11 0 R  /P 21 0 R /Ref [ 24 0 R 28 0 R 31 0 R ] /K [<</Type /MCR /Pg 25 0 R/MCID 8>> 38 0 R] /ID (ID.017) >>
+endobj
+38 0 obj
+<<  /Type /StructElem /S /text-unit /NS 15 0 R  /P 37 0 R /K 39 0 R /ID (ID.018) >>
+endobj
+39 0 obj
+<<  /Type /StructElem /C /justify /S /text /NS 15 0 R  /P 38 0 R /K <</Type /MCR /Pg 25 0 R/MCID 9>> /ID (ID.019) >>
+endobj
+5 0 obj
+<<  /Type /StructTreeRoot /Namespaces 8 0 R /IDTree 48 0 R /ClassMap 49 0 R /ParentTree 6 0 R /RoleMap 7 0 R /K 21 0 R >>
+endobj
+50 0 obj
+[333]
+endobj
+51 0 obj
+[750 708.3 722.2 763.9 680.6 652.8 784.7 750 361.1 513.9 777.8 625 916.7 750 777.8 680.6 777.8 736.1 555.6 722.2 750 750 1027.8 750 750 611.1 277.8 500 277.8 500 277.8 277.8 500 555.6 444.4 555.6 444.4 305.6 500 555.6 277.8 305.6 527.8 277.8 833.3 555.6 500 555.6 527.8 391.7 394.4 388.9 555.6]
+endobj
+52 0 obj
+<<
+/Length1 1540
+/Length2 10153
+/Length3 0
+/Length 11693     
+>>
+[BINARY STREAM]
+endobj
+53 0 obj
+<<
+/Type /FontDescriptor
+/FontName /TTITYR+CMR10
+/Flags 4
+/FontBBox [-40 -250 1009 750]
+/Ascent 694
+/CapHeight 683
+/Descent -194
+/ItalicAngle 0
+/StemV 69
+/XHeight 431
+/CharSet (/A/T/a/c/e/h/l/n/o/r/s/t/u)
+/FontFile 52 0 R
+>>
+endobj
+54 0 obj
+<<
+/Length1 1144
+/Length2 1422
+/Length3 0
+/Length 2566      
+>>
+[BINARY STREAM]
+endobj
+55 0 obj
+<<
+/Type /FontDescriptor
+/FontName /MUQHVU+PdfTeX-Space
+/Flags 4
+/FontBBox [0 -290 333 1127]
+/Ascent 0
+/CapHeight 0
+/Descent 0
+/ItalicAngle 0
+/StemV 0
+/XHeight 500
+/CharSet (/space)
+/FontFile 54 0 R
+>>
+endobj
+56 0 obj
+<<
+/Length 1724      
+>>
+stream
+%!PS-Adobe-3.0 Resource-CMap
+%%DocumentNeededResources: ProcSet (CIDInit)
+%%IncludeResource: ProcSet (CIDInit)
+%%BeginResource: CMap (TeX-cmr10-builtin-0)
+%%Title: (TeX-cmr10-builtin-0 TeX cmr10-builtin 0)
+%%Version: 1.000
+%%EndComments
+/CIDInit /ProcSet findresource begin
+12 dict begin
+begincmap
+/CIDSystemInfo
+<< /Registry (TeX)
+/Ordering (cmr10-builtin)
+/Supplement 0
+>> def
+/CMapName /TeX-cmr10-builtin-0 def
+/CMapType 2 def
+1 begincodespacerange
+<00> <FF>
+endcodespacerange
+7 beginbfrange
+<07> <08> <03A5>
+<23> <26> <0023>
+<28> <3B> <0028>
+<3F> <5B> <003F>
+<61> <7A> <0061>
+<7B> <7C> <2013>
+<A8> <A9> <03A5>
+endbfrange
+78 beginbfchar
+<00> <0393>
+<01> <2206>
+<02> <0398>
+<03> <039B>
+<04> <039E>
+<05> <03A0>
+<06> <03A3>
+<09> <03A8>
+<0A> <2126>
+<0B> <00660066>
+<0C> <00660069>
+<0D> <0066006C>
+<0E> <006600660069>
+<0F> <00660066006C>
+<10> <0131>
+<11> <0237>
+<12> <0060>
+<13> <00B4>
+<14> <02C7>
+<15> <02D8>
+<16> <00AF>
+<17> <02DA>
+<18> <00B8>
+<19> <00DF>
+<1A> <00E6>
+<1B> <0153>
+<1C> <00F8>
+<1D> <00C6>
+<1E> <0152>
+<1F> <00D8>
+<21> <0021>
+<22> <201D>
+<27> <2019>
+<3C> <00A1>
+<3D> <003D>
+<3E> <00BF>
+<5C> <201C>
+<5D> <005D>
+<5E> <02C6>
+<5F> <02D9>
+<60> <2018>
+<7D> <02DD>
+<7E> <02DC>
+<7F> <00A8>
+<A0> <0020>
+<A1> <0393>
+<A2> <2206>
+<A3> <0398>
+<A4> <039B>
+<A5> <039E>
+<A6> <03A0>
+<A7> <03A3>
+<AA> <03A8>
+<AB> <00AD>
+<AC> <00A0>
+<AD> <2126>
+<AE> <00660066>
+<AF> <00660069>
+<B0> <0066006C>
+<B1> <006600660069>
+<B2> <00660066006C>
+<B3> <0131>
+<B4> <0237>
+<B5> <0060>
+<B6> <00B4>
+<B7> <02C7>
+<B8> <02D8>
+<B9> <00AF>
+<BA> <02DA>
+<BB> <00B8>
+<BC> <00DF>
+<BD> <00E6>
+<BE> <0153>
+<BF> <00F8>
+<C0> <00C6>
+<C1> <0152>
+<C2> <00D8>
+<C4> <00A8>
+endbfchar
+endcmap
+CMapName currentdict /CMap defineresource pop
+end
+end
+%%EndResource
+%%EOF
+endstream
+endobj
+43 0 obj
+<<
+/Type /Font
+/Subtype /Type1
+/BaseFont /TTITYR+CMR10
+/FontDescriptor 53 0 R
+/FirstChar 65
+/LastChar 117
+/Widths 51 0 R
+/ToUnicode 56 0 R
+>>
+endobj
+57 0 obj
+<<
+/Length 654       
+>>
+stream
+%!PS-Adobe-3.0 Resource-CMap
+%%DocumentNeededResources: ProcSet (CIDInit)
+%%IncludeResource: ProcSet (CIDInit)
+%%BeginResource: CMap (TeX-pdftexspace-builtin-0)
+%%Title: (TeX-pdftexspace-builtin-0 TeX pdftexspace-builtin 0)
+%%Version: 1.000
+%%EndComments
+/CIDInit /ProcSet findresource begin
+12 dict begin
+begincmap
+/CIDSystemInfo
+<< /Registry (TeX)
+/Ordering (pdftexspace-builtin)
+/Supplement 0
+>> def
+/CMapName /TeX-pdftexspace-builtin-0 def
+/CMapType 2 def
+1 begincodespacerange
+<00> <FF>
+endcodespacerange
+0 beginbfrange
+endbfrange
+1 beginbfchar
+<20> <0020>
+endbfchar
+endcmap
+CMapName currentdict /CMap defineresource pop
+end
+end
+%%EndResource
+%%EOF
+endstream
+endobj
+44 0 obj
+<<
+/Type /Font
+/Subtype /Type1
+/BaseFont /MUQHVU+PdfTeX-Space
+/FontDescriptor 55 0 R
+/FirstChar 32
+/LastChar 32
+/Widths 50 0 R
+/ToUnicode 57 0 R
+>>
+endobj
+45 0 obj
+<<
+/Type /Pages
+/Count 1
+/Kids [25 0 R]
+>>
+endobj
+58 0 obj
+<<
+/Type /Catalog
+/Pages 45 0 R
+/MarkInfo 46 0 R/Lang (en)/Metadata 40 0 R/StructTreeRoot 5 0 R
+>>
+endobj
+59 0 obj
+<<
+/Producer (pdfTeX)/Creator (TeX)/CreationDate (D:20160520090000Z)/ModDate (D:20160520090000Z)
+/Trapped /False
+>>
+endobj
+xref
+0 60
+0000000002 65535 f 
+0000012984 00000 n 
+0000000003 00000 f 
+0000000004 00000 f 
+0000000010 00000 f 
+0000017766 00000 n 
+0000013067 00000 n 
+0000013557 00000 n 
+0000015573 00000 n 
+0000014200 00000 n 
+0000000012 00000 f 
+0000014268 00000 n 
+0000000014 00000 f 
+0000014338 00000 n 
+0000000020 00000 f 
+0000015101 00000 n 
+0000014419 00000 n 
+0000015379 00000 n 
+0000015208 00000 n 
+0000015486 00000 n 
+0000000000 00000 f 
+0000015634 00000 n 
+0000015762 00000 n 
+0000015850 00000 n 
+0000015938 00000 n 
+0000012773 00000 n 
+0000016059 00000 n 
+0000016159 00000 n 
+0000016292 00000 n 
+0000016413 00000 n 
+0000016513 00000 n 
+0000016646 00000 n 
+0000016767 00000 n 
+0000016867 00000 n 
+0000017000 00000 n 
+0000017143 00000 n 
+0000017243 00000 n 
+0000017376 00000 n 
+0000017533 00000 n 
+0000017633 00000 n 
+0000000015 00000 n 
+0000012908 00000 n 
+0000011797 00000 n 
+0000034934 00000 n 
+0000035805 00000 n 
+0000035969 00000 n 
+0000013031 00000 n 
+0000013173 00000 n 
+0000013520 00000 n 
+0000014136 00000 n 
+0000017903 00000 n 
+0000017925 00000 n 
+0000018236 00000 n 
+0000030028 00000 n 
+0000030269 00000 n 
+0000032933 00000 n 
+0000033151 00000 n 
+0000035092 00000 n 
+0000036028 00000 n 
+0000036143 00000 n 
+trailer
+<< /Size 60
+/Root 58 0 R
+/Info 59 0 R
+/ID [<9BD18DF3359C1216B83ADB4AA401CC9A> <9BD18DF3359C1216B83ADB4AA401CC9A>] >>
+startxref
+36275
+%%EOF
diff --git a/testfiles-pdftex/test-ref2.lvt b/testfiles-pdftex/test-ref2.lvt
new file mode 100644
index 0000000..02d17d4
--- /dev/null
+++ b/testfiles-pdftex/test-ref2.lvt
@@ -0,0 +1,54 @@
+\ExplSyntaxOn
+\sys_gset_rand_seed:n{1000}
+\ExplSyntaxOff
+
+\DocumentMetadata{%
+	%pdfstandard=A-4f,
+	pdfversion=2.0,
+	lang=en,
+	testphase={phase-III},
+}
+\input{regression-test}
+\RequirePackage{tagpdf-debug}
+\documentclass{article}
+\begin{document}
+\START
+\pagestyle{empty}
+\tagstructbegin{tag=Section,label=sec1}
+  \tagmcbegin{}
+   A structure
+  \tagmcend
+\tagstructend
+
+\tagstructbegin{tag=Section}
+\MakeLinkTarget*{sec2dest}
+  \tagmcbegin{}
+   A structure
+  \tagmcend
+\tagstructend
+
+\tagstructbegin{tag=Section,label=sec3}
+  \tagmcbegin{}
+   A structure
+  \tagmcend
+\tagstructend
+
+\tagstructbegin{tag=P,ref={unknown,sec1}}
+  \tagmcbegin{}
+   A structure
+  \tagmcend
+\tagstructend
+
+\tagstructbegin{tag=P}
+\ExplSyntaxOn
+\tag_struct_gput:nnn {\tag_get:n{struct_num}}{ref_label}{sec1}
+\tag_struct_gput:nnn {\tag_get:n{struct_num}}{ref_dest}{sec2dest}
+\tag_struct_gput:nnn {\tag_get:n{struct_num}}{ref_num}{\RefProperty{tagpdfstruct-sec3}{tagstruct}}
+\ExplSyntaxOff
+  \tagmcbegin{tag=P}
+   The last one
+  \tagmcend
+\tagstructend
+
+\ShowTagging{debug/structures}
+\end{document} 
\ No newline at end of file
diff --git a/testfiles-pdftex/test-ref2.tlg b/testfiles-pdftex/test-ref2.tlg
new file mode 100644
index 0000000..b310cff
--- /dev/null
+++ b/testfiles-pdftex/test-ref2.tlg
@@ -0,0 +1,299 @@
+This is a generated file for the l3build validation system.
+Don't change this file in any respect.
+Package tagpdf Warning: tag Section is not known
+Package tagpdf Warning: Empty NS
+Package tagpdf Warning: Parent-Child 'Document' --> 'Section'.
+(tagpdf)                Relation is unknown! on line ...
+Package tagpdf Warning: tag Section is not known
+Package tagpdf Warning: Parent-Child 'Section' --> 'MC'.
+(tagpdf)                Relation is unknown! on line ...
+Package tagpdf Warning: Parent-Child 'Section' --> 'Part'.
+(tagpdf)                Relation is unknown! on line ...
+Package tagpdf Warning: Parent-Child 'Section' --> 'P'.
+(tagpdf)                Relation is unknown! on line ...
+Package tagpdf Warning: nested marked content found - mcid 1
+Package tagpdf Warning: there is no mc to end at 2
+Package tagpdf Warning: tag Section is not known
+Package tagpdf Warning: Empty NS
+Package tagpdf Warning: Parent-Child 'Document' --> 'Section'.
+(tagpdf)                Relation is unknown! on line ...
+Package tagpdf Warning: tag Section is not known
+Package tagpdf Warning: Parent-Child 'Section' --> 'MC'.
+(tagpdf)                Relation is unknown! on line ...
+Package tagpdf Warning: Parent-Child 'Section' --> 'Part'.
+(tagpdf)                Relation is unknown! on line ...
+Package tagpdf Warning: Parent-Child 'Section' --> 'P'.
+(tagpdf)                Relation is unknown! on line ...
+Package tagpdf Warning: nested marked content found - mcid 3
+Package tagpdf Warning: there is no mc to end at 4
+Package tagpdf Warning: tag Section is not known
+Package tagpdf Warning: Empty NS
+Package tagpdf Warning: Parent-Child 'Document' --> 'Section'.
+(tagpdf)                Relation is unknown! on line ...
+Package tagpdf Warning: tag Section is not known
+Package tagpdf Warning: Parent-Child 'Section' --> 'MC'.
+(tagpdf)                Relation is unknown! on line ...
+Package tagpdf Warning: Parent-Child 'Section' --> 'Part'.
+(tagpdf)                Relation is unknown! on line ...
+Package tagpdf Warning: Parent-Child 'Section' --> 'P'.
+(tagpdf)                Relation is unknown! on line ...
+Package tagpdf Warning: nested marked content found - mcid 5
+Package tagpdf Warning: there is no mc to end at 6
+Package tagpdf Warning: Parent-Child 'P/pdf2' --> 'text-unit/latex'.
+(tagpdf)                Relation is not allowed (struct 14, /P --> struct 15) on line ...
+Package tagpdf Warning: Parent-Child 'P/pdf2' --> 'text/latex'.
+(tagpdf)                Relation is not allowed (struct 15, /text-unit --> struct 16) on line ...
+Package tagpdf Warning: nested marked content found - mcid 7
+Package tagpdf Warning: there is no mc to end at 8
+Package tagpdf Warning: Parent-Child 'P/pdf2' --> 'text-unit/latex'.
+(tagpdf)                Relation is not allowed (struct 17, /P --> struct 18) on line ...
+Package tagpdf Warning: Parent-Child 'P/pdf2' --> 'text/latex'.
+(tagpdf)                Relation is not allowed (struct 18, /text-unit --> struct 19) on line ...
+Package tagpdf Warning: nested marked content found - mcid 9
+Package tagpdf Warning: there is no mc to end at 10
+=========================
+The structure 1 contains:
+>  Type  =>  /StructTreeRoot
+>  S  =>  /StructTreeRoot
+>  rolemap  =>  {StructTreeRoot}{pdf}
+>  parentrole  =>  {StructTreeRoot}{pdf}
+The structure has the following kids:
+>  Struct 2
+=========================
+=========================
+The structure 2 contains:
+>  Type  =>  /StructElem
+>  S  =>  /Document
+>  NS  =>  pdf2
+>  rolemap  =>  {Document}{pdf2}
+>  parentrole  =>  {Document}{pdf2}
+>  P  =>  parent structure: 1 = /StructTreeRoot
+The structure has the following kids:
+>  Struct 5
+>  Struct 8
+>  Struct 11
+>  Struct 14
+>  Struct 17
+=========================
+=========================
+The structure 3 contains:
+>  Type  =>  /StructElem
+>  S  =>  /figures
+>  NS  =>  latex
+>  rolemap  =>  {Sect}{pdf2}
+>  parentrole  =>  {Sect}{pdf2}
+>  P  =>  no parent: stashed
+The structure has the following kids:
+> NONE
+=========================
+=========================
+The structure 4 contains:
+>  Type  =>  /StructElem
+>  S  =>  /tables
+>  NS  =>  latex
+>  rolemap  =>  {Sect}{pdf2}
+>  parentrole  =>  {Sect}{pdf2}
+>  P  =>  no parent: stashed
+The structure has the following kids:
+> NONE
+=========================
+=========================
+The structure 5 contains:
+>  Type  =>  /StructElem
+>  S  =>  /Section
+>  rolemap  =>  {Section}{}
+>  parentrole  =>  {Section}{}
+>  P  =>  parent structure: 2 = /Document
+>  NS  =>  
+The structure has the following kids:
+>  MC 1
+>  Struct 6
+=========================
+=========================
+The structure 6 contains:
+>  Type  =>  /StructElem
+>  S  =>  /text-unit
+>  NS  =>  latex
+>  rolemap  =>  {Part}{pdf2}
+>  parentrole  =>  {Section}{}
+>  P  =>  parent structure: 5 = /Section
+The structure has the following kids:
+>  Struct 7
+=========================
+=========================
+The structure 7 contains:
+>  Type  =>  /StructElem
+>  C  =>  /justify
+>  S  =>  /text
+>  NS  =>  latex
+>  rolemap  =>  {P}{pdf2}
+>  parentrole  =>  {P}{pdf2}
+>  P  =>  parent structure: 6 = /text-unit
+The structure has the following kids:
+>  MC 2
+=========================
+=========================
+The structure 8 contains:
+>  Type  =>  /StructElem
+>  S  =>  /Section
+>  rolemap  =>  {Section}{}
+>  parentrole  =>  {Section}{}
+>  P  =>  parent structure: 2 = /Document
+>  NS  =>  
+The structure has the following kids:
+>  MC 3
+>  Struct 9
+=========================
+=========================
+The structure 9 contains:
+>  Type  =>  /StructElem
+>  S  =>  /text-unit
+>  NS  =>  latex
+>  rolemap  =>  {Part}{pdf2}
+>  parentrole  =>  {Section}{}
+>  P  =>  parent structure: 8 = /Section
+The structure has the following kids:
+>  Struct 10
+=========================
+=========================
+The structure 10 contains:
+>  Type  =>  /StructElem
+>  C  =>  /justify
+>  S  =>  /text
+>  NS  =>  latex
+>  rolemap  =>  {P}{pdf2}
+>  parentrole  =>  {P}{pdf2}
+>  P  =>  parent structure: 9 = /text-unit
+The structure has the following kids:
+>  MC 4
+=========================
+=========================
+The structure 11 contains:
+>  Type  =>  /StructElem
+>  S  =>  /Section
+>  rolemap  =>  {Section}{}
+>  parentrole  =>  {Section}{}
+>  P  =>  parent structure: 2 = /Document
+>  NS  =>  
+The structure has the following kids:
+>  MC 5
+>  Struct 12
+=========================
+=========================
+The structure 12 contains:
+>  Type  =>  /StructElem
+>  S  =>  /text-unit
+>  NS  =>  latex
+>  rolemap  =>  {Part}{pdf2}
+>  parentrole  =>  {Section}{}
+>  P  =>  parent structure: 11 = /Section
+The structure has the following kids:
+>  Struct 13
+=========================
+=========================
+The structure 13 contains:
+>  Type  =>  /StructElem
+>  C  =>  /justify
+>  S  =>  /text
+>  NS  =>  latex
+>  rolemap  =>  {P}{pdf2}
+>  parentrole  =>  {P}{pdf2}
+>  P  =>  parent structure: 12 = /text-unit
+The structure has the following kids:
+>  MC 6
+=========================
+=========================
+The structure 14 contains:
+>  Type  =>  /StructElem
+>  Ref  =>  \__tag_struct_Ref_label:nN {unknown},\__tag_struct_Ref_label:nN {sec1},
+>  S  =>  /P
+>  NS  =>  pdf2
+>  rolemap  =>  {P}{pdf2}
+>  parentrole  =>  {P}{pdf2}
+>  P  =>  parent structure: 2 = /Document
+The structure has the following kids:
+>  MC 7
+>  Struct 15
+=========================
+=========================
+The structure 15 contains:
+>  Type  =>  /StructElem
+>  S  =>  /text-unit
+>  NS  =>  latex
+>  rolemap  =>  {Part}{pdf2}
+>  parentrole  =>  {P}{pdf2}
+>  P  =>  parent structure: 14 = /P
+The structure has the following kids:
+>  Struct 16
+=========================
+=========================
+The structure 16 contains:
+>  Type  =>  /StructElem
+>  C  =>  /justify
+>  S  =>  /text
+>  NS  =>  latex
+>  rolemap  =>  {P}{pdf2}
+>  parentrole  =>  {P}{pdf2}
+>  P  =>  parent structure: 15 = /text-unit
+The structure has the following kids:
+>  MC 8
+=========================
+=========================
+The structure 17 contains:
+>  Type  =>  /StructElem
+>  S  =>  /P
+>  NS  =>  pdf2
+>  rolemap  =>  {P}{pdf2}
+>  parentrole  =>  {P}{pdf2}
+>  P  =>  parent structure: 2 = /Document
+>  Ref  =>  \__tag_struct_Ref_label:nN {sec1},\__tag_struct_Ref_dest:nN {sec2dest},\__tag_struct_Ref_num:nN {\RefProperty {tagpdfstruct-sec3}{tagstruct}},
+The structure has the following kids:
+>  MC 9
+>  Struct 18
+=========================
+=========================
+The structure 18 contains:
+>  Type  =>  /StructElem
+>  S  =>  /text-unit
+>  NS  =>  latex
+>  rolemap  =>  {Part}{pdf2}
+>  parentrole  =>  {P}{pdf2}
+>  P  =>  parent structure: 17 = /P
+The structure has the following kids:
+>  Struct 19
+=========================
+=========================
+The structure 19 contains:
+>  Type  =>  /StructElem
+>  C  =>  /justify
+>  S  =>  /text
+>  NS  =>  latex
+>  rolemap  =>  {P}{pdf2}
+>  parentrole  =>  {P}{pdf2}
+>  P  =>  parent structure: 18 = /text-unit
+The structure has the following kids:
+>  MC 10
+=========================
+tagpdf DEBUG Info: Tagging stopped
+(tagpdf DEBUG)     level: 0 ==> 1, label: headfoot [on line ...]
+tagpdf DEBUG Info: Tagging restarted
+(tagpdf DEBUG)     level: 1 ==> 0, label: headfoot [on line ...]
+tagpdf DEBUG Info: Tagging stopped
+(tagpdf DEBUG)     level: 0 ==> 1, label: headfoot [on line ...]
+tagpdf DEBUG Info: Tagging restarted
+(tagpdf DEBUG)     level: 1 ==> 0, label: headfoot [on line ...]
+[1
+] (test-ref2.aux)
+Package tagpdf Info: Finalizing the tagging structure:
+(tagpdf)             Writing out ~19 structure objects
+(tagpdf)             with ~12 'MC' leaf nodes.
+(tagpdf)             Be patient if there are lots of objects!
+Package tagpdf Info: writing ParentTree
+Package tagpdf Info: writing IDTree
+Package tagpdf Info: writing RoleMap
+Package tagpdf Info: writing ClassMap
+Package tagpdf Info: writing NameSpaces
+Package tagpdf Info: writing StructElems
+Package tagpdf Warning: Label 'unknown' has no related structure.
+(tagpdf)                /Ref not updated.
+Package tagpdf Info: writing Root





More information about the latex3-commits mailing list.