Curricula Vitae / RésumésYet another compilation question

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

Yet another compilation question

Post by templateuser »

Hi, I'm a fairly experienced latex user although so far I've stuck to pdflatex and bibtex. However, when trying to compile your example I get a huge number of issues that seem to be related to the following three lines in the .cls

Code: Select all

\newfontfamily\bodyfont[]{Helvetica Neue}
\newfontfamily\thinfont[]{Helvetica Neue UltraLight}
\newfontfamily\headingfont[]{Helvetica Neue Condensed Bold}
The errors appear as

Code: Select all

55 ...adingfont[]{Helvetica Neue Condensed Bold}
                                                  
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Undefined control sequence.
<argument> \str_if_eq_p:xx


I also have two errors that do not specify a file source

Code: Select all

! Undefined control sequence.

<argument> \c_keys_code_root_tl

fontspec/Ligatures/Historical

l.8 ...tureoption{Ligatures}{Historic}{Historical}

The control sequence at the end of the top line

of your error message was never \def'ed. If you have

misspelled it (e.g., `\hobx'), type `I' and the correct

spelling (e.g., `I\hbox'). Otherwise just continue,

and I'll forget about whatever was undefined.

! Undefined control sequence.

<argument> \c_keys_code_root_tl

fontspec/Ligatures/Historic

l.8 ...tureoption{Ligatures}{Historic}{Historical}

The control sequence at the end of the top line

of your error message was never \def'ed. If you have

misspelled it (e.g., `\hobx'), type `I' and the correct

spelling (e.g., `I\hbox'). Otherwise just continue,

and I'll forget about whatever was undefined.

)))
I'm also getting a "missing begin{document}" error somewhere in the mix. So far I've downloaded and installed Helvetica Neue (as far as I can tell) and also made sure to use XeLaTeX (MikTeX 2.9). Thank you for any help.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
templateuser
Posts: 679
Joined: Tue Mar 03, 2015 4:01 pm

Yet another compilation question

Post by templateuser »

*facepalm* I thought I had updated everything but when I checked again a bunch of packages were stull unupdated. That took care of a lot of errors but I still have one remaining. Is this related to the installed fonts or is it something else? Line 105 in cv_10 is marked as the culprit.

Code: Select all

! \textfont 128 is undefined (character ???).

\@ensuredmath #1->$\relax #1$

l.106 }

Somewhere in the math formula just ended, you used the

stated character from an undefined font family. For example,

plain TeX doesn't allow \it or \sl in subscripts. Proceed,

and I'll try to forget that I needed that character.

LaTeX Font Warning: Font shape `EU1/HelveticaNeueLight(0)/m/sc' undefined

(Font) using `EU1/HelveticaNeueLight(0)/m/n' instead on input line

106.
templateuser
Posts: 679
Joined: Tue Mar 03, 2015 4:01 pm

Yet another compilation question

Post by templateuser »

*UPDATE*

Seems the problem is related to the "\textsuperscript{st}" command. Still no clue on how to resolve it though.
User avatar
Vel
Site Moderator
Posts: 463
Joined: Fri Jun 29, 2012 1:20 am

Re: Yet another compilation question

Post by Vel »

You're right that it is related to the installed font! It looks like the font you installed is now not properly handling superscript text. You can either solve it by finding another version of the font and trying that instead or just not using a superscript there and italicizing it instead or something. Good luck!
Founder and administrator of LaTeXTemplates.com and LaTeXTypesetting.com
Post Reply