Ajout d'un export DOCX du fichier de validation

This commit is contained in:
Bastien Dumont 2020-12-24 12:38:51 +01:00
parent 49ce57ed59
commit ff15526b66

View File

@ -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)