-
Notifications
You must be signed in to change notification settings - Fork 5
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
PDF tagging: Some bad semantics: footnote, P tags, etc #1003
Comments
This occurs due the block element <p id="_24f2eb3c-d04a-ae7f-b7f6-d7508208e30d">The mass fraction of extraneous matter and defective kernels in husked and milled rice, whether or not parboiled, determined in accordance with <xref target="AnnexA">
<span class="citeapp">Annex A</span>
</xref>, shall not be greater than the values specified in <xref target="table1">
<span class="citetbl">Table 1</span>
</xref>.<note id="_37eebd65-fcfd-1ff3-167d-42106bc02dc2">
<name>NOTE</name>
<p id="_cffbd604-0bed-6331-229b-1db2259caaa8">Lower mass fractions of moisture are sometimes needed for certain destinations depending on the climate, duration of transport and storage. For further details, see <xref type="inline" target="ISO6322-1">ISO 6322-1</xref>, <xref type="inline" target="ISO6322-2">ISO 6322-2</xref> and <xref type="inline" target="ISO6322-3">ISO 6322-3</xref>.</p>
</note>
</p> The |
May be there is more simple solution - post-processing PDF tags tree editing via PDFBox after Apache FOP PDF generation. I'll study it. |
These empty tags occurs due empty XSL-FO elements
There are two approach to remove empty tags:
|
In Apache FOP there is a special attribute:
Added. |
…[skip actions]
ISO xslt updated for note tags tree, metanorma/metanorma-iso#1003
Various other bad semantics here and there e.g. footnote indicator marked as “Note”, various P tags covering >1 para, invalid reading order in various places seemingly associated with cross-document links, etc.
From: metanorma/mn2pdf#201
The text was updated successfully, but these errors were encountered: