6.14.8.1. Lambda Class

This is the Lambda weaver: it is just the latex weaver with an extra keyword added to the constructor arguments to cause Omega to invoke the UTF-8 compiled translation process (ocp).
Start python section to interscript/weavers/llambda.py[1 /1 ]
     1: #line 479 "latex_weaver.ipk"
     2: from interscript.weavers.latex import latex_weaver
     3: from interscript.drivers.sinks.bufdisk import named_file_sink
     4: 
     5: def mk_llambda(pass_frame,basename, directory, prefix, eol, title, language):
     6:   if language: filename = directory + language + '_' + basename + '.tex'
     7:   else: filename = directory + basename + '.tex'
     8:   w = named_file_sink(pass_frame,filename, prefix)
     9:   if not title: title = basename
    10:   return llambda_weaver(pass_frame,w, title=title,language=language)
    11: 
    12: class llambda_weaver(latex_weaver):
    13:   def __init__(self, pass_frame, writer, language='', **kwds):
    14:     kwds2=kwds.copy()
    15:     kwds2['llambda']=None
    16:     apply(latex_weaver.__init__, (pass_frame, writer, language), kwds2)
    17: 
End python section to interscript/weavers/llambda.py[1]