aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorHubert Plociniczak <hubert.plociniczak@gmail.com>2016-10-19 11:40:44 +0200
committerHubert Plociniczak <hubert.plociniczak@gmail.com>2016-10-19 11:40:44 +0200
commitdd799df0aed2df843c6881cec296869b622c0780 (patch)
tree28561752aaf9384f6918e389d94afb9e0d6c7111 /tests
parent4a2a7a21e5e8bf0d11abd214d372729eb9eb8d0c (diff)
downloadpandoc-dd799df0aed2df843c6881cec296869b622c0780.tar.gz
Image with a caption needs special formatting
Latex Writer only handles captions if the image's title is prefixed with 'fig:'.
Diffstat (limited to 'tests')
-rw-r--r--tests/odt/native/imageIndex.native2
-rw-r--r--tests/odt/native/imageWithCaption.native2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/odt/native/imageIndex.native b/tests/odt/native/imageIndex.native
index 75c6e4135..fe7b69c16 100644
--- a/tests/odt/native/imageIndex.native
+++ b/tests/odt/native/imageIndex.native
@@ -1 +1 @@
-[Para [Image ("",[],[("width","5.292cm"),("height","5.292cm")]) [Str "Abbildung",Space,Str "1:",Space,Str "Image",Space,Str "caption"] ("Pictures/10000000000000FA000000FAD6A15225.jpg","")]]
+[Para [Image ("",[],[("width","5.292cm"),("height","5.292cm")]) [Str "Abbildung",Space,Str "1:",Space,Str "Image",Space,Str "caption"] ("Pictures/10000000000000FA000000FAD6A15225.jpg","fig:")]]
diff --git a/tests/odt/native/imageWithCaption.native b/tests/odt/native/imageWithCaption.native
index 75c6e4135..fe7b69c16 100644
--- a/tests/odt/native/imageWithCaption.native
+++ b/tests/odt/native/imageWithCaption.native
@@ -1 +1 @@
-[Para [Image ("",[],[("width","5.292cm"),("height","5.292cm")]) [Str "Abbildung",Space,Str "1:",Space,Str "Image",Space,Str "caption"] ("Pictures/10000000000000FA000000FAD6A15225.jpg","")]]
+[Para [Image ("",[],[("width","5.292cm"),("height","5.292cm")]) [Str "Abbildung",Space,Str "1:",Space,Str "Image",Space,Str "caption"] ("Pictures/10000000000000FA000000FAD6A15225.jpg","fig:")]]