all: talk.pdf SOURCES=\ talk.org \ $(wildcard _build/*.png) \ $(wildcard img/*.jpg) \ $(wildcard img/*.png) \ $(NULL) OUT=talk.pdf $(OUT): $(SOURCES) mkdir -p _build # org-src-preserve-indentation prevents spaces converted to tabs in babel) emacs -batch $< --eval='(setq org-src-preserve-indentation t)' \ --eval='(org-beamer-export-to-pdf)' clean: rm -f *.tex $(OUT) _build mode: wlr-randr --output HDMI-A-1 --mode 1280x720@50 wlr-randr --output HDMI-A-1 --mode 1280x720@50 --pos 0,0 wlr-randr --output eDP-1 --pos 0,721 record: wf-recorder -a 'Logitech H360 Headset' -o HDMI-A-1 run: pdf-presenter-console talk.pdf