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
/
a6_on_a4
blob
169baf9528281e291d2bf5a0c9af063edda15ced
1
#!/bin/sh
2
3
SIZES
=
"-w21.0cm -h29.7cm -W 10.5cm -H14.82cm"
4
5
if
[
-z
"
$2
"
];
then
6
output
=
$
(
basename
$1
)
7
else
8
output
=
$2
9
fi
10
11
pstops
2
:
0
$1
| mypsbook
-g4
| psnup
-s1
.0
$SIZES
-4
>
v_
$output
12
pstops
2
:
1
$1
| mypsbook
-g4
| pstops
"2:1,0"
| psnup
-s1
.0
$SIZES
-4
>
h_
$output
13