Commit fa9fef47 authored by Manuel Grizonnet's avatar Manuel Grizonnet

BUG: remove export script from santiago

parent e260b8de
#!/bin/bash
for f in workshopSlides-*.org
do
filename=$(basename "$f")
extension="${filename##*.}"
filename="${filename%.*}"
echo "Processing $f"
emacs -u penaluqs $filename.org --batch -f org-beamer-export-to-latex --kill
#add pdf version
sed -i '1 i \\\pdfminorversion=4' $filename.tex
#export to pdf
pdflatex -interaction nonstopmode $filename.tex
pdflatex -interaction nonstopmode $filename.tex
done
for f in workshopGuide-*.org
do
filename=$(basename "$f")
extension="${filename##*.}"
filename="${filename%.*}"
echo "Processing $f"
emacs -u penaluqs $filename.org --batch -f org-latex-export-to-latex --kill
#add pdf version
sed -i '1 i \\\pdfminorversion=4' $filename.tex
#export to pdf
pdflatex -interaction nonstopmode $filename.tex
pdflatex -interaction nonstopmode $filename.tex
done
for f in workshopSolution-*.org
do
filename=$(basename "$f")
extension="${filename##*.}"
filename="${filename%.*}"
echo "Processing $f"
emacs -u penaluqs $filename.org --batch -f org-latex-export-to-latex --kill
#add pdf version
sed -i '1 i \\\pdfminorversion=4' $filename.tex
#export to pdf
pdflatex -interaction nonstopmode $filename.tex
pdflatex -interaction nonstopmode $filename.tex
done
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment