blob: b75f8849fd207065426a2f475005fe7f6d3bef04 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#
# Makefile -- intro
#
# (c) 2017 Prof Dr Andreas Müller, Hochschule Rapperswil
#
all: intro-handout.pdf MathSem-01-intro.pdf
include ../slides/Makefile.inc
SOURCES = common.tex slides.tex $(slides)
MathSem-01-intro.pdf: MathSem-01-intro.tex $(SOURCES)
pdflatex MathSem-01-intro.tex
intro-handout.pdf: intro-handout.tex $(SOURCES)
pdflatex intro-handout.tex
thumbnail: thumbnail.jpg
thumbnail.pdf: MathSem-01-intro.pdf
pdfjam --outfile thumbnail.pdf --papersize '{16cm,9cm}' \
MathSem-01-intro.pdf 1
thumbnail.jpg: thumbnail.pdf
convert -density 300 thumbnail.pdf \
-resize 1920x1080 -units PixelsPerInch thumbnail.jpg
|