From ff15526b66d737c04a24eab4b5cec6cd1131225a Mon Sep 17 00:00:00 2001 From: Bastien Dumont Date: Thu, 24 Dec 2020 12:38:51 +0100 Subject: [PATCH] Ajout d'un export DOCX du fichier de validation --- Utilitaires/Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Utilitaires/Makefile b/Utilitaires/Makefile index e4b305b..bf03cfa 100644 --- a/Utilitaires/Makefile +++ b/Utilitaires/Makefile @@ -7,6 +7,7 @@ OUTPUT_FILE_SUFFIX = _CSL-Tests.html CSL_FILE_SUFFIX = .csl JSON_BIBLIO_UTILITIES_DIR = /home/bdumont/Logiciels/Pandoc-utilities/FileModifiers-Pandoc VALIDATION_PROV_FILE = $(PROV_PREFIX)$(JOURNAL)$(VALIDATION_FILE_SUFFIX) +VALIDATION_PROV_FILE = $(PROV_PREFIX)$(JOURNAL).docx CSL_FILE = $(STYLESHEETS_DIR)/$(JOURNAL)/$(JOURNAL)$(CSL_FILE_SUFFIX) VALIDATION_FILE = $(STYLESHEETS_DIR)/$(JOURNAL)/$(JOURNAL)$(VALIDATION_FILE_SUFFIX) OUTPUT_FILE = $(STYLESHEETS_DIR)/$(JOURNAL)/$(JOURNAL)$(OUTPUT_FILE_SUFFIX) @@ -45,6 +46,13 @@ $(VALIDATION_PROV_FILE): $(BIBLIO_FILE) $(CSL_FILE) $(INPUT_FILE) $(INPUT_FILE) \ -o $(VALIDATION_PROV_FILE) +validation-docx: $(VALIDATION_DOCX_FILE) + +$(VALIDATION_DOCX_FILE): $(BIBLIO_FILE) $(CSL_FILE) $(INPUT_FILE) + pandoc $(PANDOC_OPTIONS) \ + $(INPUT_FILE) \ + -o $(VALIDATION_DOCX_FILE) + $(INPUT_FILE): $(BIBLIO_FILE) ./generer-md-pour-citeproc.sh $(BIBLIO_FILE) $(INPUT_FILE)