@@ -112,7 +112,6 @@ convertWithOpts opts args = do
112112 , optSectionDivs = sectionDivs
113113 , optIncremental = incremental
114114 , optSelfContained = selfContained
115− , optSmart = smart
116115 , optOldDashes = oldDashes
117116 , optHtml5 = html5
118117 , optHtmlQTags = htmlQTags
@@ -212,10 +211,6 @@ convertWithOpts opts args = do
212211 let conTeXtOutput = format == "context"
213212 let html5Output = format == "html5"
214213
215− let laTeXInput = "latex" `isPrefixOf` readerName' ||
216− "beamer" `isPrefixOf` readerName'
217−
218−
219214 -- disabling the custom writer for now
220215 writer <- if ".lua" `isSuffixOf` format
221216 -- note: use non-lowercased version writerName
@@ -295,11 +290,15 @@ convertWithOpts opts args = do
295290 uriFragment = "" }
296291 _ -> Nothing
297292
298− let readerOpts = def{ readerSmart = if laTeXInput
299− then texLigatures
300− else smart || (texLigatures &&
301− (laTeXOutput || conTeXtOutput))
302− , readerStandalone = standalone'
293+ {- TODO - smart is now an extension, but we should prob make
294+ - texligatures one too...
295+ let smartExt = if laTeXInput
296+ then texLigatures
297+ else smart || (texLigatures &&
298+ (laTeXOutput || conTeXtOutput))
299+ -}
300+
301+ let readerOpts = def{ readerStandalone = standalone'
303302 , readerParseRaw = parseRaw
304303 , readerColumns = columns
305304 , readerTabStop = tabStop
@@ -547,7 +546,6 @@ data Opt = Opt
547546 , optSectionDivs :: Bool -- ^ Put sections in div tags in HTML
548547 , optIncremental :: Bool -- ^ Use incremental lists in Slidy/Slideous/S5
549548 , optSelfContained :: Bool -- ^ Make HTML accessible offline
550− , optSmart :: Bool -- ^ Use smart typography
551549 , optOldDashes :: Bool -- ^ Parse dashes like pandoc <=1.8.2.1
552550 , optHtml5 :: Bool -- ^ Produce HTML5 in HTML
553551 , optHtmlQTags :: Bool -- ^ Use <q> tags in HTML
@@ -613,7 +611,6 @@ defaultOpts = Opt
613611 , optSectionDivs = False
614612 , optIncremental = False
615613 , optSelfContained = False
616− , optSmart = False
617614 , optOldDashes = False
618615 , optHtml5 = False
619616 , optHtmlQTags = False
@@ -692,15 +689,9 @@ options =
692689 (\opt -> return opt { optParseRaw = True }))
693690 "" -- "Parse untranslatable HTML codes and LaTeX environments as raw"
694691
695− , Option "S" ["smart"]
696− (NoArg
697− (\opt -> return opt { optSmart = True }))
698− "" -- "Use smart quotes, dashes, and ellipses"
699−
700692 , Option "" ["old-dashes"]
701693 (NoArg
702− (\opt -> return opt { optSmart = True
703− , optOldDashes = True }))
694+ (\opt -> return opt { optOldDashes = True }))
704695 "" -- "Use smart quotes, dashes, and ellipses"
705696
706697 , Option "" ["base-header-level"]