diff --git a/build/assets/acmart-primary.zip b/build/assets/acmart-primary.zip new file mode 100644 index 000000000..93c11c372 Binary files /dev/null and b/build/assets/acmart-primary.zip differ diff --git a/build/build.sh b/build/build.sh index af9014490..82038f205 100755 --- a/build/build.sh +++ b/build/build.sh @@ -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 diff --git a/build/pandoc/defaults/latex.yaml b/build/pandoc/defaults/latex.yaml index b38d29143..07693a781 100644 --- a/build/pandoc/defaults/latex.yaml +++ b/build/pandoc/defaults/latex.yaml @@ -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