report: Vectorize RU logo
authorDaan Sprenkels <dsprenkels@gmail.com>
Mon, 10 Oct 2016 12:46:28 +0000 (14:46 +0200)
committerDaan Sprenkels <dsprenkels@gmail.com>
Mon, 10 Oct 2016 12:46:28 +0000 (14:46 +0200)
report/.gitignore
report/Makefile
report/logo.pdf [new file with mode: 0644]
report/rutitlepage.sty

index b4b1e45..7a6dcef 100644 (file)
@@ -9,3 +9,4 @@
 *.pdf
 *-blx.bib
 logo.png
+!logo.pdf
index 20d0aa5..9426ffd 100644 (file)
@@ -6,11 +6,10 @@ LATEXFLAGS:=-file-line-error -halt-on-error -no-shell-escape
 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)
@@ -20,9 +19,6 @@ all: $(DOC).pdf
        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
diff --git a/report/logo.pdf b/report/logo.pdf
new file mode 100644 (file)
index 0000000..d92241c
Binary files /dev/null and b/report/logo.pdf differ
index f1f330e..b739a94 100644 (file)
        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}