Changeset 15:7cc2418766c3 in lemon-tutorial
- Timestamp:
- 11/01/08 09:25:30 (16 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titlegen.py
r14 r15 17 17 for i in sec: 18 18 s+=str(i)+'.' 19 s=s[:-1] 19 20 return s 20 21 … … 72 73 secs.sort() 73 74 for num in secs: 74 fo.write("%s - \\ref %s\n"%(' '*(len(num)-2),toc[num])) 75 fo.write("%s - \\ref %s\n"%(' '*((len(ind[toc[num]][0]))), 76 toc[num])) 75 77 else: 76 78 fo.write(gr[4]+'\n')
Note: See TracChangeset
for help on using the changeset viewer.