Switch to using pdflatex, dvipdf messes up images sometimes.
authorMatthijs Kooijman <kooijman@eris.recoresystems.com>
Tue, 1 Jul 2008 15:48:40 +0000 (17:48 +0200)
committerMatthijs Kooijman <kooijman@eris.recoresystems.com>
Tue, 1 Jul 2008 15:48:40 +0000 (17:48 +0200)
Presentations/Makefile

index d1a1e9fc0751e8003cfdce0acb9984e687e22057..285b7c36bede50c3baf67f0953c4d0a553182f1e 100755 (executable)
@@ -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