repo.or.cz
/
ccbib.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Added non-fiction texts of 'With a Little Help'
[ccbib.git]
/
scripts
/
a4duplex_on_a3
blob
56e97ccb6a877bc2b4887550c4769fef9c10bec9
1
#!/bin/sh
2
3
#bbox="0 0 596 842" #A4
4
bbox
=
"0 0 842 1191"
#A3
5
6
if
[
-z
"
$2
"
];
then
7
output
=
A3_$
(
basename
$1
)
8
else
9
output
=
$2
10
fi
11
12
pstops
-pa3
"2:0L(1w,0)+1L(1w,0.5h)"
$1
| strippagesize
"
$bbox
"
a3
>
$output
13