aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2012-02-05 09:28:56 -0800
committerJohn MacFarlane <fiddlosopher@gmail.com>2012-02-05 09:28:56 -0800
commitf97391c7de9ef4adeea954f298b588043a0c128c (patch)
tree7d8c2a15662319c39a9dac94a889f7de1c8ef733 /src
parent922469bbb27b142d1e8ef11c95d9e1b602cd7c29 (diff)
downloadpandoc-f97391c7de9ef4adeea954f298b588043a0c128c.tar.gz
Support \frametitle, \framesubtitle.
Diffstat (limited to 'src')
-rw-r--r--src/Text/Pandoc/Readers/LaTeX.hs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Readers/LaTeX.hs b/src/Text/Pandoc/Readers/LaTeX.hs
index 09de52f7d..1516397b5 100644
--- a/src/Text/Pandoc/Readers/LaTeX.hs
+++ b/src/Text/Pandoc/Readers/LaTeX.hs
@@ -231,8 +231,13 @@ blockCommands = M.fromList $
, ("subsubsection", section 3)
, ("paragraph", section 4)
, ("subparagraph", section 5)
+ -- beamer slides
+ , ("frametitle", section 3)
+ , ("framesubtitle", section 4)
+ -- letters
, ("opening", (para . trimInlines) <$> tok)
, ("closing", closing)
+ --
, ("rule", optional opt *> tok *> tok *> pure horizontalRule)
, ("begin", mzero) -- these are here so they won't be interpreted as inline
, ("end", mzero)