COIN-OR::LEMON - Graph Library

Changeset 15:7cc2418766c3 in lemon-tutorial for titlegen.py


Ignore:
Timestamp:
11/01/08 09:25:30 (16 years ago)
Author:
Alpar Juttner <alpar@…>
Branch:
default
Phase:
public
Message:

No dots after the section numbers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titlegen.py

    r14 r15  
    1717    for i in sec:
    1818        s+=str(i)+'.'
     19    s=s[:-1]
    1920    return s
    2021
     
    7273                secs.sort()
    7374                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]))
    7577            else:
    7678                fo.write(gr[4]+'\n')
Note: See TracChangeset for help on using the changeset viewer.