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

Support ORCID and ResearchGate as \social #35

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Support ORCID and ResearchGate as \social #35

wants to merge 1 commit into from

Conversation

e-kwsm
Copy link

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

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

👍

@jolange
Copy link

jolange commented Oct 22, 2017

@xdanaux are you still maintaining this repository?

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

e-kwsm commented Mar 26, 2018

@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

@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