29: #line 37 "latex_weaver.ipk" 30: def __init__(self, pass_frame, writer, language='', **kwds): 31: weaver_base.__init__(self, pass_frame, language) 32: self.sink = writer 33: if 'weavers' in self.process.trace: 34: print 'initialising latex weaver, writer',writer.get_sink_name() 35: self.protocol = 'LaTeX2e' 36: self.persistent_frame['protocol']=self.protocol 37: self.acount = 1 38: self.tag_stack = [] 39: self.comments = 0 40: self.master = pass_frame.master 41: self.list = [] 42: self.heading_level_offset = 0 43: self.name = 'latex2e weaver v1 for '+self.sink.name 44: self.persistent_frame['name']=self.name 45: self.verbatim = 0 46: self.start_of_line = 1 47: self.prolog(kwds) 48: