fix trailing commas and fail if something goes wrong in latex mode

This commit is contained in:
Simon Bruder 2018-04-12 20:18:01 +00:00
parent b0d831fe1a
commit 6c4e7d048f
No known key found for this signature in database
GPG key ID: 6F03E0000CC5B62F
2 changed files with 6 additions and 8 deletions

View file

@ -8,21 +8,19 @@ case "$1" in
[ -e "$file" ] && make "${file%.svg}".eps
done
[ -e "$presi/index.tex" ] && make "$presi/index.pdf"
[ -e "$presi/index.tex" ] && make "$presi/index.pdf" || true
done
true
;;
"libreoffice")
for presi in latex/* revealjs/*;do
[ -e "$presi/handout.odt" ] && make "$presi/handout.pdf"
[ -e "$presi/handout.odt" ] && make "$presi/handout.pdf" || true
done
;;
"revealjs")
make revealjs/node_modules
for presi in revealjs/*;do
[ -e "$presi/index.html" ] && make "$presi/index.pdf"
[ -e "$presi/index.html" ] && make "$presi/index.pdf" || true
done
;;
*)

View file

@ -23,21 +23,21 @@
Extension = .ttf,
UprightFont = DINW07-Regular,
BoldFont = DINW07-Bold,
ItalicFont = DINW07-Italic,
ItalicFont = DINW07-Italic
]
\setmainfont{}[ % Activate with \textrm{}
Path = /usr/share/fonts/truetype/vollkorn/,
Extension = .ttf,
UprightFont = Vollkorn-Regular,
BoldFont = Vollkorn-Bold,
ItalicFont = Vollkorn-Italic,
ItalicFont = Vollkorn-Italic
]
%\setmonofont{}[ % Activate with \texttt{}
% Path = /home/simon/.fonts/typecatcher/,
% Extension = .ttf,
% UprightFont = Roboto Mono_regular,
% BoldFont = Roboto Mono_300,
% ItalicFont = Roboto Mono_italic,
% ItalicFont = Roboto Mono_italic
%]
\setbeamercovered{transparent}