Install latex cv templates from last git version

This commit is contained in:
Óscar Nájera 2018-05-01 19:59:43 +02:00
parent ba25453f9e
commit fdfae8168f
2 changed files with 7 additions and 4 deletions

View file

@ -25,7 +25,7 @@
(find-file workfile) (find-file workfile)
(org-mode) (org-mode)
(org-export-to-file backend outfile) (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) (copy-file (concat file ".pdf") cwd)
)) ))

View file

@ -8,12 +8,15 @@ echo "Installed Hugo:"
hugo version hugo version
# Latex # Latex
latexdir=/root/texmf/tex/latex
echo "Install altacv" 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" 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" echo "Install fontawesome for latex"
fontdir=/root/texmf/tex/latex/fontawesome/ fontdir=$latexdir/fontawesome/
mkdir -p $fontdir mkdir -p $fontdir
wget -P $fontdir http://mirrors.ctan.org/fonts/fontawesome/tex/fontawesome.sty wget -P $fontdir http://mirrors.ctan.org/fonts/fontawesome/tex/fontawesome.sty