Skip to content

Commit

Permalink
stub change to build.sh demonstrating potential solution to manubot#112
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelmhoffman committed Aug 2, 2019
1 parent 3defccf commit b143cd0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions build/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ manubot process \
CSL_PATH=build/assets/style.csl
BIBLIOGRAPHY_PATH=output/references.json
INPUT_PATH=output/manuscript.md
THEME_HTML_PATH="${THEME_HTML_PATH:-build/themes/default.html}"

# Make output directory
mkdir -p output
Expand All @@ -39,7 +40,7 @@ pandoc --verbose \
--bibliography="$BIBLIOGRAPHY_PATH" \
--csl="$CSL_PATH" \
--metadata link-citations=true \
--include-after-body=build/themes/default.html \
--include-after-body="$THEME_HTML_PATH" \
--include-after-body=build/plugins/table-scroll.html \
--include-after-body=build/plugins/anchors.html \
--include-after-body=build/plugins/accordion.html \
Expand Down Expand Up @@ -76,7 +77,7 @@ if [ "${BUILD_PDF:-}" != "false" ] && [ -z "$DOCKER_EXISTS" ]; then
--csl="$CSL_PATH" \
--metadata link-citations=true \
--webtex=https://latex.codecogs.com/svg.latex? \
--include-after-body=build/themes/default.html \
--include-after-body="$THEME_HTML_PATH" \
--output=output/manuscript.pdf \
"$INPUT_PATH"
rm images
Expand Down

0 comments on commit b143cd0

Please sign in to comment.