Compare commits
27 Commits
master
...
4d78319575
| Author | SHA1 | Date | |
|---|---|---|---|
| 4d78319575 | |||
| f92cf0c343 | |||
| c2bbd1795d | |||
| ae70d14a3e | |||
| 85cfc60d48 | |||
| 19017cfbb1 | |||
| ba3caa5bcf | |||
| 1b2e77d610 | |||
| cd21983232 | |||
| 7ecfcb6a6c | |||
| 4c81a3b3cb | |||
| 1a444120e0 | |||
| 979dff793d | |||
| 6c5a00b18d | |||
| e13dbe316b | |||
| 1c73f70782 | |||
| 498b078199 | |||
| 611ace277a | |||
| 6915e520f3 | |||
| 162270d5db | |||
| 790d22a6bc | |||
| f11c7c82b6 | |||
| 3b5ce34285 | |||
| 2738c7daa9 | |||
| 7435e1a5c4 | |||
| a1c8976817 | |||
| 2a9ef0820c |
4
Makefile
4
Makefile
@@ -7,14 +7,10 @@ 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,6 +2,13 @@
|
|||||||
|
|
||||||
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:
|
||||||
@@ -18,3 +25,5 @@ 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