TEXS:=$(wildcard *.tex)
.PHONY: all
-.SECONDARY: $(DOC).fmt logo.png
all: $(DOC).pdf
-%.fmt: preamble.tex logo.png
+%.fmt: preamble.tex logo.pdf
$(LATEX) $(LATEXFLAGS) -ini -jobname="$(basename $@)" "&$(LATEX) $<\dump"
%.pdf: %.tex %.fmt $(TEXS)
grep -qF 'Please rerun LaTeX.' $(basename $<).mlog &&\
$(LATEX) $(LATEXFLAGS) $< || true
-%.png: %.eps
- convert -density 300 $< -resize x1000 $@
-
clean:
$(RM) $(addprefix $(DOC).,aux log fmt toc bbl blg mlog run.xml pdf)\
$(DOC)-blx.bib logo.png
authorstext={Authors:},
righttextheader={},
righttext={}
-}
+}
\newcommand{\maketitleru}[1][]{
\setkeys{maketitleru}{#1}
\begin{titlepage}
\makeatletter
\begin{center}
\textsc{\LARGE\@rutitlecourse}\\[1.5cm]
- \ifpdf\includegraphics[height=150pt]{logo.png}\\
+ \ifpdf\includegraphics[height=150pt]{logo.pdf}\\
\else\includegraphics[height=150pt]{logo.eps}\\
\fi
\vspace{0.4cm}