Changeset 437 for pkpgcounter/trunk/pkpgpdls/postscript.py
- Timestamp:
- 11/28/06 18:03:07 (18 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pkpgcounter/trunk/pkpgpdls/postscript.py
r428 r437 101 101 proceed = 1 102 102 try : 103 newpagenum = int(line.split(']')[0].split()[1]) 103 # treats both "%%Page: x x" and "%%Page: (x-y) z" (probably N-up mode) 104 newpagenum = int(line.split(']')[0].split()[-1]) 104 105 except : 105 106 notinteger = 1 # It seems that sometimes it's not an integer but an EPS file name