...
 
Commits (2)
......@@ -5,7 +5,7 @@ ARTICLE_FILE = draft.md
OUTFILE_PREFIX ?= build/outfile
# Default extensions to be generated
DEFAULT_EXTENSIONS ?= html pdf
DEFAULT_EXTENSIONS ?= html
# Overwrite default additional extensions with nil
ADDITIONAL_EXTENSIONS ?=
......@@ -13,9 +13,6 @@ ADDITIONAL_EXTENSIONS ?=
# Place where pandoc-scholar resides
PANDOC_SCHOLAR_PATH = ../../pandoc-scholar
# Configuration of the Hypothesis panel for HTML format
PANDOC_HTML_OPTIONS = -H ../../journal-configuration/journal-config/hypothesis.html
PANDOC_WRITER_OPTIONS += --resource-path=.:../../pandoc-templates/generic-template/templates
PANDOC_WRITER_OPTIONS += --filter=$(PANDOC_CITEPROC)
......@@ -25,12 +22,17 @@ PANDOC_WRITER_OPTIONS += --filter=$(PANDOC_CITEPROC)
# PANDOC_WRITER_OPTIONS ?= --metadata-file=config/style-metadata.inc.yml
PANDOC_READER_OPTIONS ?= --metadata-file=config/article-metadata.inc.yml
# Additional option per file type
ifndef PANDOC_LATEX_OPTIONS
PANDOC_LATEX_OPTIONS = --pdf-engine=xelatex -N
PANDOC_LATEX_OPTIONS += --metadata-file=../../journal-configuration/journal-config/style-metadata.inc.yml
endif
# Configuration of the Hypothesis panel for HTML format
PANDOC_HTML_OPTIONS = -H ../../journal-configuration/journal-config/hypothesis.html
PANDOC_HTML_OPTIONS += --metadata-file=../../journal-configuration/journal-config/style-metadata.inc.yml
TEMPLATE_FILE_LATEX ?= ../../pandoc-templates/generic-template/templates/modpub-generic.latex
# TEMPLATE_FILE_LATEX ?= ../../pandoc-templates/generic-template/templates/pandoc-scholar-vanilla.latex
TEMPLATE_FILE_HTML ?= ../../pandoc-templates/generic-template/templates/modpub-generic.html
......
......@@ -30,5 +30,11 @@ links-as-notes: true
colorlinks: true
papersize: a4paper
reference-section-title: Referenzen
journal:
maintitle: Modernes Publizieren
subtitle: Journal für kollaboratives Schreiben und Publizieren
logo: ../../journal-configuration/journal-assets/journal-logo.pdf
license-badge: ../../journal-configuration/journal-assets/license-badges/
logosize: 0.5cm
---