From 979750583f5d1d1398b232d1c8fdfd9c4f853f01 Mon Sep 17 00:00:00 2001 From: Bastien Dumont Date: Thu, 21 Jan 2021 21:09:13 +0100 Subject: [PATCH] =?UTF-8?q?Ajout=20du=20support=20pour=20la=20g=C3=A9n?= =?UTF-8?q?=C3=A9ration=20du=20PDF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Utilitaires/Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Utilitaires/Makefile b/Utilitaires/Makefile index e4b305b..80939fa 100644 --- a/Utilitaires/Makefile +++ b/Utilitaires/Makefile @@ -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