diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-03-07 10:06:22 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-03-07 10:06:22 -0800 |
commit | 4d52269709ebcba262db57c481293e7d3fc9c443 (patch) | |
tree | 529b9bd7bd30cdfaf795b075e5b1db316e42212e /src/Text/Pandoc/Options.hs | |
parent | 7407b83ced4f03bb3e9c716e3bbb1e2459942bf8 (diff) | |
parent | ad9e4cde9d2f3c4014092749651558529c4f2cb3 (diff) | |
download | pandoc-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.hs | 2 |
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. |