git.iko.soy/typeable/pandoc
on master help sign in
pandoc: Removed deprecated --xetex option.
09b7ae4John MacFarlane
src/pandoc.hs−10
@@ -102,7 +102,6 @@ data Opt = Opt
102 , optSectionDivs :: Bool -- ^ Put sections in div tags in HTML
102 , optSectionDivs :: Bool -- ^ Put sections in div tags in HTML
103 , optIncremental :: Bool -- ^ Use incremental lists in Slidy/S5
103 , optIncremental :: Bool -- ^ Use incremental lists in Slidy/S5
104 , optSelfContained :: Bool -- ^ Make HTML accessible offline
104 , optSelfContained :: Bool -- ^ Make HTML accessible offline
105− , optXeTeX :: Bool -- ^ Format latex for xetex
106 , optSmart :: Bool -- ^ Use smart typography
105 , optSmart :: Bool -- ^ Use smart typography
107 , optOldDashes :: Bool -- ^ Parse dashes like pandoc <=1.8.2.1
106 , optOldDashes :: Bool -- ^ Parse dashes like pandoc <=1.8.2.1
108 , optHtml5 :: Bool -- ^ Produce HTML5 in HTML
107 , optHtml5 :: Bool -- ^ Produce HTML5 in HTML
@@ -151,7 +150,6 @@ defaultOpts = Opt
151 , optSectionDivs = False
150 , optSectionDivs = False
152 , optIncremental = False
151 , optIncremental = False
153 , optSelfContained = False
152 , optSelfContained = False
154− , optXeTeX = False
155 , optSmart = False
153 , optSmart = False
156 , optOldDashes = False
154 , optOldDashes = False
157 , optHtml5 = False
155 , optHtml5 = False
@@ -360,14 +358,6 @@ options =
360 optStandalone = True }))
358 optStandalone = True }))
361 "" -- "Make slide shows include all the needed js and css"
359 "" -- "Make slide shows include all the needed js and css"
362
360
363− , Option "" ["xetex"]
364− (NoArg
365− (\opt -> do
366− warn $ "pandoc: --xetex is deprecated. "
367− ++ "It is no longer needed for use with XeTeX."
368− return opt { optXeTeX = True }))
369− "" -- "Format latex for processing by XeTeX"
370−
371 , Option "" ["chapters"]
361 , Option "" ["chapters"]
372 (NoArg
362 (NoArg
373 (\opt -> return opt { optChapters = True }))
363 (\opt -> return opt { optChapters = True }))