Skip to content

Commit

Permalink
tfoot/tr/td content in Plateau, table examples: metanorma/metanorma-p…
Browse files Browse the repository at this point in the history
  • Loading branch information
opoudjis committed Mar 10, 2025
1 parent 6a1d0c6 commit 8dc2b10
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
4 changes: 3 additions & 1 deletion grammars/isodoc-presentation.rnc
Original file line number Diff line number Diff line change
Expand Up @@ -664,7 +664,9 @@ TableBody &=
## Add container for table footnotes, if the container appears inside a table cell (i.e. in the table footer, as is the case
## with Plateau)
TdBody &=
fmt-footnote-container?
fmt-footnote-container?,
## A source for the table (in the table footer, again in Plateau)
TermSource*

## Add container for figure footnotes. (Used only in BSI.)
FigureBody &=
Expand Down
19 changes: 19 additions & 0 deletions grammars/plateau.rnc
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,25 @@ OlBody =
DlBody =
(dt, dd)+, note*, source*

TableBody =
## The widths of the columns in the table
colgroup?,
## Caption for the table
tname?,
## Table rows constituting the table header
thead?,
## Table rows constituting the table body
tbody,
## Table rows constituting the table footer
tfoot?,
## Definitions list defining any symbols used in the table
dl?,
## Notes specific to this block
table-note*,
## Examples specific to this block
example*,
## A source for the table
TermSource


# We display the Normative References between scope and terms; but to keep the
Expand Down

0 comments on commit 8dc2b10

Please sign in to comment.