diff options
author | John MacFarlane <jgm@berkeley.edu> | 2017-01-15 21:00:22 +0100 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2017-01-25 17:07:42 +0100 |
commit | 0bcc81c0b149f1ae3eda7ce72f28199e48744a76 (patch) | |
tree | eeaeb458e0a556e2c7ff56fc5f58aeeb3e3fa216 /pandoc.hs | |
parent | 4f6e6247f9a672770a6d7a55a3aa2709a860ff38 (diff) |
Removed writerTeXLigatures.
Make `smart` extension work in LaTeX/ConTeXt writers instead.
Instead of `-t latex --no-tex-ligatures`, do `-t latex-smart`.
Diffstat (limited to 'pandoc.hs')
-rw-r--r-- | pandoc.hs | 9 |
1 files changed, 0 insertions, 9 deletions
@@ -146,7 +146,6 @@ convertWithOpts opts args = do , optSlideLevel = slideLevel , optSetextHeaders = setextHeaders , optAscii = ascii - , optTeXLigatures = texLigatures , optDefaultImageExtension = defaultImageExtension , optExtractMedia = mbExtractMedia , optTrace = trace @@ -330,7 +329,6 @@ convertWithOpts opts args = do writerHighlight = highlight, writerHighlightStyle = highlightStyle, writerSetextHeaders = setextHeaders, - writerTeXLigatures = texLigatures, writerEpubMetadata = epubMetadata, writerEpubStylesheet = epubStylesheet, writerEpubFonts = epubFonts, @@ -570,7 +568,6 @@ data Opt = Opt , optSlideLevel :: Maybe Int -- ^ Header level that creates slides , optSetextHeaders :: Bool -- ^ Use atx headers for markdown level 1-2 , optAscii :: Bool -- ^ Use ascii characters only in html - , optTeXLigatures :: Bool -- ^ Use TeX ligatures for quotes/dashes , optDefaultImageExtension :: String -- ^ Default image extension , optExtractMedia :: Maybe FilePath -- ^ Path to extract embedded media , optTrace :: Bool -- ^ Print debug information @@ -634,7 +631,6 @@ defaultOpts = Opt , optSlideLevel = Nothing , optSetextHeaders = True , optAscii = False - , optTeXLigatures = True , optDefaultImageExtension = "" , optExtractMedia = Nothing , optTrace = False @@ -955,11 +951,6 @@ options = "NUMBERS") "" -- "Starting number for sections, subsections, etc." - , Option "" ["no-tex-ligatures"] - (NoArg - (\opt -> return opt { optTeXLigatures = False })) - "" -- "Don't use tex ligatures for quotes, dashes" - , Option "" ["listings"] (NoArg (\opt -> return opt { optListings = True })) |