From 8028de33220af0a43ac8d14021b7fa2b98b22d64 Mon Sep 17 00:00:00 2001 From: Nils Carlson Date: Sat, 21 Sep 2019 20:12:00 +0000 Subject: odt: Add external option for native numbering This adds an external options +native_numbering to the ODT writer enabling enumeration of figures and tables in ODT output. --- test/command/5474-figures.md | 15 +++++++++++ test/command/5474-tables.md | 63 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 78 insertions(+) create mode 100644 test/command/5474-figures.md create mode 100644 test/command/5474-tables.md (limited to 'test/command') diff --git a/test/command/5474-figures.md b/test/command/5474-figures.md new file mode 100644 index 000000000..915bf3434 --- /dev/null +++ b/test/command/5474-figures.md @@ -0,0 +1,15 @@ +``` +% pandoc -t opendocument+native_numbering + +![First image](lalune.jpg) + +![Second image](lalune.jpg) + +^D + +Figure 1: First +image + +Figure 2: Second +image +``` diff --git a/test/command/5474-tables.md b/test/command/5474-tables.md new file mode 100644 index 000000000..3bd4f81e9 --- /dev/null +++ b/test/command/5474-tables.md @@ -0,0 +1,63 @@ +``` +% pandoc -t opendocument+native_numbering + Right Left +------- ------ + 12 11 + +: First table + + Right Left +------- ------ + 13 14 + +: Second Table +^D + + + + + + + Right + + + Left + + + + + + 12 + + + 11 + + + +Table 1: First +table + + + + + + + Right + + + Left + + + + + + 13 + + + 14 + + + +Table 2: Second +Table +``` -- cgit v1.2.3