Ajout du support pour la génération du PDF

This commit is contained in:
Bastien Dumont 2021-01-21 21:09:13 +01:00
parent fee2905986
commit 979750583f

View File

@ -14,6 +14,8 @@ FILTERS_FILE_FIRST = $(STYLESHEETS_DIR)/$(JOURNAL)/$(JOURNAL)_filters-first.txt
FILTERS_LIST_FIRST != ./get-filters.sh $(FILTERS_FILE_FIRST)
FILTERS_FILE_LAST = $(STYLESHEETS_DIR)/$(JOURNAL)/$(JOURNAL)_filters-last.txt
FILTERS_LIST_LAST != ./get-filters.sh $(FILTERS_FILE_LAST)
DOC_DIR = ../Documentation
DOC_FILE = $(DOC_DIR)/GUIDE_CSL-Clio
PANDOC_OPTIONS = -s \
$(FILTERS_LIST_FIRST) \
-C \
@ -59,3 +61,6 @@ install: $(VALIDATION_PROV_FILE)
clean:
rm $(STYLESHEETS_DIR)/*/*$(OUTPUT_FILE_SUFFIX)
doc:
pandoc -s -o $(DOC_FILE).pdf --resource-path=.:$(DOC_DIR) --pdf-engine=lualatex --template=TEMPLATE_Guide-CSL-Clio.latex $(DOC_FILE).md