From fdfae8168fc03687c2d832eaa45f37f6ca1dd827 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=93scar=20N=C3=A1jera?= Date: Tue, 1 May 2018 19:59:43 +0200 Subject: [PATCH] Install latex cv templates from last git version --- genfiles.el | 2 +- installs.sh | 9 ++++++--- 2 files changed, 7 insertions(+), 4 deletions(-) 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