summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugeniy E. Mikhailov <evgmik@gmail.com>2019-08-28 13:53:09 -0400
committerEugeniy E. Mikhailov <evgmik@gmail.com>2019-08-28 13:53:09 -0400
commitd7c168d8f9f65de296323b92bafa117fd8f8878b (patch)
tree436f5cd50ef29d127f7921ddd2c721f73efb869d
parent30fb85a300ba1af8995702dcd52eefd713bb027a (diff)
downloadmakefile_templates-d7c168d8f9f65de296323b92bafa117fd8f8878b.tar.gz
makefile_templates-d7c168d8f9f65de296323b92bafa117fd8f8878b.zip
updates to reflect changes in new pandoc
-rw-r--r--pandoc.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/pandoc.mk b/pandoc.mk
index c15d80a..bdb308e 100644
--- a/pandoc.mk
+++ b/pandoc.mk
@@ -31,7 +31,7 @@ PANDOC_PREPROCESSOR_OPTIONS ?= -U "" "" "(" "," ")" "(" ")" "\#" "\\" -M "<\#" "
PANDOC_PREPROCESSOR ?= $(PANDOC_PREPROCESSOR_CMD) $(PANDOC_PREPROCESSOR_OPTIONS)
PANDOC_CMD := pandoc
-PANDOC_COMMON_OPTIONS ?= --standalone --smart
+PANDOC_COMMON_OPTIONS ?= --standalone -f markdown+smart
PANDOC := $(PANDOC_CMD) $(PANDOC_COMMON_OPTIONS)
PANDOC_DATA_DIR ?= $(CONFIG_DIR)
@@ -68,8 +68,8 @@ PANDOC_PDF_METADATA ?= $(PANDOC_TEX_METADATA)
PANDOC_DOCX_METADATA ?= cat -
PANDOC_HTML_OPTIONS ?= --section-divs --toc
-PANDOC_TEX_OPTIONS ?= --latex-engine=pdflatex
-PANDOC_PDF_OPTIONS ?= --latex-engine=pdflatex
+PANDOC_TEX_OPTIONS ?= --pdf-engine=pdflatex
+PANDOC_PDF_OPTIONS ?= --pdf-engine=pdflatex
PANDOC_DOCX_OPTIONS ?= -t docx
ifneq ($(strip $(PANDOC_CSS)),)