Skip to content

Instantly share code, notes, and snippets.

@soyoil
Created December 13, 2020 15:35
Show Gist options
  • Save soyoil/7ed709f460736b799d857024c1e6b0b4 to your computer and use it in GitHub Desktop.
Save soyoil/7ed709f460736b799d857024c1e6b0b4 to your computer and use it in GitHub Desktop.
レポートを生成するスクリプト(完全に自分用)
#!/bin/sh
CMD=$0
if [ $# -ne 1 ]; then
echo "Usage: ${CMD##*/} file"
exit 1
fi
cat $PWD/$1 | pandoc $FILEPATH \
-N \
-f markdown \
-H $PWD/../template.tex \
-o $PWD/report.pdf \
-V documentclass=ltjsarticle \
--listings \
--pdf-engine=lualatex
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment