Skip to content

Commit ad12e57

Browse files
authored
Merge pull request #114 from StefRe/png_white_bg
Make png background opaque white
2 parents 02aa721 + 9c26d79 commit ad12e57

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

Diff for: Makefile

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
SRC := $(wildcard *.tex)
2+
CONVERTFLAGS = -density 150 -alpha remove -depth 8
23

34
.PHONY: default
45
default: all
@@ -22,16 +23,16 @@ figures:
2223
.PHONY: cheatsheets
2324
cheatsheets:
2425
xelatex cheatsheets.tex
25-
convert -density 150 cheatsheets.pdf -scene 1 cheatsheets.png
26+
convert $(CONVERTFLAGS) cheatsheets.pdf -scene 1 cheatsheets.png
2627

2728
.PHONY: handouts
2829
handouts:
2930
xelatex handout-beginner.tex
3031
xelatex handout-intermediate.tex
3132
xelatex handout-tips.tex
32-
convert -density 150 handout-tips.pdf handout-tips.png
33-
convert -density 150 handout-beginner.pdf handout-beginner.png
34-
convert -density 150 handout-intermediate.pdf handout-intermediate.png
33+
convert $(CONVERTFLAGS) handout-tips.pdf handout-tips.png
34+
convert $(CONVERTFLAGS) handout-beginner.pdf handout-beginner.png
35+
convert $(CONVERTFLAGS) handout-intermediate.pdf handout-intermediate.png
3536

3637
.PHONY: check
3738
check:

0 commit comments

Comments
 (0)