summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)),)