texlive[69253] Master/texmf-dist: orcidlink (31dec23)

commits+karl at tug.org commits+karl at tug.org
Sun Dec 31 22:25:45 CET 2023


Revision: 69253
          https://tug.org/svn/texlive?view=revision&revision=69253
Author:   karl
Date:     2023-12-31 22:25:45 +0100 (Sun, 31 Dec 2023)
Log Message:
-----------
orcidlink (31dec23)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/orcidlink/README.md
    trunk/Master/texmf-dist/doc/latex/orcidlink/orcidlink.pdf
    trunk/Master/texmf-dist/source/latex/orcidlink/orcidlink.dtx
    trunk/Master/texmf-dist/source/latex/orcidlink/orcidlink.ins
    trunk/Master/texmf-dist/tex/latex/orcidlink/orcidlink.sty

Modified: trunk/Master/texmf-dist/doc/latex/orcidlink/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/orcidlink/README.md	2023-12-31 21:25:36 UTC (rev 69252)
+++ trunk/Master/texmf-dist/doc/latex/orcidlink/README.md	2023-12-31 21:25:45 UTC (rev 69253)
@@ -30,8 +30,8 @@
 This will appear as a clickable hyperlink, and will look like this:
 ![Author LaTeX render preview image](https://raw.githubusercontent.com/duetosymmetry/orcidlink-LaTeX-command/f03c85cd9fe3e40bec5f51b1319b0e9ab30c2e09/preview.png)
 
-Dependancies
-------------
+Dependancies and Compatibility
+------------------------------
 
 This package relies on the following packages:
 - [hyperref](https://www.ctan.org/pkg/hyperref)
@@ -39,6 +39,10 @@
 
 All of these packages are included in the popular [TeX Live](https://www.tug.org/texlive/) distribution, so most users should not have to install anything new.
 
+If you want to pass options to either of these packages, load them
+before you load `orcidlink`. Similarly, if you want to specify options
+to e.g. `xcolor`, load `xcolor` before loading `tikz` or `orcidlink`.
+
 Credits
 -------
 
@@ -45,6 +49,6 @@
 The original TikZ icon code was created by user [Milo on
 TeX.SE](https://tex.stackexchange.com/users/128068/milo).
 This package was created and is maintained by [Leo
-C. Stein](http://duetosymmetry.com/), (c) 2019.
+C. Stein](http://duetosymmetry.com/), (c) 2019-2023.
 This material is subject to the [LaTeX Project Public License
 1.3c](https://www.ctan.org/license/lppl1.3).

Modified: trunk/Master/texmf-dist/doc/latex/orcidlink/orcidlink.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/source/latex/orcidlink/orcidlink.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/orcidlink/orcidlink.dtx	2023-12-31 21:25:36 UTC (rev 69252)
+++ trunk/Master/texmf-dist/source/latex/orcidlink/orcidlink.dtx	2023-12-31 21:25:45 UTC (rev 69253)
@@ -1,6 +1,6 @@
 % \iffalse meta-comment
 %
-% Copyright (C) 2020 by Leo C. Stein <leo.stein at gmail.com>
+% Copyright (C) 2019-2023 by Leo C. Stein <leo.stein at gmail.com>
 % ---------------------------------------------------------------------------
 % This work may be distributed and/or modified under the
 % conditions of the LaTeX Project Public License, either version 1.3
@@ -27,7 +27,7 @@
 %<*driver>
 \documentclass{ltxdoc}
 \usepackage[dvipsnames]{xcolor}
-\usepackage{orcidlink}[2021/03/15]
+\usepackage{orcidlink}[2023/12/30]
 \hypersetup{colorlinks,urlcolor=NavyBlue,citecolor=NavyBlue,linkcolor=NavyBlue,pdfusetitle}
 \usepackage{graphicx}
 \EnableCrossrefs
@@ -40,7 +40,7 @@
 %</driver>
 % \fi
 %
-% \CheckSum{33}
+% \CheckSum{41}
 %
 % \CharacterTable
 %  {Upper-case    \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
@@ -67,6 +67,8 @@
 % scaling ourselves, and using DeclareRobustCommand}
 % \changes{v1.0.4}{2021/06/11}{Use XeTeXLinkBox to get hyperlink
 % working correctly with XeTeX.  Thanks to Tim Henke for the bug report.}
+% \changes{v1.0.5}{2023/12/30}{Turn off TikZ externalization of logos.
+% Thanks to github user aquileia for the bug report.}
 %
 % \DoNotIndex{\newcommand,\newenvironment}
 %
@@ -111,6 +113,14 @@
 % \includegraphics[width=0.5\textwidth]{preview}\newline{}
 % The macro is used in the author line of this documentation as well.
 %
+% \section{Package Compatibility}
+%
+% This package relies on \texttt{hyperref} and \texttt{tikz}.  If you
+% want to pass options to either of these packages, load them
+% \emph{before} you load \texttt{orcidlink}.  Similarly, if you want
+% to specify options to e.g. \texttt{xcolor}, load \texttt{xcolor}
+% before loading \texttt{tikz} or \texttt{orcidlink}.
+%
 % \StopEventually{}
 %
 % \section{Implementation}
@@ -122,7 +132,7 @@
 %    \begin{macrocode}
 \NeedsTeXFormat{LaTeX2e}[1994/06/01]
 \ProvidesPackage{orcidlink}
-    [2021/06/11 v1.0.4 Linked ORCiD logo macro package]
+    [2023/12/30 v1.0.5 Linked ORCiD logo macro package]
 
 %% All I did was package up Milo's code on TeX.SE,
 %% see https://tex.stackexchange.com/a/445583/34063
@@ -150,6 +160,12 @@
 %% We will compute the current X height to make the logo the right height
 \newlength{\@curXheight}
 
+%% Prevent externalization of the ORCiD logo.
+\newcommand{\@preventExternalization}{%
+\ifcsname tikz at library@external at loaded\endcsname%
+\tikzset{external/export next=false}\else\fi%
+}
+
 %    \end{macrocode}
 %
 % \begin{macro}{\orcidlink}
@@ -158,6 +174,7 @@
 \texorpdfstring{%
 \setlength{\@curXheight}{\fontcharht\font`X}%
 \href{https://orcid.org/#1}{\XeTeXLinkBox{\mbox{%
+\@preventExternalization%
 \begin{tikzpicture}[yscale=-\@OrigHeightRecip*\@curXheight,
 xscale=\@OrigHeightRecip*\@curXheight,transform shape]
 \pic{orcidlogo};

Modified: trunk/Master/texmf-dist/source/latex/orcidlink/orcidlink.ins
===================================================================
--- trunk/Master/texmf-dist/source/latex/orcidlink/orcidlink.ins	2023-12-31 21:25:36 UTC (rev 69252)
+++ trunk/Master/texmf-dist/source/latex/orcidlink/orcidlink.ins	2023-12-31 21:25:45 UTC (rev 69253)
@@ -1,4 +1,4 @@
-%% Copyright (C) 2020 by Leo C. Stein <leo.stein at gmail.com>
+%% Copyright (C) 2019-2023 by Leo C. Stein <leo.stein at gmail.com>
 %% --------------------------------------------------------------------------
 %% This work may be distributed and/or modified under the
 %% conditions of the LaTeX Project Public License, either version 1.3
@@ -25,7 +25,7 @@
 
 This is a generated file.
 
-Copyright (C) 2020 by Leo C. Stein <leo.stein at gmail.com>
+Copyright (C) 2019-2023 by Leo C. Stein <leo.stein at gmail.com>
 --------------------------------------------------------------------------
 This work may be distributed and/or modified under the
 conditions of the LaTeX Project Public License, either version 1.3

Modified: trunk/Master/texmf-dist/tex/latex/orcidlink/orcidlink.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/orcidlink/orcidlink.sty	2023-12-31 21:25:36 UTC (rev 69252)
+++ trunk/Master/texmf-dist/tex/latex/orcidlink/orcidlink.sty	2023-12-31 21:25:45 UTC (rev 69253)
@@ -8,7 +8,7 @@
 %% 
 %% This is a generated file.
 %% 
-%% Copyright (C) 2020 by Leo C. Stein <leo.stein at gmail.com>
+%% Copyright (C) 2019-2023 by Leo C. Stein <leo.stein at gmail.com>
 %% --------------------------------------------------------------------------
 %% This work may be distributed and/or modified under the
 %% conditions of the LaTeX Project Public License, either version 1.3
@@ -20,7 +20,7 @@
 %% 
 \NeedsTeXFormat{LaTeX2e}[1994/06/01]
 \ProvidesPackage{orcidlink}
-    [2021/06/11 v1.0.4 Linked ORCiD logo macro package]
+    [2023/12/30 v1.0.5 Linked ORCiD logo macro package]
 
 %% All I did was package up Milo's code on TeX.SE,
 %% see https://tex.stackexchange.com/a/445583/34063
@@ -48,10 +48,17 @@
 %% We will compute the current X height to make the logo the right height
 \newlength{\@curXheight}
 
+%% Prevent externalization of the ORCiD logo.
+\newcommand{\@preventExternalization}{%
+\ifcsname tikz at library@external at loaded\endcsname%
+\tikzset{external/export next=false}\else\fi%
+}
+
 \DeclareRobustCommand\orcidlink[1]{%
 \texorpdfstring{%
 \setlength{\@curXheight}{\fontcharht\font`X}%
 \href{https://orcid.org/#1}{\XeTeXLinkBox{\mbox{%
+\@preventExternalization%
 \begin{tikzpicture}[yscale=-\@OrigHeightRecip*\@curXheight,
 xscale=\@OrigHeightRecip*\@curXheight,transform shape]
 \pic{orcidlogo};



More information about the tex-live-commits mailing list.