--- a2ps-j.orig Thu Mar 23 20:55:08 2006 +++ a2ps-j Thu Mar 23 20:56:00 2006 @@ -54,6 +54,7 @@ @param_us = ( 8.50, 11.06, 0.65, 1.2, 6.85, 9.5, 0.29, 0.22, 0.12, 'letter'); @param_a4 = ( 8.27, 11.64, 1.20, 1.2, 6.60, 9.8, 0.29, 0.22, 0.05, 'a4'); @param_b4 = (10.15, 14.31, 1.40, 1.2, 8.50, 9.5, 0.29, 0.22, 0.08, 'b4'); +@param_a3 = (11.64, 16.46, 1.60, 1.2, 7.07,10.5, 0.29, 0.22, 0.05, 'a3'); sub paper { local(*param) = 'param_' . $_[0]; die "Unknown paper type: $_[0]\n" unless defined @param; @@ -97,7 +98,7 @@ next if $_ eq ''; if (s/^help$//) {&usage; next;} if (s/^basename$//) {$basename++; next;} - if (s/^(us|a4|b4)$//i) {&paper($paper="\L$1"); next;} + if (s/^(us|a4|b4|a3)$//i) {&paper($paper="\L$1"); next;} if (s/^l(.*)$//) {defined($label=$1||shift)||&usage; next;} if (s/^L(.*)$//) {defined($sublabel=$1||shift)||&usage; next;} if (s/^toc$//) {defined($toc=shift)||&usage; next;} @@ -154,8 +155,8 @@ -fu# underline font (O: Courier-BoldOblique) -k# kanji:ascii font size ratio (1.0) -j[#] adjust ascii font height to Japanese (1.0) - -us/a4/b4 - US letter / A4 / B4 + -us/a4/b4/a3 + US letter / A4 / B4 / A3 -toc pattern specify table of contents pattern -help print this message