Last active
December 17, 2015 06:48
-
-
Save rinx/5567999 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 | |
if [ -z $1 ]; then | |
filename=doc | |
else | |
filename=$1 | |
fi | |
lualatex -ini lualatex.ini > /dev/null 2>&1 | |
cat << EOF > .gitignore | |
lualatex.fmt | |
lualatex.log | |
texsys.aux | |
$filename.aux | |
$filename.log | |
$filename.pdf | |
EOF | |
touch $filename.tex | |
git init | |
git add . | |
git commit -m "first commit" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment