Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning about wrong package names #7

Closed
u-fischer opened this issue Sep 3, 2015 · 8 comments
Closed

Warning about wrong package names #7

u-fischer opened this issue Sep 3, 2015 · 8 comments
Assignees

Comments

@u-fischer
Copy link

moderncv loads styles with the help of \romanumeral. While \romannumeral 1 outputs an i and so the file is found, the catcode of the i is different, and so one get tons of warnings regarding the package names:

LaTeX Warning: You have requested package `moderncvheadi',
               but the package provides `moderncvheadi'.

Suggested fix (if you want to use letters instead of normal numbers in the file names):

  1. Remove all the \expandafters in the definition
\newcommand*{\moderncvhead}[2][]{
  \expandafter\RequirePackage\expandafter[\expandafter#1\expandafter]{\expandafter moderncvhead\romannumeral #2}}

There are unnecessary (and wrong as \expandafter goes behind the next token, so you are actually expanding the "o" in moderncvhead). \RequirePackage[#1]{moderncvhead\romannumeral #2}} should work fine.

  1. Add \romannumeral to the package declarations
\ProvidesPackage{moderncvhead\romannumeral 1}[2015/07/28 v2.0.0 modern curriculum vitae and letter header variant: 1]
@johannesbottcher
Copy link

@FranklinYu
Copy link

Possible duplicate: #1.

@xdanaux
Copy link
Owner

xdanaux commented Nov 14, 2016

This should be fixed by commit c91b6ca.

@xdanaux xdanaux closed this as completed Nov 14, 2016
@xdanaux xdanaux added the bug label Nov 14, 2016
@xdanaux xdanaux self-assigned this Nov 14, 2016
@vitaminace33
Copy link

Still there. The commit never made to final release nor CTAN.

@FranklinYu
Copy link

@vitaminace33 Development has stalled for more than 2 years; I have switched to alternatives.

@raasoft
Copy link

raasoft commented Jan 2, 2019

@FranklinYu which alternatives?

@FranklinYu
Copy link

@raasoft https://github.com/darwiin/yaac-another-awesome-cv which isn't on CTAN (yet).

@MikeDawg
Copy link

MikeDawg commented Jan 3, 2019

Someone interested ought to fork the project.

ShadowMitia pushed a commit to ShadowMitia/moderncv that referenced this issue Aug 9, 2020
Signed-off-by: merkrafter <merkrafter@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants