Last active
April 15, 2021 15:36
-
-
Save pas-calc/84ab99bcee597e5f179e7ca06e6bd0b4 to your computer and use it in GitHub Desktop.
script to compile LaTeX with biber bibliography
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/bash | |
echo "Started" | |
SCRIPTPATH="$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )" | |
echo "SCRIPTPATH = ${SCRIPTPATH}" | |
#~mate-terminal -e "pdflatex Thesis && biber Thesis && pdflatex Thesis" | |
#~gnome-terminal -e 'bash -c "gedit; echo Monkey; read line"' | |
#~gnome-terminal -e 'bash -c "gedit; echo Monkey; bash"' | |
mate-terminal --working-directory=$SCRIPTPATH -e 'bash -c "echo PDFLATEX; pdflatex Thesis && biber Thesis && pdflatex Thesis; echo FERTIG; read -t 5 -p ."' | |
#~read line | |
#~read -t 10 -p "Hit ENTER or wait ten seconds" | |
#~https://askubuntu.com/questions/630698/how-can-i-keep-the-gnome-terminal-open-after-a-program-closes | |
#~mate-terminal --working-directory="/home/" --command "bash -c ls;bash" | |
#~Reliable way for a Bash script to get the full path to itself | |
#~https://stackoverflow.com/a/4774063 | |
# xdg-open Thesis.pdf | |
### LaTeX: | |
## \usepackage[ | |
## backend=biber, | |
## style=alphabetic, | |
## sorting=nty | |
## ]{biblatex} | |
## \addbibresource{referenzen.bib} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment