-
tex_compile_makefile.sh
This script is to be called with a tex file as argument.
Usage: $0 <path-to-main.tex> <other make options. e.g. '-j2 -B'>
This is useful for externalized tikz pictures which use
mode=list and make
, where a makefile is written. If externalization is not active (or anothermode
), then pdflatex is called.In case the makefile indicates an update to the set of
tikzpicture
s is necessary, it will runmake -j
, andpdflatex
afterwards.Note that this script still requires to be called twice if there were changes in the figures have been done. I prefer it this way. Otherwise add another call to pdflatex.
Mostly inspired by http://tex.stackexchange.com/questions/145501/integrating-latexmk-and-tikz-external-mode-list-and-make
-
recOe1.sh: Records from oe1 webstream and saves it into a file
<name-string>-<date>.mp3
Usage:
./recOe1.sh <length in seconds> <name-string (e.g Pasticcio)>
If the
<name-string>
matches a title onoe1.orf.at/programm
, then also the abstract is saved in<name-string>-<date>.txt
Configure the script variables (optional):
TARGET_DIR
: path to save directory, default~/oe1/
OPTIONAL (leave empty if files are not made publicly accessible):
WWW_DIR
: directory of a path of the webserver (e.g./var/www/oe1
, has to be owned by the executing user)WWW_BASE_URL
web address of webserver, e.g.http://myserver.at/oe1
. This is where links are made available.
Conveniently use this is a
cronjob
, e.g.
29 22 * * 0 : Matrix Computer und neue Medien 30min; sleep 40; /home/seb/scripts/recOe1.sh 1860 Matrix