Changeset 13:98a495a50e49 in lemon-tutorial
- Timestamp:
- 11/01/08 09:07:55 (16 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titlegen.py
r10 r13 57 57 elif gr[2]: 58 58 prev_page=ind[page][1] 59 prev_str= ( '\\ref '+prev_page ) if prev_page else '' 59 if prev_page: 60 prev_str= ( '\\ref '+prev_page ) 61 else: 62 prev_str='' 60 63 next_page=ind[page][2] 61 next_str= ( '\\ref '+next_page ) if next_page else '' 64 if next_page: 65 next_str= ( '\\ref '+next_page ) 66 else: 67 next_str='' 62 68 fo.write('<< %s | \\ref toc "Home" | %s >>\n'%\ 63 69 (prev_str,next_str))
Note: See TracChangeset
for help on using the changeset viewer.