Skip to content

Commit d54dfd4

Browse files
committed
Preliminary JATS XML output
1 parent 52211e1 commit d54dfd4

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

build/build.sh

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,4 +82,17 @@ if [ "${BUILD_DOCX:-}" = "true" ]; then
8282
--defaults="$PANDOC_DEFAULTS_DIR/docx.yaml"
8383
fi
8484

85+
echo "Exporting JATS XML manuscript"
86+
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
97+
8598
echo >&2 "Build complete"

0 commit comments

Comments
 (0)