From: Martin Mares Date: Thu, 8 Oct 2009 13:55:42 +0000 (+0200) Subject: Uploadujeme PDF, ne PS-booklet. X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=b4a2b1cee173d3aec12dbecdcabd01d3886c2d90;p=ads2.git Uploadujeme PDF, ne PS-booklet. --- diff --git a/1-toky/1-toky.tex b/1-toky/1-toky.tex index fe5b8f9..585f8b1 100644 --- a/1-toky/1-toky.tex +++ b/1-toky/1-toky.tex @@ -1,6 +1,6 @@ \input lecnotes.tex -\prednaska{2}{Toky v sítích}{(zapsala Markéta Popelová)} +\prednaska{1}{Toky v sítích}{(zapsala Markéta Popelová)} \s{Motivaèní úloha:} Rozvod èajovodu do~v¹ech uèeben diff --git a/Makerules b/Makerules index e3910b9..432feb7 100644 --- a/Makerules +++ b/Makerules @@ -1,18 +1,18 @@ export TEXINPUTS=.:..: -all: $P.ps +all: $P.pdf %.dvi: %.tex ../lecnotes.tex ../mjmac.tex csplain $< -#%.pdf: %.tex ../lecnotes.tex ../mjmac.tex -# pdfcsplain $< - %.ps: %.dvi dvips -D600 -o $@ -O-15.4mm,-15.4mm -t a5 $< -%.pdf: %.dvi - dvipdfm -o $@ -x 9mm -y 9mm -p a5 -r 600 -z 9 $< +#%.pdf: %.dvi +# dvipdfm -o $@ -x 9mm -y 9mm -p a5 -r 600 -z 9 $< + +%.pdf: %.ps + ps2pdf13 $< $@ %-booklet.ps: %.ps psbook <$< | pstops '2:0L(210mm,0)+1L(210mm,148mm)' | ../utils/pstopsfix | sed 's/^%%BoundingBox: .*/%%BoundingBox: 0 0 595 842/;s/^%%DocumentPaperSizes:.*/%%DocumentPaperSizes: a4\n%%Orientation: Landscape/' >$@ @@ -28,8 +28,8 @@ clean:: mostlyclean ifndef CUSTOM_UPLOAD upload:: - make $P-booklet.ps - scp -C $P-booklet.ps jabberwock:www/vyuka/0708/ads2/$P-booklet.ps + make $P-booklet.pdf + scp -C $P-booklet.pdf jabberwock:www/vyuka/0910/ads2/$P.pdf endif .SECONDARY: