aboutsummaryrefslogtreecommitdiff
path: root/test/command
diff options
context:
space:
mode:
authorDmitry Pogodin <lunaticare@users.noreply.github.com>2019-11-03 18:17:05 +0300
committerJohn MacFarlane <jgm@berkeley.edu>2019-11-03 07:17:05 -0800
commit270ffe6ab548de83287b7647269b0c8a18b9e8bf (patch)
treee10af2961bb3749e53e58589ccdd5be0b479c416 /test/command
parent8a2e87758e2f2b3fb74be177c2b28918dc35e27c (diff)
downloadpandoc-270ffe6ab548de83287b7647269b0c8a18b9e8bf.tar.gz
Place caption before table in OpenDocument format. (#5869)
Closes #5681.
Diffstat (limited to 'test/command')
-rw-r--r--test/command/5474-tables.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/command/5474-tables.md b/test/command/5474-tables.md
index 3bd4f81e9..f09b0a441 100644
--- a/test/command/5474-tables.md
+++ b/test/command/5474-tables.md
@@ -12,6 +12,8 @@
: Second Table
^D
+<text:p text:style-name="TableCaption">Table <text:sequence text:ref-name="refTable0" text:name="Table" text:formula="ooow:Table+1" style:num-format="1">1</text:sequence>: First
+table</text:p>
<table:table table:name="Table1" table:style-name="Table1">
<table:table-column table:style-name="Table1.A" />
<table:table-column table:style-name="Table1.B" />
@@ -34,8 +36,8 @@
</table:table-cell>
</table:table-row>
</table:table>
-<text:p text:style-name="TableCaption">Table <text:sequence text:ref-name="refTable0" text:name="Table" text:formula="ooow:Table+1" style:num-format="1">1</text:sequence>: First
-table</text:p>
+<text:p text:style-name="TableCaption">Table <text:sequence text:ref-name="refTable1" text:name="Table" text:formula="ooow:Table+1" style:num-format="1">2</text:sequence>: Second
+Table</text:p>
<table:table table:name="Table2" table:style-name="Table2">
<table:table-column table:style-name="Table2.A" />
<table:table-column table:style-name="Table2.B" />
@@ -58,6 +60,4 @@ table</text:p>
</table:table-cell>
</table:table-row>
</table:table>
-<text:p text:style-name="TableCaption">Table <text:sequence text:ref-name="refTable1" text:name="Table" text:formula="ooow:Table+1" style:num-format="1">2</text:sequence>: Second
-Table</text:p>
```