Removed writerInclude{Before,After} from WriterOptions.

This is no longer used with the new templating system.
This commit is contained in:
John MacFarlane 2010-07-04 16:55:48 -07:00
parent 3548bf6d9c
commit 15cc99c617
2 changed files with 0 additions and 12 deletions

View file

@ -462,8 +462,6 @@ data WriterOptions = WriterOptions
{ writerStandalone :: Bool -- ^ Include header and footer
, writerTemplate :: String -- ^ Template to use in standalone mode
, writerVariables :: [(String, String)] -- ^ Variables to set in template
, writerIncludeBefore :: String -- ^ Text to include before the body
, writerIncludeAfter :: String -- ^ Text to include after the body
, writerTabStop :: Int -- ^ Tabstop for conversion btw spaces and tabs
, writerTableOfContents :: Bool -- ^ Include table of contents
, writerS5 :: Bool -- ^ We're writing S5
@ -486,8 +484,6 @@ defaultWriterOptions =
WriterOptions { writerStandalone = False
, writerTemplate = ""
, writerVariables = []
, writerIncludeBefore = ""
, writerIncludeAfter = ""
, writerTabStop = 4
, writerTableOfContents = False
, writerS5 = False

View file

@ -145,8 +145,6 @@ data Opt = Opt
, optTransforms :: [Pandoc -> Pandoc] -- ^ Doc transforms to apply
, optTemplate :: String -- ^ Custom template
, optVariables :: [(String,String)] -- ^ Template variables to set
, optBefore :: [String] -- ^ Texts to include before body
, optAfter :: [String] -- ^ Texts to include after body
, optOutputFile :: String -- ^ Name of output file
, optNumberSections :: Bool -- ^ Number sections in LaTeX
, optIncremental :: Bool -- ^ Use incremental lists in S5
@ -186,8 +184,6 @@ defaultOpts = Opt
, optTransforms = []
, optTemplate = ""
, optVariables = []
, optBefore = []
, optAfter = []
, optOutputFile = "-" -- "-" means stdout
, optNumberSections = False
, optIncremental = False
@ -624,8 +620,6 @@ main = do
, optWriter = writerName
, optParseRaw = parseRaw
, optVariables = variables
, optBefore = befores
, optAfter = afters
, optTableOfContents = toc
, optTransforms = transforms
, optTemplate = template
@ -757,8 +751,6 @@ main = do
then defaultTemplate
else template,
writerVariables = variables'',
writerIncludeBefore = concat befores,
writerIncludeAfter = concat afters,
writerTabStop = tabStop,
writerTableOfContents = toc &&
writerName' /= "s5",