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

Compilation fails after the latest TexLive update #221

Closed
Vintodrimmer opened this issue Jul 30, 2018 · 4 comments · Fixed by nikhil-bhat/Awesome-CV#1
Closed

Compilation fails after the latest TexLive update #221

Vintodrimmer opened this issue Jul 30, 2018 · 4 comments · Fixed by nikhil-bhat/Awesome-CV#1

Comments

@Vintodrimmer
Copy link

Vintodrimmer commented Jul 30, 2018

Good day,

I just ran tlmgr update --all and the same file I compiled the moment before started showing the following error:

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
! LaTeX error: "xparse/command-already-defined"
!
! Command '\FA' already defined!
!
! See the LaTeX3 documentation for further information.
!
! For immediate help type H <return>.
!...............................................

l.166 \newfontfamily
                    \headerfont[

It seems to work if I comment out the \newfontfamily\FA{FontAwesome} line in awesome-cv.cls.

@ima18h
Copy link

ima18h commented Aug 23, 2018

I have this as well. I added another A so i can compile...

\newfontfamily\FA{FontAwesome}

to

\newfontfamily\FAA{FontAwesome}

@Siltyx
Copy link

Siltyx commented Nov 4, 2018

Got this problem as well, the FAA trick lets me compile, thank you

FloThinksPi added a commit to FloThinksPi-Forks/Awesome-CV that referenced this issue Nov 11, 2018
Fixes Compilation Error when commenting out the \newfont: xdvipdfmx:fatal: pdf_ref_obj(): passed invalid object.
As well als the Compilation Error: LaTeX3 Error: Command '\FA' already defined!For immediate help type H <return>.

Fixes posquit0#221 by unsetting /FA before redefining it.

In Contrary to other Pull Reqests posquit0#233 posquit0#235 and posquit0#236 i found, fontawsome works with this change.
Tested with MikTex on Windows.
@cbarrick
Copy link

I think this is a duplicate of #181. The error is different, but the underlying reason is the same.

cbarrick added a commit to cbarrick/CV that referenced this issue Jan 30, 2019
The \FA font family is declared both in fontawesome.sty (without a path)
and in awesome-cv.cls (with a path). This confuses xelatex and produces
a font-not-found error if Font Awesome is not installed globally. It is
fixed by only using the declaration with a path.

This closes posquit0#181 and posquit0#221.
jbelsky added a commit to jbelsky/Awesome-CV that referenced this issue Apr 7, 2019
…rror: Command '\FA' already defined!"
woneill pushed a commit to woneill/resume that referenced this issue Mar 8, 2020
The \FA font family is declared both in fontawesome.sty (without a path)
and in awesome-cv.cls (with a path). This confuses xelatex and produces
a font-not-found error if Font Awesome is not installed globally. It is
fixed by only using the declaration with a path.

This closes posquit0#181 and posquit0#221.
nikhil-bhat added a commit to nikhil-bhat/Awesome-CV that referenced this issue Jan 10, 2021
Fixes posquit0#221 "Error: Command '\FA' already defined!"
jumper047 pushed a commit to jumper047/Awesome-CV that referenced this issue Oct 29, 2021
Fixes Compilation Error when commenting out the \newfont: xdvipdfmx:fatal: pdf_ref_obj(): passed invalid object.
As well als the Compilation Error: LaTeX3 Error: Command '\FA' already defined!For immediate help type H <return>.

Fixes posquit0#221 by unsetting /FA before redefining it.

In Contrary to other Pull Reqests posquit0#233 posquit0#235 and posquit0#236 i found, fontawsome works with this change.
Tested with MikTex on Windows.
@OJFord
Copy link
Collaborator

OJFord commented Feb 11, 2022

Closed via #344.

@OJFord OJFord closed this as completed Feb 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
5 participants