1

I'm working on an updated version of europecv that implements the graphical theme released in July 2013.

I solved all the problems I encountered, except for being able to make uppercase strings defined in the language files.

I tried to use \uppercase, \MakeUppercase and \MakeTextUppercase but without success.

I found this question which seems like mine but the proposed solutions do not seem to work.

The class and all related files are hosted on github: https://github.com/leinardi/europecv2013

What I want to achive is to make uppercase \ecv@infosectionkey.

  • 6
    \MakeUppercase{\ecv@infosectionkey} should work, if it doesn't can you not make a minimal example to post here that shows the problem and just defines the necessary macros inline and doesn't require fetching all the files from github – David Carlisle Sep 07 '14 at 14:47
  • It might be an expansion problem? –  Sep 07 '14 at 20:37
  • @DavidCarlisle I tried but does not work: I get a lot of "! Undefined control sequence." (full log http://pastebin.com/6WkZMCqv). I made a minimal example which can be downloaded here: https://db.tt/PLx48T43. To test simply uncomment the line 396 and comment the next line. – Roberto Leinardi Sep 08 '14 at 09:30

1 Answers1

3

The “error” is due to the fact that \ecv@utf is not defined as a robust command.

I would be very wary of changing a class file, but if you already do, it's time to modify also line 34, to read

\DeclareRobustCommand\ecv@utf[1]{{\inputencoding{utf8x}#1}}

instead of \newcommand. Then your modification

\textcolor{torea-bay}{\MakeUppercase{\ecv@infosectionkey}} & \LARGE\ecv@name\tabularnewline[10pt]

will work.

egreg
  • 1,121,712