Example #1
0
    def __init__(self, options={}):
        ECMDSConfigReader.__init__(self)
        ECMDSDTDResolver.__init__(self)
        ECMDSPreprocessor.__init__(self)

        self.readConfig(options)
        self.loadPlugins()
        self.loadStylesheet()
Example #2
0
    def __init__(self, options):
        ECMDSConfigReader.__init__(self)
        ECMDSDTDResolver.__init__(self)

        self.config = {
            "document_type": "report",
            "bcor": "0cm",
            "div": "16",
            "lang": "en_US",
            "papersize": "a4",
            "parskip": "half",
            "secnumdepth": "2",
            "secsplitdepth": "1",
            "header": "",
            "tocdepth": "5",
            "have_lof": "no",
            "have_lot": "no",
            "have_lol": "no",
            "contents": ""
        }

        self.config.update(options)