3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-07-24 05:08:56 +00:00

Added first presentation slides

This commit is contained in:
Clifford Wolf 2014-01-27 17:08:19 +01:00
parent fa103e55ad
commit fb4c3dff33
7 changed files with 105 additions and 1 deletions

47
manual/presentation.sh Executable file
View file

@ -0,0 +1,47 @@
#!/bin/bash
fast_mode=false
set -- $(getopt fu "$@")
while [ $# -gt 0 ]; do
case "$1" in
-f)
fast_mode=true
;;
--)
shift
break
;;
-*)
echo "$0: error - unrecognized option $1" 1>&2
exit 1
;;
*)
break
esac
shift
done
PDFTEX_OPT="-shell-escape -halt-on-error"
if ! $fast_mode; then
md5sum *.aux *.snm *.nav *.toc > autoloop.old
fi
set -ex
pdflatex $PDFTEX_OPT presentation.tex
if ! $fast_mode; then
while
md5sum *.aux *.snm *.nav *.toc > autoloop.new
! cmp autoloop.old autoloop.new
do
cp autoloop.new autoloop.old
pdflatex $PDFTEX_OPT presentation.tex
done
rm -f autoloop.old
rm -f autoloop.new
fi