Created
December 13, 2020 15:35
-
-
Save soyoil/7ed709f460736b799d857024c1e6b0b4 to your computer and use it in GitHub Desktop.
レポートを生成するスクリプト(完全に自分用)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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