75: #line 86 "latex_weaver.ipk"
76: def class_reference(self, hlevel=2, *args, **kwds):
77: ids = self.master.classes
78: keys = ids.keys()
79: keys.sort()
80: if hlevel >0:
81: self.head(hlevel,'Index of Classes')
82: self._writeline('\\begin{tabular}{ll}')
83: for k in keys:
84: refs = ids[k]
85: self._write('\\verb+'+k+'+&')
86: old_df = ''
87: for sf,sc,df,dc in refs:
88: if old_df != '': self._write(', ')
89: if old_df != df:
90: self._writeline(cvt_code(df)+': '+str(dc)+'\\ref{'+sf+':'+str(sc)+'}')
91: old_df = df
92: else:
93: self._writeline(': '+str(dc)+'\\ref{'+sf+':'+str(sc)+'}')
94: self._write('\\\\\n')
95: self._writeline('\\end{tabular}\n')
96:
97:
98: def set_fc_anchor(self,file,count):
99: self._write('\\label{'+file+':'+str(count)+'}')
100: