aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Options.hs
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-03-07 10:06:22 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2015-03-07 10:06:22 -0800
commit4d52269709ebcba262db57c481293e7d3fc9c443 (patch)
tree529b9bd7bd30cdfaf795b075e5b1db316e42212e /src/Text/Pandoc/Options.hs
parent7407b83ced4f03bb3e9c716e3bbb1e2459942bf8 (diff)
parentad9e4cde9d2f3c4014092749651558529c4f2cb3 (diff)
downloadpandoc-4d52269709ebcba262db57c481293e7d3fc9c443.tar.gz
Merge pull request #1988 from sumitsahrawat/issue-969
Fix issue #969, #1779 by providing --latex-engine-opt
Diffstat (limited to 'src/Text/Pandoc/Options.hs')
-rw-r--r--src/Text/Pandoc/Options.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Options.hs b/src/Text/Pandoc/Options.hs
index 24e31fbb6..29989f8c5 100644
--- a/src/Text/Pandoc/Options.hs
+++ b/src/Text/Pandoc/Options.hs
@@ -324,6 +324,7 @@ data WriterOptions = WriterOptions
, writerReferenceDocx :: Maybe FilePath -- ^ Path to reference DOCX if specified
, writerMediaBag :: MediaBag -- ^ Media collected by docx or epub reader
, writerVerbose :: Bool -- ^ Verbose debugging output
+ , writerLaTeXArgs :: [String] -- ^ Flags to pass to latex-engine
} deriving Show
instance Default WriterOptions where
@@ -368,6 +369,7 @@ instance Default WriterOptions where
, writerReferenceDocx = Nothing
, writerMediaBag = mempty
, writerVerbose = False
+ , writerLaTeXArgs = []
}
-- | Returns True if the given extension is enabled.