@@ -145,8 +145,6 @@ data Opt = Opt
145145 , optTransforms :: [Pandoc -> Pandoc] -- ^ Doc transforms to apply
146146 , optTemplate :: String -- ^ Custom template
147147 , optVariables :: [(String,String)] -- ^ Template variables to set
148− , optBefore :: [String] -- ^ Texts to include before body
149− , optAfter :: [String] -- ^ Texts to include after body
150148 , optOutputFile :: String -- ^ Name of output file
151149 , optNumberSections :: Bool -- ^ Number sections in LaTeX
152150 , optIncremental :: Bool -- ^ Use incremental lists in S5
@@ -186,8 +184,6 @@ defaultOpts = Opt
186184 , optTransforms = []
187185 , optTemplate = ""
188186 , optVariables = []
189− , optBefore = []
190− , optAfter = []
191187 , optOutputFile = "-" -- "-" means stdout
192188 , optNumberSections = False
193189 , optIncremental = False
@@ -624,8 +620,6 @@ main = do
624620 , optWriter = writerName
625621 , optParseRaw = parseRaw
626622 , optVariables = variables
627− , optBefore = befores
628− , optAfter = afters
629623 , optTableOfContents = toc
630624 , optTransforms = transforms
631625 , optTemplate = template
@@ -757,8 +751,6 @@ main = do
757751 then defaultTemplate
758752 else template,
759753 writerVariables = variables'',
760− writerIncludeBefore = concat befores,
761− writerIncludeAfter = concat afters,
762754 writerTabStop = tabStop,
763755 writerTableOfContents = toc &&
764756 writerName' /= "s5",