Closed gerking closed 1 year ago
TIKZ-Version of the logo (CC0-License) is available here: https://gist.github.com/tarleb/eaa443e129d66acbc67bc6432836f466
THere seems to be a packet: https://ctan.org/pkg/orcidlink
THere seems to be a packet: ctan.org/pkg/orcidlink
Did you check the comments by @gerking:
\orcidlink{...}
doesn't seem to work in the footnote: Use of \@xfootnotemark doesn't match its definition.Also I wonder whether orcidlink can display the logo slightly higher than the preceding text, as it is done in the LNI author instructions. But I don't know how strict those instructions are.
And you said:
I'd prefer not to require TikZ to keep the external requirements low.
Let's see how it goes...
When I try to use it, I get hyperref option clash...
I prefer using the academicons
package. However, I kindly ask for some patience.
I prefer using the
academicons
package. However, I kindly ask for some patience.
Even though it is restricted to Xe(La)TeX or Lua(La)TeX? As far as I know, it doesn't work with pdflatex.
@gerking Thanks for the hint. You are right, that is not the best idea. However, as we only need one single glyph we could make a graphic file out of it.
Why not use a PDF as in the PR to get this closed, a cleaner version can still be implemented lateron?
Why not use a PDF as in the PR to get this closed, a cleaner version can still be implemented lateron?
Well, the latest versions of orcidlink actually seem to work in footnotes. Tried in commit 3089ea381f489e12cac95083d92c6e297993fe32.
A remaining problem might be that orcidlink does not print the logo higher than the text, as it might be indicated by the LNI guidelines. Do you think it would be a violation of those guidelines?
A remaining problem might be that orcidlink does not print the logo higher than the text, as it might be indicated by the LNI guidelines. Do you think it would be a violation of those guidelines?
I would say: it's good enough. On the one hand, we could file a feature request at https://github.com/duetosymmetry/orcidlink-LaTeX-command/issues asking for a parameter. On the other hand, I would check how other publisher do it. Do you have examples at hand? Google Image Search did not find anything useful (just the tex.sx questions asking for how to ORCID ^^).
Regarding the interplay with hyperref: Loading hyperref at the right place is always difficult (see https://tex.stackexchange.com/questions/1863/which-packages-should-be-loaded-after-hyperref-instead-of-before).
Before this patch, hyperref is loaded, when requested by the author.
@sieversMartin and me started a discussion how to "properly" include hyperref at https://github.com/gi-ev/LNI/pull/116#issuecomment-1628757174.
Option 1:
The most conservative option would be to add the orcidlink to the AtEndPreamble
inside the hyperref part?
\ifusehyperref
\AtEndPreamble{%
Then update the https://github.com/gi-ev/LNI/blob/main/lni-paper-example-de.tex accordingly.
Option 2:
Add another AtEndPreamble
statement and a guard \@ifpackageloaded{orcidlink}
for the fix for orcidlink.
Then also update the https://github.com/gi-ev/LNI/blob/main/lni-paper-example-de.tex accordingly.
This is https://github.com/gi-ev/LNI/issues/131
Option 3:
The other option would be to remove the user option for hyperref and always load hyperref.
I am very aware that this class is different from other classes, because it includes many other packages.
Always loading hyperref could cause issues there.
I lean towards Option 2 to keep things going. Maybe Option 3 could work, too. I did not hear any complaints that the class does not work at all.
Should be fixed altogether. I close this. If there are any problems left in v1.8, please open a new ticket based on that version.
Integration mainly in commit https://github.com/gi-ev/LNI/commit/eb01240fae9ed0c2b01c65dc52500c0439160f4b.
Fixes https://github.com/gi-ev/LNI/issues/91
Introduces a new \orcid{...} command that handles ORCID iDs. The command is context-sensitive: it can display the ORCID logo next to the author's name, but when used in the footnote it additionally prints the respective URL (as requested by the LNI author guidelines). Both logo and URL are hyperlinked to the respective ORCID record.
Usage:
\orcid{<ORCID iD>}
, e.g.,\orcid{0000-0001-5531-9607}