Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 584938 - moderncv from dev-texlive/texlive-latexextra-2015 incompatible with fontawesome from dev-texlive/texlive-fontsextra-2015
Summary: moderncv from dev-texlive/texlive-latexextra-2015 incompatible with fontaweso...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Alexis Ballier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-03 15:30 UTC by Dennis Schridde
Modified: 2016-06-09 13:26 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Schridde 2016-06-03 15:30:59 UTC
moderncv as present in from dev-texlive/texlive-latexextra-2015 is incompatible with fontawesome as present in dev-texlive/texlive-fontsextra-2015, the error being:
```
! Undefined control sequence.
<argument> \tiny \faCircleBlank 
                     
l.130 ...idth{\listitemsymbolwidth}{\listitemsymbol}
```

for following setup:
* Download `template.tex` from http://www.ctan.org/tex-archive/macros/latex/contrib/moderncv/examples
* Run: `sed -ir '/^\\\photo/d' template.tex`
* Use `latexmk` with following `latexmkrc` file:
```
$pdflatex = "lualatex %O %S";
$pdf_mode = 1;
$dvi_mode = $postscript_mode = 0;
```

This is caused by moderncv using `\faCircleBlank`, which is not defined in the included version of fontawesome:
```
# q file -v /usr/share/texmf-dist/tex/latex/fontawesome/
dev-texlive/texlive-fontsextra-2015 (/usr/share/texmf-dist/tex/latex/fontawesome)
# q file -v /usr/share/texmf-dist/tex/latex/moderncv
dev-texlive/texlive-latexextra-2015 (/usr/share/texmf-dist/tex/latex/moderncv)
# grep -R faCircleBlank /usr/share/texmf-dist/tex/latex/fontawesome/
# grep -R faCircleBlank /usr/share/texmf-dist/tex/latex/moderncv/
/usr/share/texmf-dist/tex/latex/moderncv/moderncviconsawesome.sty:\renewcommand*{\labelitemi}          {\strut\textcolor{color1}{\tiny\faCircleBlank}}
```

Version 2.0.0 of moderncv has this fixed: http://bazaar.launchpad.net/~xdanaux/moderncv/trunk/revision/147

Following question mentions this problem and a temporary workaround: http://tex.stackexchange.com/questions/256520/problem-with-last-version-of-font-awesome-in-moderncv
Comment 1 Alexis Ballier gentoo-dev 2016-06-09 13:26:37 UTC
commit 373e3e4fb983d1e0f85a86252f0c819494a3e67b
Author: Alexis Ballier <aballier@gentoo.org>
Date:   Thu Jun 9 15:26:05 2016 +0200

    dev-texlive/texlive-latexextra: update moderncv to version 2.0.0 to fix bug #584938
  

thx