Lots of changes including capslock block and fellowship latex template

This commit is contained in:
Jonathan Hodgson 2018-05-08 09:07:27 +01:00
parent bb1c4a14a6
commit a97618b270
5 changed files with 262 additions and 4 deletions

View file

@ -73,6 +73,21 @@ function createLetter(){
fi
}
function createFPLreport(){
if [ "$1" ]; then
if [ "$2" ]; then
newFile="$2"
else
newFile="$1"
newFile="${newFile%.*}.pdf"
fi
pandoc --template fellowship.latex --pdf-engine=xelatex $1 -o $newFile
else
echo "Oops. You need to suply a file"
return 1
fi
}
#Takes you to the parent theme
function ptheme() {
public_html=${PWD%/public_html*}/public_html