Curricula Vitae / RésumésCannot compile

ModernCV, Friggeri, Plasmati, Classicthesis-CV, and more
Post Reply
templateuser
Posts: 679
Joined: Tue Mar 03, 2015 4:01 pm

Cannot compile

Post by templateuser »

It bothers me that neither xetex nor xelatex successfully compiles.

When running xetex, error occurs that

Code: Select all

! Undefined control sequence.
l.22 \documentclass
                   []{friggeri-cv} % Add 'print' as an option into the squar...
When running xelatex, error occurs that

Code: Select all

* LaTeX warning: "xparse/redefine-command"
* 
* Redefining document command \overbrace with arg. spec. 'm' on line 2307.
*************************************************
*************************************************
* LaTeX warning: "xparse/redefine-command"
* 
* Redefining document command \underbrace with arg. spec. 'm' on line 2310.
*************************************************
))Running miktex-makemf.exe...
miktex-makemf: The Helvetica Neue source file could not be found.

Running hbf2gf.exe...


hbf2gf (CJK ver. 4.8.0)



Couldn't find `Helvetica Ne.cfg'

miktex-maketfm: No creation rule for font "Helvetica Neue".


!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
! fontspec error: "font-not-found"
! 
! The font "Helvetica Neue" cannot be found.
! 
! See the fontspec documentation for further information.
! 
! For immediate help type H <return>.
!...............................................  
                                                  
l.53 \newfontfamily\bodyfont[]{Helvetica Neue}
                                              
?



I hope that solutions can be recommended. Thank you!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
Vel
Site Moderator
Posts: 463
Joined: Fri Jun 29, 2012 1:20 am

Cannot compile

Post by Vel »

Hey,

This template should be compiled with XeLaTeX and your problem is caused by:

Code: Select all

! fontspec error: "font-not-found"
! 
! The font "Helvetica Neue" cannot be found.
You need to download the Helvetica Neue font in order to compile the template. You should be able to find it after a quick search and install it on your operating system. XeLaTeX will then pick it up and stop giving you that error and (hopefully) compile the template!

Cheers,
Vel
Founder and administrator of LaTeXTemplates.com and LaTeXTypesetting.com
templateuser
Posts: 679
Joined: Tue Mar 03, 2015 4:01 pm

Cannot compile

Post by templateuser »

Hey Vel,

I have a similar problem. I am unable to find a link to the Helvetica Neue font, unless I am misunderstanding the file type it should be. Could you perhaps provide me with a link to a place to download the font?

Thank you

Pavelshu
User avatar
Vel
Site Moderator
Posts: 463
Joined: Fri Jun 29, 2012 1:20 am

Re: Cannot compiling

Post by Vel »

Hi Pavel,

Try here: http://ge.tt/8WMTPG6/v/11

Cheers,
Vel
Founder and administrator of LaTeXTemplates.com and LaTeXTypesetting.com
templateuser
Posts: 679
Joined: Tue Mar 03, 2015 4:01 pm

Cannot compile

Post by templateuser »

Where do I find the Helvetica font for Ubuntu and... how do I install it?

Code: Select all

This is XeTeX, Version 3.1415926-2.2-0.9995.2 (TeX Live 2009/Debian)
entering extended mode
(./cv_10.tex
! Undefined control sequence.
l.22 \documentclass
                   []{friggeri-cv} % Add 'print' as an option into the squar...

Thank you!!

vivisima
User avatar
Vel
Site Moderator
Posts: 463
Joined: Fri Jun 29, 2012 1:20 am

Re: Cannot compiling

Post by Vel »

Hi,

Have a look here for installing fonts in Ubuntu: https://wiki.ubuntu.com/Fonts

Regarding where to get the Helvetica font, I found this comment on an Ubuntu forum: "You can use the Synaptic Package Manager to download the "texlive-fonts-recommended" package. It includes, inter alia, Helvetica and my personal candidate for most beautiful font, Palatino."

Good luck!

Cheers,
Vel
Founder and administrator of LaTeXTemplates.com and LaTeXTypesetting.com
templateuser
Posts: 679
Joined: Tue Mar 03, 2015 4:01 pm

Cannot compile

Post by templateuser »

ok, that worked fine :) but now.... at the time of compiling i've got this

Code: Select all

/usr/share/texmf-texlive/tex/generic/oberdiek/ifluatex.sty)

! Package unicode-math Error: Cannot run with this version of XeTeX!
(unicode-math)                You need XeTeX 0.9998 or newer..

See the unicode-math package documentation for explanation.
Type  H <return>  for immediate help.
the installed version of xetex is texlive-xetex 2009-7.....

I've downloaded unicode-math from https://github.com/wspr/unicode-math.
User avatar
Vel
Site Moderator
Posts: 463
Joined: Fri Jun 29, 2012 1:20 am

Cannot compile

Post by Vel »

Hey,

You need to install a newer version of xetex to fix this problem. I'd recommend you update your LaTeX distribution to the newest version and everything will work!

Cheers,
Vel
Founder and administrator of LaTeXTemplates.com and LaTeXTypesetting.com
Post Reply