Skip to content

Commit

Permalink
table, figure width attribute: metanorma/metanorma-iso#1111
Browse files Browse the repository at this point in the history
  • Loading branch information
opoudjis committed Mar 12, 2024
1 parent 8e1e67b commit 981fef0
Show file tree
Hide file tree
Showing 12 changed files with 22 additions and 2 deletions.
1 change: 1 addition & 0 deletions grammars/cc.rnc
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ figure =
attribute number { text }?,
attribute subsequence { text }?,
attribute class { text }?,
attribute width { text }?,
source?, tname?, ( figure+ | ( (TextElement* | pre), note*, dl? ) )
}

Expand Down
3 changes: 3 additions & 0 deletions grammars/cc.rng
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@
<optional>
<attribute name="class"/>
</optional>
<optional>
<attribute name="width"/>
</optional>
<optional>
<ref name="source"/>
</optional>
Expand Down
1 change: 1 addition & 0 deletions grammars/csa.rnc
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ include "isodoc.rnc" {
attribute number { text }?,
attribute subsequence { text }?,
attribute class { text }?,
attribute width { text }?,
source?, tname?, ( figure+ | ( (TextElement* | pre), note*, dl? ) )
}

Expand Down
3 changes: 3 additions & 0 deletions grammars/csa.rng
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@
<optional>
<attribute name="class"/>
</optional>
<optional>
<attribute name="width"/>
</optional>
<optional>
<ref name="source"/>
</optional>
Expand Down
1 change: 1 addition & 0 deletions grammars/ietf.rnc
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ table =
attribute summary { text }?,
attribute uri { xsd:anyURI }?,
attribute align { text }?,
attribute width { text }?,
tname?, thead?, tbody, tfoot?, table-note*, dl?
}

Expand Down
3 changes: 3 additions & 0 deletions grammars/ietf.rng
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,9 @@
<optional>
<attribute name="align"/>
</optional>
<optional>
<attribute name="width"/>
</optional>
<optional>
<ref name="tname"/>
</optional>
Expand Down
1 change: 1 addition & 0 deletions grammars/isodoc.rnc
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ figure =
attribute number { text }?,
attribute subsequence { text }?,
attribute class { text }?,
attribute width { text }?,
BlockAttributes,
tname?, (image | video | audio | pre | paragraph-with-footnote+ | figure*), fn*, dl?, note*, source?
}
Expand Down
3 changes: 3 additions & 0 deletions grammars/isodoc.rng
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,9 @@
<optional>
<attribute name="class"/>
</optional>
<optional>
<attribute name="width"/>
</optional>
<ref name="BlockAttributes"/>
<optional>
<ref name="tname"/>
Expand Down
1 change: 1 addition & 0 deletions grammars/m3d.rnc
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ figure =
attribute number { text }?,
attribute subsequence { text }?,
attribute class { text }?,
attribute width { text }?,
source?, tname?, ( figure+ | ( (TextElement* | pre), note*, dl? ) )
}

Expand Down
3 changes: 3 additions & 0 deletions grammars/m3d.rng
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@
<optional>
<attribute name="class"/>
</optional>
<optional>
<attribute name="width"/>
</optional>
<optional>
<ref name="source"/>
</optional>
Expand Down
2 changes: 1 addition & 1 deletion grammars/relaton-model-bipm
2 changes: 1 addition & 1 deletion grammars/relaton-models

0 comments on commit 981fef0

Please sign in to comment.