Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I'm trying to do my CV with moderncv but Texmaker show me an error

!LaTeX Error:File 'moderncv.cls' not found. 

But the moderncv macro is installed in TeX Live 2011.

share|improve this question
3  
from a terminal, do sudo mktexlsr to update the files database, and then kpsewhich moderncv.cls, just to check that it is correctly installed. –  Koji Apr 10 '12 at 8:47
1  
Also, which tex or which kpsewhich to be sure that the correct TeX Live installation is in use, in case you have two (eg, one installed by yourself, and one installed by your linux distro as a dependency to another package). –  mpg Apr 10 '12 at 20:35
    
And for Windows? I use windows 7 and Ubuntu. –  Vassilis Apr 11 '12 at 11:45
    
@Vassilis MiKTeX or TeX Live? For TL, you can start a Command Prompt with admin rights and proceed as for Linux (without sudo, of course). For MiKTeX, you are probably better using the graphical tools: update the Filename Data Base from the 'admin' version of the settings manager. –  Joseph Wright Apr 15 '12 at 8:00
    
Since you have some responses below that seem to answer your question, please consider marking one of them as ‘Accepted’ by clicking on the tickmark below their vote count (see How do you accept an answer?). This shows which answer helped you most, and it assigns reputation points to the author of the answer (and to you!). It's part of this site's idea to identify good questions and answers through upvotes and acceptance of answers. –  Jubobs Mar 19 at 20:35

1 Answer 1

On Linux From a Terminal, type sudo mktexlsr to update the files database, and then kpsewhich moderncv.cls, just to check that it is correctly installed.

On Windows For TeX Live, you can start a Command Prompt with admin rights and proceed as for Linux (without sudo, of course). For MiKTeX, you are probably better using the graphical tools: update the Filename Database from the 'admin' version of the settings manager.

share|improve this answer
    
when I tried to do from a terminal,mktexlsr to update the files database, and kpsewhich moderncv.cls,I got this error: starting package maintenance... installation directory: C:\Users\lenovo\AppData\Roaming\MiKTeX\2.9 package repository: ftp.uniRoma2.it/TeX/systems/win32/miktex/tm/packages lightweight database digest: cb165a1c18f8d7e97d99f5d594be9dd3 going to download 890787 bytes going to install 24 file(s) (1 package(s)) downloading ftp.uniRoma2.it/TeX/systems/win32/miktex/tm/packages/…... kpsewhich: Couldn't connect to server what Should I do and thanks –  Lina Aug 21 '13 at 22:15

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.