Skip to content

Support ORCID and ResearchGate as \social#35

Open
e-kwsm wants to merge 1 commit into
xdanaux:masterfrom
e-kwsm:orcid-researchgate
Open

Support ORCID and ResearchGate as \social#35
e-kwsm wants to merge 1 commit into
xdanaux:masterfrom
e-kwsm:orcid-researchgate

Conversation

@e-kwsm

@e-kwsm e-kwsm commented Dec 9, 2016

Copy link
Copy Markdown

I already reported in https://bugs.launchpad.net/moderncv/+bug/1615169, but no response.

usage:

\social[orcid]{0000-0000-0000-0000}
\social[researchgate]{john-smith}

@edouardberthe

Copy link
Copy Markdown

👍

@jolange

jolange commented Oct 22, 2017

Copy link
Copy Markdown

@xdanaux are you still maintaining this repository?

@andreall andreall mentioned this pull request Mar 24, 2018
@e-kwsm

e-kwsm commented Mar 26, 2018

Copy link
Copy Markdown
Author

@andreall First of all, your information is imperfect.

I tried doing this with Xelatex it gives an erro"font awesome.sty not found"

"font␣awesome.sty" looks strange but the error is probably due to xdanaux/fontawesome-latex#12.
Anyway, the icons does not appear because fontawesome does not provide them.

The following example works fine

\documentclass{moderncv}
\moderncvstyle{classic}
\moderncvicons{academicons}

\title{ORCID and ResearchGate}
\name{John}{Doe}
\social[orcid]{0000-0000-0000-0000}
\social[researchgate]{john-smith}

\begin{document}
\makecvtitle
\end{document}

under my environment, frozen TeX Live 2017:

  • moderncv (this branch)
  • LuaLaTeX, Version 1.0.4
  • academicons 2017/05/15 v1.8.0

Note that only academicons provides the symbols of ORCID and ResearchGate,
which requires fontspec which requires either XeLaTeX or LuaLaTeX.
But at present academicons with XeLaTeX does not work (diogo-fernan/academicons#1).

@diogo-fernan

Copy link
Copy Markdown

@e-kwsm your example works fine with XeLaTeX when replacing \moderncvicons{academicons} with \usepackage{academicons}. This is how the package is designed to work, requiring an explicit load.

Moderncv accounts for the fontawesome explicitly at https://github.com/xdanaux/moderncv/blob/master/moderncviconsawesome.sty, which makes \moderncvicons{awesome} as defined in https://github.com/xdanaux/moderncv/blob/master/moderncv.cls#L359 work. The same would have be replicated within the Moderncv package for academicons in order to have \moderncvicons{academicons} valid.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants