Example #1
0
    def __init__(self,_options,_dict=None):
        udict.__init__(self)

        global options
        options = _options
        if _dict:
            self.update(_dict)
Example #2
0
    def __init__(self,options,cfg,gspec,spec):
        udict.__init__(self)

        self.update(spec)
        self._gen = gspec
        self._cfg = cfg
        self._options = options
        self._errs = {}
        self._warn = {}
Example #3
0
File: LaTeX.py Project: exedre/e4t
    def __init__(self,_options,cfg=None):
        sristatpkg = 'sristat'

        if hasattr(_options,'tex_options') and _options.tex_options:
            sristatpkg += "[" + ','.join(_options.tex_options) + "]"
            LaTeX._default_cfg['packages']=sristatpkg
        udict.__init__(self,LaTeX._default_cfg)
        if cfg is not None:
            self.update(cfg)

        ## Save global options for other elements
        ## (sigh)
        global options
        options = _options
Example #4
0
 def __init__(self,config=None,options=Options()):
     udict.__init__(self)
     if config: self.update(config)
     logger.debug("Setup Postprocessor")
     self.options = options
Example #5
0
File: LaTeX.py Project: exedre/e4t
 def __init__(self,spec,*args):
     udict.__init__(self)
     self.update(spec)
     needed(self,'TITLE')
Example #6
0
File: LaTeX.py Project: exedre/e4t
 def __init__(self,jobs):
     udict.__init__(self)
     self._jobs = jobs
Example #7
0
File: LaTeX.py Project: exedre/e4t
 def __init__(self,spec):
     udict.__init__(self)
     self.update(spec)
     needed(self,'PAGES')
Example #8
0
File: LaTeX.py Project: exedre/e4t
 def __init__(self,spec):
     udict.__init__(self)
     self.update(spec)
Example #9
0
File: LaTeX.py Project: exedre/e4t
 def __init__(self,spec):
     udict.__init__(self)
     self.update(spec)
     # needed(self,'TITLE','DATE','NUM')
     self._imgfile  = md5_filename_from_data(self['COVERFILE'])+'.pdf'
Example #10
0
File: LaTeX.py Project: exedre/e4t
 def __init__(self,*args):
     udict.__init__(self)
     self.twocolumns = True
Example #11
0
 def __init__(self,**kw):
     udict.__init__(self,**kw)
     self._missing = []
Example #12
0
    def __init__(self,pipe,label,config):
        udict.__init__(self)

        self._pipe = pipe
        self._label = label
        self._setup(label,config)
Example #13
0
    def __init__(self,_dict):
        udict.__init__(self)

        self.update(_dict)