Skip to content

Commit

Permalink
Extract BibTeX file
Browse files Browse the repository at this point in the history
  • Loading branch information
agitter committed Apr 27, 2021
1 parent 7cbfafe commit e43ef6d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
Binary file added build/assets/acmart-primary.zip
Binary file not shown.
12 changes: 10 additions & 2 deletions build/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -260,11 +260,19 @@ if [ "${BUILD_INDIVIDUAL:-}" = "true" ]; then
--data-dir="$PANDOC_DATA_DIR" \
--defaults=latex.yaml \
--metadata=title:"$INDIVIDUAL_TITLE" \
--natbib \
output/$INDIVIDUAL_KEYWORD/manuscript.md
mv output/manuscript.tex output/$INDIVIDUAL_KEYWORD-manuscript.tex

#rm -rf content/$INDIVIDUAL_KEYWORD
#rm -rf output/$INDIVIDUAL_KEYWORD
# Translate the CSL JSON references Manubot output into BibTeX
pandoc --verbose \
--from=csljson \
--to=bibtex \
--output=output/$INDIVIDUAL_KEYWORD.bib \
output/$INDIVIDUAL_KEYWORD/references.json

rm -rf content/$INDIVIDUAL_KEYWORD
rm -rf output/$INDIVIDUAL_KEYWORD
done
fi

Expand Down
1 change: 0 additions & 1 deletion build/pandoc/defaults/latex.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,3 @@ number-offset: [0,0,0,0,0,0]
# offset Manubot's use of level-1 headings for the title only
shift-heading-level-by: -1
standalone: true
natbib: true

0 comments on commit e43ef6d

Please sign in to comment.