File tree 2 files changed +13
-11
lines changed
2 files changed +13
-11
lines changed Original file line number Diff line number Diff line change @@ -82,17 +82,11 @@ if [ "${BUILD_DOCX:-}" = "true" ]; then
82
82
--defaults=" $PANDOC_DEFAULTS_DIR /docx.yaml"
83
83
fi
84
84
85
- echo " Exporting JATS XML manuscript"
85
+ echo >&2 " Exporting JATS XML manuscript"
86
+ if [ " ${BUILD_JATS:- } " != " false" ]; then
86
87
pandoc --verbose \
87
- --from=markdown \
88
- --to=jats \
89
- --filter=pandoc-fignos \
90
- --filter=pandoc-eqnos \
91
- --filter=pandoc-tablenos \
92
- --bibliography=$BIBLIOGRAPHY_PATH \
93
- --csl=$CSL_PATH \
94
- --metadata link-citations=true \
95
- --output=output/manuscript.xml \
96
- $INPUT_PATH
88
+ --defaults=" $PANDOC_DEFAULTS_DIR /common.yaml" \
89
+ --defaults=" $PANDOC_DEFAULTS_DIR /jats.yaml"
90
+ fi
97
91
98
92
echo >&2 " Build complete"
Original file line number Diff line number Diff line change
1
+ # Pandoc --defaults for JATS XML output.
2
+ # Load on top of common defaults.
3
+ to : jats
4
+ output-file : output/manuscript.xml
5
+ reference-doc : build/themes/default.docx
6
+ resource-path :
7
+ - ' .'
8
+ - content
You can’t perform that action at this time.
0 commit comments