@@ -145,8 +145,6 @@ data Opt = Opt
145 , optTransforms :: [Pandoc -> Pandoc] -- ^ Doc transforms to apply
145 , optTransforms :: [Pandoc -> Pandoc] -- ^ Doc transforms to apply
146 , optTemplate :: String -- ^ Custom template
146 , optTemplate :: String -- ^ Custom template
147 , optVariables :: [(String,String)] -- ^ Template variables to set
147 , optVariables :: [(String,String)] -- ^ Template variables to set
148− , optBefore :: [String] -- ^ Texts to include before body
149− , optAfter :: [String] -- ^ Texts to include after body
150 , optOutputFile :: String -- ^ Name of output file
148 , optOutputFile :: String -- ^ Name of output file
151 , optNumberSections :: Bool -- ^ Number sections in LaTeX
149 , optNumberSections :: Bool -- ^ Number sections in LaTeX
152 , optIncremental :: Bool -- ^ Use incremental lists in S5
150 , optIncremental :: Bool -- ^ Use incremental lists in S5
@@ -186,8 +184,6 @@ defaultOpts = Opt
186 , optTransforms = []
184 , optTransforms = []
187 , optTemplate = ""
185 , optTemplate = ""
188 , optVariables = []
186 , optVariables = []
191 , optOutputFile = "-" -- "-" means stdout
187 , optOutputFile = "-" -- "-" means stdout
192 , optNumberSections = False
188 , optNumberSections = False
193 , optIncremental = False
189 , optIncremental = False
@@ -624,8 +620,6 @@ main = do
624 , optWriter = writerName
620 , optWriter = writerName
625 , optParseRaw = parseRaw
621 , optParseRaw = parseRaw
626 , optVariables = variables
622 , optVariables = variables
627− , optBefore = befores
629 , optTableOfContents = toc
623 , optTableOfContents = toc
630 , optTransforms = transforms
624 , optTransforms = transforms
631 , optTemplate = template
625 , optTemplate = template
@@ -757,8 +751,6 @@ main = do
757 then defaultTemplate
751 then defaultTemplate
758 else template,
752 else template,
759 writerVariables = variables'',
753 writerVariables = variables'',
760− writerIncludeBefore = concat befores,
761− writerIncludeAfter = concat afters,
762 writerTabStop = tabStop,
754 writerTabStop = tabStop,
763 writerTableOfContents = toc &&
755 writerTableOfContents = toc &&
764 writerName' /= "s5",
756 writerName' /= "s5",