File tree 3 files changed +21
-0
lines changed
3 files changed +21
-0
lines changed Original file line number Diff line number Diff line change 1
1
[submodule "ci/opentimestamps-client "]
2
2
path = ci/opentimestamps-client
3
3
url = https://github.com/opentimestamps/opentimestamps-client.git
4
+ [submodule "build/assets/pandoc-jats "]
5
+ path = build/assets/pandoc-jats
6
+ url = https://github.com/mfenner/pandoc-jats
Original file line number Diff line number Diff line change @@ -51,6 +51,23 @@ wkhtmltopdf \
51
51
webpage/index.html \
52
52
output/manuscript.pdf
53
53
54
+ # Create JATS XML output
55
+ # https://github.com/mfenner/pandoc-jats
56
+ echo " Exporting JATS XML manuscript"
57
+ pandoc --verbose \
58
+ --smart \
59
+ --from=markdown \
60
+ --to=build/assets/pandoc-jats/JATS.lua \
61
+ --filter pandoc-fignos \
62
+ --filter pandoc-eqnos \
63
+ --filter pandoc-tablenos \
64
+ --template=build/assets/pandoc-jats/default.jats \
65
+ --bibliography=$BIBLIOGRAPHY_PATH \
66
+ --csl=$CSL_PATH \
67
+ --metadata link-citations=true \
68
+ --output=output/manuscript.xml \
69
+ $INPUT_PATH
70
+
54
71
# Create DOCX output when user specifies to do so
55
72
if [ " $BUILD_DOCX " = " true" ];
56
73
then
You can’t perform that action at this time.
0 commit comments