@@ -980,6 +980,8 @@ data ObfuscationMethod = NoObfuscation
980980-- | Options for writers
981981data WriterOptions = WriterOptions
982982 { writerStandalone :: Bool -- ^ Include header and footer
983+ , writerTemplate :: String -- ^ Template to use in standalone mode
984+ , writerVariables :: [(String, String)] -- ^ Variables to set in template
983985 , writerHeader :: String -- ^ Header for the document
984986 , writerTitlePrefix :: String -- ^ Prefix for HTML titles
985987 , writerTabStop :: Int -- ^ Tabstop for conversion btw spaces and tabs
@@ -1003,6 +1005,8 @@ data WriterOptions = WriterOptions
10031005defaultWriterOptions :: WriterOptions
10041006defaultWriterOptions =
10051007 WriterOptions { writerStandalone = False
1008+ , writerTemplate = ""
1009+ , writerVariables = []
10061010 , writerHeader = ""
10071011 , writerTitlePrefix = ""
10081012 , writerTabStop = 4