I've been using Texmaker on Ubuntu 12.04 for a while now. I've editing several documents and especially resumes. However, I've recently been experiencing several problems with LaTex and Texmaker, starting from the upgrade to Ubuntu 12.10.
Every time I try to run the file, I have the same error message :
! LaTeX Error: File `roman.sty' not found.
Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)
Enter file name:
! Emergency stop.
<read *>
l.3 \moderncvtheme[grey,roman]{classic}
^^M
*** (cannot \read from terminal in nonstop modes)
Here is how much of TeX's memory you used:
3985 strings out of 493485
55137 string characters out of 3143526
154265 words of memory out of 3000000
7282 multiletter control sequences out of 15000+200000
4403 words of font info for 15 fonts, out of 3000000 for 9000
957 hyphenation exceptions out of 8191
42i,0n,53p,787b,152s stack positions out of 5000i,500n,10000p,200000b,50000s
! ==> Fatal error occurred, no output PDF file produced!
This problem really just started when I upgraded Ubuntu from 12.04 to 12.10.
During the installation process, I've been notified about "some packages" removal but I don't know which ones.
I've tried to remove all the .tex
files and packages I have and performed a new installation. The problem is still the same.
Here is a relevant part of my LaTeX document for where it errors out on:
\documentclass[10pt,a4paper,roman]{moderncv}
\moderncvtheme[grey,roman]{classic}
\usepackage[utf8]{inputenc}
\usepackage[scale=0.95]{geometry}
\setlength{\hintscolumnwidth}{2cm}
\AtBeginDocument{\setlength{\maketitlenamewidth}{10cm}}
\AtBeginDocument{\recomputelengths}
I've also asked this question on Tex.se
Best Answer
It appears that you're using a non-existent option
roman
to theclassic
theme ofmoderncv
here:Unfortunately, the homepage of
moderncv
at CTAN does not provide any real documentation. The only piece available about it is in the example template file. It is not mentioned as a valid option in there.In Ubuntu 12.04 there was also no
roman.sty
file available, so that makes me believe you might have had a localroman.sty
file in the local directory some earlier time. While 12.10 upgraded TeXLive from the 2009 version to 2012, I really believe this is not the root cause for your issue.I also believe you should ask this on Tex.SE for the specific use of this LaTeX package.