From f3f4fd1ef7a696cbc015102956db0100f11a454f Mon Sep 17 00:00:00 2001 From: Hektor Misplon Date: Mon, 23 Aug 2021 17:08:52 +0200 Subject: [PATCH] Update wiki Makefile --- .wiki/Makefile | 39 +++++++++++++++++++++------------------ 1 file changed, 21 insertions(+), 18 deletions(-) diff --git a/.wiki/Makefile b/.wiki/Makefile index c81b217..288b7f6 100644 --- a/.wiki/Makefile +++ b/.wiki/Makefile @@ -10,29 +10,32 @@ VIMWIKI_DIR=/home/h/.wiki all: $(exports) %.html:%.md - pandoc \ - -f markdown \ - -t html5 \ - -c pandoc.css \ - --pdf-engine=xelatex \ - --bibliography $(VIMWIKI_DIR)/references.bib \ - --citeproc \ - --lua-filter=$(VIMWIKI_DIR)/filters/html-links.lua \ + pandoc \ + -f markdown \ + -t html5 \ + -c pandoc.css \ + --pdf-engine=xelatex \ + --bibliography $(VIMWIKI_DIR)/references.bib \ + --citeproc \ + --highlight-style=monochrome \ + --resource-path=$(VIMWIKI_DIR)/img/ \ + --lua-filter=$(VIMWIKI_DIR)/filters/html-links.lua \ --lua-filter=$(VIMWIKI_DIR)/filters/diagram-generator.lua \ - --lua-filter=$(VIMWIKI_DIR)/filters/lilypond.lua \ - --mathjax \ - --extract-media=diagrams \ + --lua-filter=$(VIMWIKI_DIR)/filters/lilypond.lua \ + --mathjax \ + --extract-media=diagrams \ + --strip-comments \ -s -o $@ $< $(target).pdf:$(entries) pandoc \ - -f markdown $(entries) \ - --pdf-engine=xelatex \ + -f markdown $(entries) \ + --pdf-engine=xelatex \ --bibliography $(VIMWIKI_DIR)/references.bib \ - --citeproc \ - --table-of-contents \ + --citeproc \ + --table-of-contents \ -o $@ -# clean: -# rm -f *.html -# rm wiki.pdf +clean: + rm -f *.html + # rm wiki.pdf