diff options
author | tradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2002-05-14 14:24:27 +0000 |
---|---|---|
committer | tradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2002-05-14 14:24:27 +0000 |
commit | be255f6c2cb3afc2a7116401d0bafd901e9fec01 (patch) | |
tree | 03217209f8069da0c58310c081d0d6132a508291 /lib/sbin | |
parent | 791d1aed8ed28f2cb1b96679fc2eda907d484546 (diff) |
Leave the page numbers unchanged for part letters beyond 'Z'.
That's what my latex does in this case.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2812 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib/sbin')
-rwxr-xr-x | lib/sbin/FixPageNumbersInPostscript.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/sbin/FixPageNumbersInPostscript.pl b/lib/sbin/FixPageNumbersInPostscript.pl index f8253eaa..444b830a 100755 --- a/lib/sbin/FixPageNumbersInPostscript.pl +++ b/lib/sbin/FixPageNumbersInPostscript.pl @@ -34,7 +34,8 @@ while (<>) if ($last_line =~ /eop$/ && /^%%Page: (\d+) (\d+)$/) { $part++ if ($1 == 1); - $_ = "%%Page: ${part_letters[$part]}$1 $2\n"; + $_ = "%%Page: ${part_letters[$part]}$1 $2\n" + if defined(${part_letters[$part]}); } print; |