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

master
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 [ -e "$file" ] && make "${file%.svg}".eps
done done
[ -e "$presi/index.tex" ] && make "$presi/index.pdf" [ -e "$presi/index.tex" ] && make "$presi/index.pdf" || true
done done
true
;; ;;
"libreoffice") "libreoffice")
for presi in latex/* revealjs/*;do for presi in latex/* revealjs/*;do
[ -e "$presi/handout.odt" ] && make "$presi/handout.pdf" [ -e "$presi/handout.odt" ] && make "$presi/handout.pdf" || true
done done
;; ;;
"revealjs") "revealjs")
make revealjs/node_modules make revealjs/node_modules
for presi in revealjs/*;do for presi in revealjs/*;do
[ -e "$presi/index.html" ] && make "$presi/index.pdf" [ -e "$presi/index.html" ] && make "$presi/index.pdf" || true
done done
;; ;;
*) *)

View File

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