summaryrefslogtreecommitdiff
path: root/tests/Tests/Readers
diff options
context:
space:
mode:
authorAlbert Krewinkel <albert@zeitkraut.de>2016-08-29 14:10:57 +0200
committerAlbert Krewinkel <albert@zeitkraut.de>2016-08-29 14:10:57 +0200
commitd164ead37900a186acad44bb244f9268d3e3e91d (patch)
treebe47318cabb409d637892985d19c8b12be63ddc1 /tests/Tests/Readers
parent825ce8ca73073db3a1bf0db1ece9fe0344a2e8ab (diff)
Org reader: set classoption meta from LaTeX_class_options
Diffstat (limited to 'tests/Tests/Readers')
-rw-r--r--tests/Tests/Readers/Org.hs5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/Tests/Readers/Org.hs b/tests/Tests/Readers/Org.hs
index 2af019469..534990876 100644
--- a/tests/Tests/Readers/Org.hs
+++ b/tests/Tests/Readers/Org.hs
@@ -508,6 +508,11 @@ tests =
let meta = setMeta "documentclass" (MetaString "article") nullMeta
in Pandoc meta mempty
+ , "LaTeX_class_options is translated to classoption" =:
+ "#+LATEX_CLASS_OPTIONS: [a4paper]" =?>
+ let meta = setMeta "classoption" (MetaString "a4paper") nullMeta
+ in Pandoc meta mempty
+
, "later meta definitions take precedence" =:
unlines [ "#+AUTHOR: this will not be used"
, "#+author: Max"