From f97391c7de9ef4adeea954f298b588043a0c128c Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sun, 5 Feb 2012 09:28:56 -0800 Subject: Support \frametitle, \framesubtitle. --- src/Text/Pandoc/Readers/LaTeX.hs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/Text/Pandoc') 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) -- cgit v1.2.3