From 05ef79f4d49e971ac8a6ccbee1b924a43c49307a Mon Sep 17 00:00:00 2001 From: Matthijs Kooijman Date: Tue, 1 Jul 2008 17:48:40 +0200 Subject: [PATCH] Switch to using pdflatex, dvipdf messes up images sometimes. --- Presentations/Makefile | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/Presentations/Makefile b/Presentations/Makefile index d1a1e9f..285b7c3 100755 --- a/Presentations/Makefile +++ b/Presentations/Makefile @@ -2,22 +2,27 @@ all: Progress.pdf InternalProgress.pdf REPEAT_TEXT = 'Rerun to get cross-references right' -%.pdf: %.dvi - dvipdf $(basename $@) +#%.pdf: %.dvi +# dvipdf $(basename $@) + +IMAGES=images/*.svg %.ps: %.svg inkscape $(addsuffix .svg,$(basename $@)) --export-ps=$@ -%.dvi: %.tex images/recoretheme/recore_logo_bow.ps - latex '\scrollmode\input $(basename $@)' || exit 1; \ - latex '\scrollmode\input $(basename $@)' || exit 1; \ +%.pdf: %.svg + inkscape $(addsuffix .svg,$(basename $@)) --export-pdf=$@ + +%.pdf: %.tex images/recoretheme/recore_logo_bow.pdf + pdflatex '\scrollmode\input $(basename $@)' || exit 1; \ + pdflatex '\scrollmode\input $(basename $@)' || exit 1; \ while grep -s $(REPEAT_TEXT) $(addsuffix .log,$(basename $@)) ; do \ - latex '\scrollmode\input $(basename $@)' || exit 1; \ + pdflatex '\scrollmode\input $(basename $@)' || exit 1; \ done # Extra dependencies -Progress.dvi: beamerthemerecore.sty images/Compiling.ps -InternalProgress.dvi: beamerthemerecore.sty +Progress.pdf: beamerthemerecore.sty images/Compiling.pdf +InternalProgress.pdf: beamerthemerecore.sty clean: rm -f *.ps *.pdf *.dvi *.log *.toc *.out *.aux *.bbl *.blg *.lof *.nav *.snm -- 2.30.2