I'm trying to create my CV in LaTeX but got into problems. I'm using Ubuntu 12.04, the package texlive-latex-extra
includes the 2008 version of moderncv, but I want to use the newer 2012 moderncv version which has it's differences. I cannot uninstall that package because some packages there are used by other documents.
I've downloaded the new moderncv from CTAN but I'm having trouble using it. I'm trying to organize my document using the following layout:
style/
<- moderncv files, *.sty, *.cls, etc.publish/
<- pdflatex output.cv.tex
<- My CV.publications.bib
<- My publications.face.png
<- Photo.Makefile
<- Makefile :P
In my Makefile I have:
all:
TEXINPUTS=./style//:$TEXINPUTS pdflatex -halt-on-error -output-directory ./publish/ ./cv.tex
clean:
rm -rf ./publish/*
The problem comes here:
When I try to make
I got several errors:
(./style/moderncv.cls
Document Class: moderncv 2012/08/10 v1.1.3 modern curriculum vitae and letter document class
! LaTeX Error: File `size11.clo' not found.
! LaTeX Error: File `etoolbox.sty' not found.
! LaTeX Error: File `ifthen.sty' not found.
! LaTeX Error: File `xcolor.sty' not found.
! LaTeX Error: File `fontenc.sty' not found.
! LaTeX Error: Unknown option `T1' for package `fontenc'.
An I don't know how to fix them.
I can compile the document if I move the style/*
files (moderncv classes) to the same directory as the cv.tex
file but that's a mess. What am I missing?
TEXINPUTS
for something this simple.tlmgr update --self --all
.pdflatex
that everything it needs to find will be in thestyle
directory, which clearly isn't true. You should either update your TeX distribution, or update only the relevant packages (say, if bandwidth is a problem). The answer linked to in my earlier comment shows you how to do either method. The even more short-term, and not recommended solution is, as you've figured out, to leave themoderncv
stuff in the working directory.