From 6ea706256de67c5480b300b0063729ae8f459c4c Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sat, 2 Jun 2018 21:37:15 -0700 Subject: Support --number-sections in RST output... via the "section-numbering" directive in standalone output. --- src/Text/Pandoc/Writers/RST.hs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Text') diff --git a/src/Text/Pandoc/Writers/RST.hs b/src/Text/Pandoc/Writers/RST.hs index f82597c55..1fd984a6d 100644 --- a/src/Text/Pandoc/Writers/RST.hs +++ b/src/Text/Pandoc/Writers/RST.hs @@ -103,6 +103,7 @@ pandocToRST (Pandoc meta blocks) = do let context = defField "body" main $ defField "toc" (writerTableOfContents opts) $ defField "toc-depth" (show $ writerTOCDepth opts) + $ defField "number-sections" (writerNumberSections opts) $ defField "math" hasMath $ defField "title" (render Nothing title :: String) $ defField "math" hasMath -- cgit v1.2.3