Skip to content

Commit

Permalink
Form is not spelled Link
Browse files Browse the repository at this point in the history
  • Loading branch information
davidcarlisle committed Jan 5, 2025
1 parent f161993 commit fb01b5b
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion project-examples/scripts/latex-document.rnc
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ pdf2-attributes,
(text|Art|Div|Sect|NonStruct|Private|Note|Code|Sub|Lbl|Em|Strong|Span|Quote|Link|Annot|Ruby|Warichu|FENote|BibEntry|Figure|Formula|Artifact)* #
)}

Form = element pdf2:Link {
Form = element pdf2:Form {
pdf2-attributes,
attribute Layout:BBox {text}?,
attribute Layout:Width {text}?,
Expand Down
2 changes: 1 addition & 1 deletion project-examples/scripts/latex-document.rng
Original file line number Diff line number Diff line change
Expand Up @@ -1423,7 +1423,7 @@
</element>
</define>
<define name="Form">
<element name="pdf2:Link">
<element name="pdf2:Form">
<ref name="pdf2-attributes"/>
<optional>
<attribute name="Layout:BBox"/>
Expand Down
4 changes: 2 additions & 2 deletions 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.content
start = Document


## share with pdf1.7 version from here to end
Expand Down Expand Up @@ -374,7 +374,7 @@ pdf2-attributes,
(text|Art|Div|Sect|NonStruct|Private|Note|Code|Sub|Lbl|Em|Strong|Span|Quote|Link|Annot|Ruby|Warichu|FENote|BibEntry|Figure|Formula|Artifact)* #
)}

Form = element pdf2:Link {
Form = element pdf2:Form {
pdf2-attributes,
attribute Layout:BBox {text}?,
attribute Layout:Width {text}?,
Expand Down
4 changes: 2 additions & 2 deletions project-examples/scripts/latex-document17.rng
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
</attribute>
</define>
<start>
<ref name="document.content"/>
<ref name="Document"/>
</start>
<define name="textorHTML" combine="interleave">
<a:documentation>share with pdf1.7 version from here to end</a:documentation>
Expand Down Expand Up @@ -1466,7 +1466,7 @@
</define>
<define name="Form">
<element>
<name ns="">Link</name>
<name ns="">Form</name>
<ref name="pdf2-attributes"/>
<optional>
<attribute name="Layout:BBox"/>
Expand Down

0 comments on commit fb01b5b

Please sign in to comment.