srd2pdf.sh 255 B

12345678910111213
  1. #!/bin/bash
  2. pandoc.static "$1" \
  3. -H chapter_break.tex \
  4. -V linkcolor:blue \
  5. -V geometry:a4paper \
  6. -V geometry:margin=2cm \
  7. --latex-engine=xelatex \
  8. -o build/"$2"
  9. pdftk build/"$2" update_info bookmark.txt \
  10. output dist/"$2"