summaryrefslogtreecommitdiff
path: root/pandoc.hs
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-01-15 21:00:22 +0100
committerJohn MacFarlane <jgm@berkeley.edu>2017-01-25 17:07:42 +0100
commit0bcc81c0b149f1ae3eda7ce72f28199e48744a76 (patch)
treeeeaeb458e0a556e2c7ff56fc5f58aeeb3e3fa216 /pandoc.hs
parent4f6e6247f9a672770a6d7a55a3aa2709a860ff38 (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.hs9
1 files changed, 0 insertions, 9 deletions
diff --git a/pandoc.hs b/pandoc.hs
index 0baf555de..fe9cdba00 100644
--- a/pandoc.hs
+++ b/pandoc.hs
@@ -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 }))