diff --git a/genfiles.el b/genfiles.el index 0d66cbd..7710088 100644 --- a/genfiles.el +++ b/genfiles.el @@ -25,7 +25,7 @@ (find-file workfile) (org-mode) (org-export-to-file backend outfile) - (shell-command (format "pdflatex %s" outfile)) + (shell-command (format "pdflatex %s" outfile) "*Messages*" "*Messages*") (copy-file (concat file ".pdf") cwd) )) diff --git a/installs.sh b/installs.sh index 505577e..c5c44a8 100755 --- a/installs.sh +++ b/installs.sh @@ -8,12 +8,15 @@ echo "Installed Hugo:" hugo version # Latex +latexdir=/root/texmf/tex/latex echo "Install altacv" -git clone https://github.com/Titan-C/AltaCV.git /root/texmf/tex/latex/AltaCV +wget https://github.com/Titan-C/AltaCV/archive/sections.zip +unzip -j sections.zip -d $latexdir/AltaCV echo "Install moderncv" -git clone https://github.com/Titan-C/moderncv.git /root/texmf/tex/latex/moderncv +wget https://github.com/Titan-C/moderncv/archive/master.zip +unzip -j master.zip -d $latexdir/moderncv echo "Install fontawesome for latex" -fontdir=/root/texmf/tex/latex/fontawesome/ +fontdir=$latexdir/fontawesome/ mkdir -p $fontdir wget -P $fontdir http://mirrors.ctan.org/fonts/fontawesome/tex/fontawesome.sty