]> mj.ucw.cz Git - ads1.git/commitdiff
Pridano volani pstopsfix
authorMartin Mares <mj@ucw.cz>
Wed, 29 Apr 2009 12:15:00 +0000 (14:15 +0200)
committerMartin Mares <mj@ucw.cz>
Wed, 29 Apr 2009 12:15:00 +0000 (14:15 +0200)
Makerules

index 5025f05d038950bc4712d8c8cb8447196bdfd06e..14eeea9c30d9b397b4f1df56988bba0d12c2c241 100644 (file)
--- a/Makerules
+++ b/Makerules
@@ -15,10 +15,10 @@ all: $P.ps
        dvipdfm -o $@ -x 9mm -y 9mm -p a5 -r 600 -z 9 $<
 
 %-booklet.ps: %.ps
-       psbook <$< | pstops '2:0L(210mm,0)+1L(210mm,148mm)' | sed 's/^%%BoundingBox: .*/%%BoundingBox: 0 0 595 842/;s/^%%DocumentPaperSizes:.*/%%DocumentPaperSizes: a4\n%%Orientation: Landscape/' >$@
+       psbook <$< | pstops '2:0L(210mm,0)+1L(210mm,148mm)' | sed 's/^%%BoundingBox: .*/%%BoundingBox: 0 0 595 842/;s/^%%DocumentPaperSizes:.*/%%DocumentPaperSizes: a4\n%%Orientation: Landscape/' | pstopsfix >$@
 
 %-2in1.ps: %.ps
-       pstops '2:0L(210mm,0mm)+1L(210mm,148mm)' <$< | sed 's/^%%BoundingBox: .*/%%BoundingBox: 0 0 595 842/;s/^%%DocumentPaperSizes:.*/%%DocumentPaperSizes: a4\n%%Orientation: Landscape/' >$@
+       pstops '2:0L(210mm,0mm)+1L(210mm,148mm)' <$< | sed 's/^%%BoundingBox: .*/%%BoundingBox: 0 0 595 842/;s/^%%DocumentPaperSizes:.*/%%DocumentPaperSizes: a4\n%%Orientation: Landscape/' | pstopsfix >$@
 
 %-booklet.pdf: %-booklet.ps
        ps2pdf $< $@