Compare commits
27 Commits
4d78319575
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
c88211d161
|
|||
|
1ed4b3bcee
|
|||
|
299f3df84e
|
|||
|
75137199da
|
|||
|
d6cc275d6f
|
|||
|
67ac7abb3f
|
|||
|
69a8757c9f
|
|||
|
addefeefef
|
|||
|
a33f0ce8f1
|
|||
|
46402622c8
|
|||
|
d511f9061c
|
|||
|
a1ea4324d0
|
|||
|
ec2117a0a5
|
|||
|
88f7257a9a
|
|||
|
05663a0435
|
|||
|
7302550209
|
|||
|
71dd6d4cb2
|
|||
|
64f7f65f0b
|
|||
|
e4c00239fa
|
|||
|
3cbd7042b2
|
|||
|
190fff9bae
|
|||
|
324fad6a5a
|
|||
|
ffd0080a31
|
|||
|
feeee8431f
|
|||
|
fe07d7f076
|
|||
|
67e51cefb9
|
|||
|
f68e8c0df8
|
4
Makefile
4
Makefile
@@ -7,10 +7,14 @@ help: ## Print the help message
|
|||||||
# Search should not include slides separated by '***', as those are for mdp, not pandoc.
|
# Search should not include slides separated by '***', as those are for mdp, not pandoc.
|
||||||
markdown != find slides/ -maxdepth 2 -type f -name "*.md" -exec grep -LF '***' '{}' ';'
|
markdown != find slides/ -maxdepth 2 -type f -name "*.md" -exec grep -LF '***' '{}' ';'
|
||||||
pdfs = $(patsubst %.md, %.pdf, $(markdown))
|
pdfs = $(patsubst %.md, %.pdf, $(markdown))
|
||||||
|
handouts = $(patsubst %.md, %_handout.pdf, $(markdown))
|
||||||
|
|
||||||
$(pdfs): %.pdf: %.md
|
$(pdfs): %.pdf: %.md
|
||||||
pandoc -t beamer -V theme:Warsaw -i $< -o $@
|
pandoc -t beamer -V theme:Warsaw -i $< -o $@
|
||||||
|
|
||||||
|
$(handouts): %_handout.pdf: %.md
|
||||||
|
pandoc -t beamer -V handout -V theme:Warsaw -i $< -o $@
|
||||||
|
|
||||||
.PHONY: pdfs
|
.PHONY: pdfs
|
||||||
pdfs: $(pdfs) ## Generate all pdfs (try `make -j pdfs`)
|
pdfs: $(pdfs) ## Generate all pdfs (try `make -j pdfs`)
|
||||||
|
|
||||||
|
|||||||
@@ -2,13 +2,6 @@
|
|||||||
|
|
||||||
Usage: `make`
|
Usage: `make`
|
||||||
|
|
||||||
or
|
|
||||||
|
|
||||||
```sh
|
|
||||||
pandoc -t beamer -V handout -V theme:Warsaw -i slides.md -o slides.pdf
|
|
||||||
## `-V handout` for one slide per one page
|
|
||||||
```
|
|
||||||
|
|
||||||
## Dependecies:
|
## Dependecies:
|
||||||
|
|
||||||
### For Debian:
|
### For Debian:
|
||||||
@@ -25,5 +18,3 @@ sudo apt install tikzit
|
|||||||
pacman -Sy pandoc texlive-binextra texlive-pictures texlive-latexrecommended texlive-fontsrecommended
|
pacman -Sy pandoc texlive-binextra texlive-pictures texlive-latexrecommended texlive-fontsrecommended
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user