forked from mirrors/org-cv
Install latex cv templates from last git version
This commit is contained in:
parent
ba25453f9e
commit
fdfae8168f
2 changed files with 7 additions and 4 deletions
|
@ -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)
|
||||
))
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue