1
0
Fork 0

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)
(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)
))

View File

@ -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