From ccf9889c2c5839166be4296944c45447474f2a33 Mon Sep 17 00:00:00 2001 From: Albert Krewinkel Date: Wed, 1 Jul 2020 09:17:42 +0200 Subject: Org reader: respect tables-excluding export setting Tables can be removed from the final document with the `#+OPTION: |:nil` export setting. --- src/Text/Pandoc/Readers/Org/ParserState.hs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/Text/Pandoc/Readers/Org/ParserState.hs') diff --git a/src/Text/Pandoc/Readers/Org/ParserState.hs b/src/Text/Pandoc/Readers/Org/ParserState.hs index ec316e316..6e2e86373 100644 --- a/src/Text/Pandoc/Readers/Org/ParserState.hs +++ b/src/Text/Pandoc/Readers/Org/ParserState.hs @@ -262,6 +262,7 @@ data ExportSettings = ExportSettings , exportWithLatex :: TeXExport -- ^ Handling of raw TeX commands , exportWithPlanning :: Bool -- ^ Keep planning info after headlines , exportWithTags :: Bool -- ^ Keep tags as part of headlines + , exportWithTables :: Bool -- ^ Include tables , exportWithTodoKeywords :: Bool -- ^ Keep TODO keywords in headers } @@ -286,5 +287,6 @@ defaultExportSettings = ExportSettings , exportWithLatex = TeXExport , exportWithPlanning = False , exportWithTags = True + , exportWithTables = True , exportWithTodoKeywords = True } -- cgit v1.2.3