aboutsummaryrefslogtreecommitdiff
path: root/src/Text
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
commit825ce8ca73073db3a1bf0db1ece9fe0344a2e8ab (patch)
tree4f9cd600feeade176c6a816a38ee7509fbd54722 /src/Text
parenta2574883432c2375661caa4bee19a48967cf49db (diff)
downloadpandoc-825ce8ca73073db3a1bf0db1ece9fe0344a2e8ab.tar.gz
Org reader: set documentclass meta from LaTeX_class
Diffstat (limited to 'src/Text')
-rw-r--r--src/Text/Pandoc/Readers/Org/Meta.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Readers/Org/Meta.hs b/src/Text/Pandoc/Readers/Org/Meta.hs
index 988a18981..213e417dd 100644
--- a/src/Text/Pandoc/Readers/Org/Meta.hs
+++ b/src/Text/Pandoc/Readers/Org/Meta.hs
@@ -77,6 +77,7 @@ metaValue key =
"header-includes" -> (key,) <$> accumulatingList key metaInlines
"latex_header" -> (inclKey,) <$>
accumulatingList inclKey (metaExportSnippet "latex")
+ "latex_class" -> ("documentclass",) <$> metaString
_ -> (key,) <$> metaString
metaInlines :: OrgParser (F MetaValue)