We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9977684 commit 95bf5b2Copy full SHA for 95bf5b2
build/build.sh
@@ -85,6 +85,15 @@ if [ "${BUILD_DOCX:-}" = "true" ]; then
85
--defaults=docx.yaml
86
fi
87
88
+# Create LaTeX output (if BUILD_LATEX environment variable equals "true")
89
+if [ "${BUILD_LATEX:-}" = "true" ]; then
90
+ echo >&2 "Exporting LaTeX manuscript"
91
+ pandoc \
92
+ --data-dir="$PANDOC_DATA_DIR" \
93
+ --defaults=common.yaml \
94
+ --defaults=latex.yaml
95
+fi
96
+
97
# Spellcheck
98
if [ "${SPELLCHECK:-}" = "true" ]; then
99
export ASPELL_CONF="add-extra-dicts $(pwd)/build/assets/custom-dictionary.txt; ignore-case true"
build/pandoc/defaults/latex.yaml
@@ -0,0 +1,4 @@
1
+# Pandoc --defaults for LaTeX output.
2
+# Load on top of common defaults.
3
+to: latex
4
+output-file: output/manuscript.tex
0 commit comments