summaryrefslogtreecommitdiff
path: root/test/tables.jats
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-03-31 11:07:09 +0200
committerJohn MacFarlane <jgm@berkeley.edu>2017-03-31 11:07:09 +0200
commit3217bc192ec90f251ad54c098e5ada35f9aa863a (patch)
tree34ac8633f69cecf401b921425e73c0d0e3b5f330 /test/tables.jats
parent136a53edc88513d0d300a50b9f77ff003baa512f (diff)
JATS writer: put references in `<back>`.
Modified template to include a `<back>` and `<body>` section. This should give authors more flexibility, e.g. to put acknowledgements metadata in `<back>`. References are automatically extracted and put into `<back>`.
Diffstat (limited to 'test/tables.jats')
-rw-r--r--test/tables.jats750
1 files changed, 374 insertions, 376 deletions
diff --git a/test/tables.jats b/test/tables.jats
index 11f543f17..b213a83bb 100644
--- a/test/tables.jats
+++ b/test/tables.jats
@@ -1,115 +1,12 @@
-<body>
- <p>
- Simple table with caption:
- </p>
- <table-wrap>
- <caption>
- <p>
- Demonstration of simple table syntax.
- </p>
- </caption>
- <table>
- <col align="right" />
- <col align="left" />
- <col align="center" />
- <col align="left" />
- <thead>
- <tr>
- <th>
- <p>
- Right
- </p>
- </th>
- <th>
- <p>
- Left
- </p>
- </th>
- <th>
- <p>
- Center
- </p>
- </th>
- <th>
- <p>
- Default
- </p>
- </th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>
- <p>
- 12
- </p>
- </td>
- <td>
- <p>
- 12
- </p>
- </td>
- <td>
- <p>
- 12
- </p>
- </td>
- <td>
- <p>
- 12
- </p>
- </td>
- </tr>
- <tr>
- <td>
- <p>
- 123
- </p>
- </td>
- <td>
- <p>
- 123
- </p>
- </td>
- <td>
- <p>
- 123
- </p>
- </td>
- <td>
- <p>
- 123
- </p>
- </td>
- </tr>
- <tr>
- <td>
- <p>
- 1
- </p>
- </td>
- <td>
- <p>
- 1
- </p>
- </td>
- <td>
- <p>
- 1
- </p>
- </td>
- <td>
- <p>
- 1
- </p>
- </td>
- </tr>
- </tbody>
- </table>
- </table-wrap>
- <p>
- Simple table without caption:
- </p>
+<p>
+ Simple table with caption:
+</p>
+<table-wrap>
+ <caption>
+ <p>
+ Demonstration of simple table syntax.
+ </p>
+ </caption>
<table>
<col align="right" />
<col align="left" />
@@ -208,228 +105,142 @@
</tr>
</tbody>
</table>
- <p>
- Simple table indented two spaces:
- </p>
- <table-wrap>
- <caption>
- <p>
- Demonstration of simple table syntax.
- </p>
- </caption>
- <table>
- <col align="right" />
- <col align="left" />
- <col align="center" />
- <col align="left" />
- <thead>
- <tr>
- <th>
- <p>
- Right
- </p>
- </th>
- <th>
- <p>
- Left
- </p>
- </th>
- <th>
- <p>
- Center
- </p>
- </th>
- <th>
- <p>
- Default
- </p>
- </th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>
- <p>
- 12
- </p>
- </td>
- <td>
- <p>
- 12
- </p>
- </td>
- <td>
- <p>
- 12
- </p>
- </td>
- <td>
- <p>
- 12
- </p>
- </td>
- </tr>
- <tr>
- <td>
- <p>
- 123
- </p>
- </td>
- <td>
- <p>
- 123
- </p>
- </td>
- <td>
- <p>
- 123
- </p>
- </td>
- <td>
- <p>
- 123
- </p>
- </td>
- </tr>
- <tr>
- <td>
- <p>
- 1
- </p>
- </td>
- <td>
- <p>
- 1
- </p>
- </td>
- <td>
- <p>
- 1
- </p>
- </td>
- <td>
- <p>
- 1
- </p>
- </td>
- </tr>
- </tbody>
- </table>
- </table-wrap>
- <p>
- Multiline table with caption:
- </p>
- <table-wrap>
- <caption>
- <p>
- Here’s the caption. It may span multiple lines.
- </p>
- </caption>
- <table>
- <col width="15*" align="center" />
- <col width="13*" align="left" />
- <col width="16*" align="right" />
- <col width="33*" align="left" />
- <thead>
- <tr>
- <th>
- <p>
- Centered Header
- </p>
- </th>
- <th>
- <p>
- Left Aligned
- </p>
- </th>
- <th>
- <p>
- Right Aligned
- </p>
- </th>
- <th>
- <p>
- Default aligned
- </p>
- </th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>
- <p>
- First
- </p>
- </td>
- <td>
- <p>
- row
- </p>
- </td>
- <td>
- <p>
- 12.0
- </p>
- </td>
- <td>
- <p>
- Example of a row that spans multiple lines.
- </p>
- </td>
- </tr>
- <tr>
- <td>
- <p>
- Second
- </p>
- </td>
- <td>
- <p>
- row
- </p>
- </td>
- <td>
- <p>
- 5.0
- </p>
- </td>
- <td>
- <p>
- Here’s another one. Note the blank line between rows.
- </p>
- </td>
- </tr>
- </tbody>
- </table>
- </table-wrap>
- <p>
- Multiline table without caption:
- </p>
+</table-wrap>
+<p>
+ Simple table without caption:
+</p>
+<table>
+ <col align="right" />
+ <col align="left" />
+ <col align="center" />
+ <col align="left" />
+ <thead>
+ <tr>
+ <th>
+ <p>
+ Right
+ </p>
+ </th>
+ <th>
+ <p>
+ Left
+ </p>
+ </th>
+ <th>
+ <p>
+ Center
+ </p>
+ </th>
+ <th>
+ <p>
+ Default
+ </p>
+ </th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>
+ <p>
+ 12
+ </p>
+ </td>
+ <td>
+ <p>
+ 12
+ </p>
+ </td>
+ <td>
+ <p>
+ 12
+ </p>
+ </td>
+ <td>
+ <p>
+ 12
+ </p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>
+ 123
+ </p>
+ </td>
+ <td>
+ <p>
+ 123
+ </p>
+ </td>
+ <td>
+ <p>
+ 123
+ </p>
+ </td>
+ <td>
+ <p>
+ 123
+ </p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>
+ 1
+ </p>
+ </td>
+ <td>
+ <p>
+ 1
+ </p>
+ </td>
+ <td>
+ <p>
+ 1
+ </p>
+ </td>
+ <td>
+ <p>
+ 1
+ </p>
+ </td>
+ </tr>
+ </tbody>
+</table>
+<p>
+ Simple table indented two spaces:
+</p>
+<table-wrap>
+ <caption>
+ <p>
+ Demonstration of simple table syntax.
+ </p>
+ </caption>
<table>
- <col width="15*" align="center" />
- <col width="13*" align="left" />
- <col width="16*" align="right" />
- <col width="33*" align="left" />
+ <col align="right" />
+ <col align="left" />
+ <col align="center" />
+ <col align="left" />
<thead>
<tr>
<th>
<p>
- Centered Header
+ Right
</p>
</th>
<th>
<p>
- Left Aligned
+ Left
</p>
</th>
<th>
<p>
- Right Aligned
+ Center
</p>
</th>
<th>
<p>
- Default aligned
+ Default
</p>
</th>
</tr>
@@ -438,61 +249,6 @@
<tr>
<td>
<p>
- First
- </p>
- </td>
- <td>
- <p>
- row
- </p>
- </td>
- <td>
- <p>
- 12.0
- </p>
- </td>
- <td>
- <p>
- Example of a row that spans multiple lines.
- </p>
- </td>
- </tr>
- <tr>
- <td>
- <p>
- Second
- </p>
- </td>
- <td>
- <p>
- row
- </p>
- </td>
- <td>
- <p>
- 5.0
- </p>
- </td>
- <td>
- <p>
- Here’s another one. Note the blank line between rows.
- </p>
- </td>
- </tr>
- </tbody>
- </table>
- <p>
- Table without column headers:
- </p>
- <table>
- <col align="right" />
- <col align="left" />
- <col align="center" />
- <col align="right" />
- <tbody>
- <tr>
- <td>
- <p>
12
</p>
</td>
@@ -558,14 +314,45 @@
</tr>
</tbody>
</table>
- <p>
- Multiline table without column headers:
- </p>
+</table-wrap>
+<p>
+ Multiline table with caption:
+</p>
+<table-wrap>
+ <caption>
+ <p>
+ Here’s the caption. It may span multiple lines.
+ </p>
+ </caption>
<table>
<col width="15*" align="center" />
<col width="13*" align="left" />
<col width="16*" align="right" />
<col width="33*" align="left" />
+ <thead>
+ <tr>
+ <th>
+ <p>
+ Centered Header
+ </p>
+ </th>
+ <th>
+ <p>
+ Left Aligned
+ </p>
+ </th>
+ <th>
+ <p>
+ Right Aligned
+ </p>
+ </th>
+ <th>
+ <p>
+ Default aligned
+ </p>
+ </th>
+ </tr>
+ </thead>
<tbody>
<tr>
<td>
@@ -613,4 +400,215 @@
</tr>
</tbody>
</table>
-</body>
+</table-wrap>
+<p>
+ Multiline table without caption:
+</p>
+<table>
+ <col width="15*" align="center" />
+ <col width="13*" align="left" />
+ <col width="16*" align="right" />
+ <col width="33*" align="left" />
+ <thead>
+ <tr>
+ <th>
+ <p>
+ Centered Header
+ </p>
+ </th>
+ <th>
+ <p>
+ Left Aligned
+ </p>
+ </th>
+ <th>
+ <p>
+ Right Aligned
+ </p>
+ </th>
+ <th>
+ <p>
+ Default aligned
+ </p>
+ </th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>
+ <p>
+ First
+ </p>
+ </td>
+ <td>
+ <p>
+ row
+ </p>
+ </td>
+ <td>
+ <p>
+ 12.0
+ </p>
+ </td>
+ <td>
+ <p>
+ Example of a row that spans multiple lines.
+ </p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>
+ Second
+ </p>
+ </td>
+ <td>
+ <p>
+ row
+ </p>
+ </td>
+ <td>
+ <p>
+ 5.0
+ </p>
+ </td>
+ <td>
+ <p>
+ Here’s another one. Note the blank line between rows.
+ </p>
+ </td>
+ </tr>
+ </tbody>
+</table>
+<p>
+ Table without column headers:
+</p>
+<table>
+ <col align="right" />
+ <col align="left" />
+ <col align="center" />
+ <col align="right" />
+ <tbody>
+ <tr>
+ <td>
+ <p>
+ 12
+ </p>
+ </td>
+ <td>
+ <p>
+ 12
+ </p>
+ </td>
+ <td>
+ <p>
+ 12
+ </p>
+ </td>
+ <td>
+ <p>
+ 12
+ </p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>
+ 123
+ </p>
+ </td>
+ <td>
+ <p>
+ 123
+ </p>
+ </td>
+ <td>
+ <p>
+ 123
+ </p>
+ </td>
+ <td>
+ <p>
+ 123
+ </p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>
+ 1
+ </p>
+ </td>
+ <td>
+ <p>
+ 1
+ </p>
+ </td>
+ <td>
+ <p>
+ 1
+ </p>
+ </td>
+ <td>
+ <p>
+ 1
+ </p>
+ </td>
+ </tr>
+ </tbody>
+</table>
+<p>
+ Multiline table without column headers:
+</p>
+<table>
+ <col width="15*" align="center" />
+ <col width="13*" align="left" />
+ <col width="16*" align="right" />
+ <col width="33*" align="left" />
+ <tbody>
+ <tr>
+ <td>
+ <p>
+ First
+ </p>
+ </td>
+ <td>
+ <p>
+ row
+ </p>
+ </td>
+ <td>
+ <p>
+ 12.0
+ </p>
+ </td>
+ <td>
+ <p>
+ Example of a row that spans multiple lines.
+ </p>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <p>
+ Second
+ </p>
+ </td>
+ <td>
+ <p>
+ row
+ </p>
+ </td>
+ <td>
+ <p>
+ 5.0
+ </p>
+ </td>
+ <td>
+ <p>
+ Here’s another one. Note the blank line between rows.
+ </p>
+ </td>
+ </tr>
+ </tbody>
+</table>