diff options
author | Jonas Smedegaard <dr@jones.dk> | 2024-08-30 12:29:22 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2024-08-30 13:53:26 +0200 |
commit | 0a74790763c61bf5603e240b66579f7b00fce1df (patch) | |
tree | 9ba9273b1ff83f64fe34b5f418df017cc1622ace /Makefile | |
parent | a1c1cbe4a877879a69027851bb57dbf8ddd7abbc (diff) |
generate preview of paper front pages
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -1,3 +1,5 @@ +PAPERS = $(wildcard report/*/*.pdf) + all: render cal-render publish preview: @@ -19,3 +21,11 @@ cal-render: cal-publish: rsync -av --delete-after events/study www-ruc@xayide.jones.dk:public_websites/play.abcde.../events/ + +frontpages: $(addsuffix /paper.svg,$(dir $(PAPERS))) + +%.svg: +# pdftocairo -f 1 -l 1 -svg "$(wildcard $(dir $@)/*.pdf)" "$@" +# dvisvgm --pdf --optimize --font-format=woff2 --output=$@ "$(wildcard $(dir $@)/*.pdf)" + dvisvgm --pdf --optimize --no-fonts --output=$@ "$(wildcard $(dir $@)/*.pdf)" +# pdf2svg "$(wildcard $(dir $@)/*.pdf)" $@ 1 |