summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/genealogytree/gtrcore.node.code.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/genealogytree/gtrcore.node.code.tex')
-rw-r--r--Master/texmf-dist/tex/latex/genealogytree/gtrcore.node.code.tex30
1 files changed, 22 insertions, 8 deletions
diff --git a/Master/texmf-dist/tex/latex/genealogytree/gtrcore.node.code.tex b/Master/texmf-dist/tex/latex/genealogytree/gtrcore.node.code.tex
index 2b6c7081cc2..a7bd3865513 100644
--- a/Master/texmf-dist/tex/latex/genealogytree/gtrcore.node.code.tex
+++ b/Master/texmf-dist/tex/latex/genealogytree/gtrcore.node.code.tex
@@ -1,8 +1,8 @@
-%% The LaTeX package genealogytree - version 2.2.0 (2022/03/17)
+%% The LaTeX package genealogytree - version 2.3.0 (2023/03/09)
%% gtrcore.node.code.tex: Node Boxes
%%
%% -------------------------------------------------------------------------------------------
-%% Copyright (c) 2013-2022 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de>
+%% Copyright (c) 2013-2023 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de>
%% -------------------------------------------------------------------------------------------
%%
%% This work may be distributed and/or modified under the
@@ -17,7 +17,7 @@
%%
%% This work consists of all files listed in README
%%
-\gtr@set@library@version{2.2.0}
+\gtr@set@library@version{2.3.0}
%%%%%%%%%%%%%%
% Processors %
@@ -1272,13 +1272,27 @@
\ifdefvoid{\gtrDBimage}{#2}{#1}%
}
-\def\gtrincludeDBimage#1{%
- \begingroup\edef\x{\endgroup\noexpand\includegraphics[\gtrDBimageopt,#1]}\x{\gtrDBimage}%
-}
+\ExplSyntaxOn
+
+\NewDocumentCommand \gtrincludeDBimage { m }
+ {
+ \exp_last_unbraced:NNV \includegraphics [ \gtrDBimageopt, #1 ] { \gtrDBimage }
+ }
+
+\tikzset
+ {
+ fill@gtrDB@image@options/.code=
+ {
+ \tl_set:Nx \l_tmpa_tl { fill~image~options = { \exp_not:V \gtrDBimageopt } }
+ \pgfkeysalsofrom { \l_tmpa_tl }
+ }
+ }
+
+\ExplSyntaxOff
\tikzset{%
- fill overzoom DBimage/.style={fill image options=\gtrDBimageopt,fill overzoom image=\gtrDBimage},%
- fill zoom DBimage/.style={fill image options=\gtrDBimageopt,fill zoom image=\gtrDBimage},%
+ fill overzoom DBimage/.style={fill@gtrDB@image@options,fill overzoom image=\gtrDBimage},%
+ fill zoom DBimage/.style={fill@gtrDB@image@options,fill zoom image=\gtrDBimage},%
}
\gtrset{%