Skip to content

Commit

Permalink
simplify start pattern for rnv
Browse files Browse the repository at this point in the history
  • Loading branch information
davidcarlisle committed Jan 5, 2025
1 parent 3c9b777 commit 1e8c8fe
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 2 deletions.
2 changes: 1 addition & 1 deletion project-examples/scripts/latex-document17.rnc
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ pdf1rolemap-P = attribute rolemaps-to {"P"}
pdf1rolemap-Span = attribute rolemaps-to {"Span"}
pdf1rolemap-Note = attribute rolemaps-to {"Note"}

start = Document
start = Document|DocumentFragment|Part|Art|Div|Sect|TOC|Aside|BlockQuote|NonStruct|Private|P|Note|Code|Hn|H|Title|Link|Annot|Form|FENote|Index|L|Table|Figure|Formula|Artifact


## share with pdf1.7 version from here to end
Expand Down
30 changes: 29 additions & 1 deletion project-examples/scripts/latex-document17.rng
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,35 @@
</attribute>
</define>
<start>
<ref name="Document"/>
<choice>
<ref name="Document"/>
<ref name="DocumentFragment"/>
<ref name="Part"/>
<ref name="Art"/>
<ref name="Div"/>
<ref name="Sect"/>
<ref name="TOC"/>
<ref name="Aside"/>
<ref name="BlockQuote"/>
<ref name="NonStruct"/>
<ref name="Private"/>
<ref name="P"/>
<ref name="Note"/>
<ref name="Code"/>
<ref name="Hn"/>
<ref name="H"/>
<ref name="Title"/>
<ref name="Link"/>
<ref name="Annot"/>
<ref name="Form"/>
<ref name="FENote"/>
<ref name="Index"/>
<ref name="L"/>
<ref name="Table"/>
<ref name="Figure"/>
<ref name="Formula"/>
<ref name="Artifact"/>
</choice>
</start>
<define name="textorHTML" combine="interleave">
<a:documentation>share with pdf1.7 version from here to end</a:documentation>
Expand Down

0 comments on commit 1e8c8fe

Please sign in to comment.