Skip to content

Commit

Permalink
Apply citeproc to commonmark conversion #13
Browse files Browse the repository at this point in the history
  • Loading branch information
pintergreg committed Sep 21, 2024
1 parent c2d9b59 commit dafcd3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

FileUtils.cp('lectures/SUMMARY.md', "#{@target}/")
chapters.each do |x|
`pandoc #{x} -f markdown+tex_math_double_backslash -t commonmark+tex_math_dollars --mathjax -o #{@target}/#{x} -L assets/exclude_elements.lua`
`pandoc #{x} -f markdown+tex_math_double_backslash -t commonmark+tex_math_dollars --mathjax -o #{@target}/#{x} -L assets/exclude_elements.lua --citeproc --csl assets/apa.csl --bibliography lectures/references.bib --bibliography lectures/wikipedia.bib`
end

FileUtils.cp_r "lectures/figures/.", "#{@target}/lectures/figures/"
Expand Down

0 comments on commit dafcd3d

Please sign in to comment.