]> pere.pagekite.me Git - text-madewithcc.git/commitdiff
Ask pandoc to create standalone docbook.
authorPetter Reinholdtsen <pere@hungry.com>
Tue, 6 Feb 2018 08:14:11 +0000 (09:14 +0100)
committerPetter Reinholdtsen <pere@hungry.com>
Tue, 6 Feb 2018 08:14:11 +0000 (09:14 +0100)
Makefile

index 0de6e86f52e6c46d0d297a387881e5d829da0999..3345f00824b530b6d733a522204445baea9e3ee2 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -18,11 +18,15 @@ TEXLANGCODE=es
 #TEXLANG=norsk
 #TEXLANGCODE=nb
 
-PANDOC_OPTS = --top-level-division=part -t docbook -f markdown+inline_notes+ascii_identifiers \
+# pandoc version 1.17.2~dfsg-3 do not understand
+# --top-level-diversion, while version 1.19.2.4~dfsg-1+b3 do.
+PANDOC_OPTS = \
+  --standalone \
+  --top-level-division=part \
+  -t docbook \
+  -f markdown+inline_notes+ascii_identifiers \
   --variable 'author:Paul Stacey' --variable 'author:Sarah Hinchliff Pearson' \
   --variable 'title:$(TITLE)'
-# --top-level-diversion is not available in pandoc in Jessie
-# PANDOC_OPTS = -t docbook -f markdown+inline_notes
 
 LANGS := $(shell ls po/*/mwcc.po|cut -d/ -f2)