[latex3-commits] [git/LaTeX3-latex3-graphics-def] main: Activate colour stacks with (x)dvipdfmx (e30e4b8)
Joseph Wright
joseph.wright at morningstar2.co.uk
Tue Apr 12 14:16:42 CEST 2022
Repository : https://github.com/latex3/graphics-def
On branch : main
Link : https://github.com/latex3/graphics-def/commit/e30e4b83990810ebbe1fb3a2c9293b9edeef4c79
>---------------------------------------------------------------
commit e30e4b83990810ebbe1fb3a2c9293b9edeef4c79
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Tue Apr 12 13:15:49 2022 +0100
Activate colour stacks with (x)dvipdfmx
>---------------------------------------------------------------
e30e4b83990810ebbe1fb3a2c9293b9edeef4c79
.DS_Store | Bin 0 -> 6148 bytes
dvipdfmx.def | 34 ++--------------------------------
xetex.def | 34 ++--------------------------------
3 files changed, 4 insertions(+), 64 deletions(-)
diff --git a/.DS_Store b/.DS_Store
new file mode 100644
index 0000000..5008ddf
Binary files /dev/null and b/.DS_Store differ
diff --git a/dvipdfmx.def b/dvipdfmx.def
index 0d73189..f8a984c 100644
--- a/dvipdfmx.def
+++ b/dvipdfmx.def
@@ -1,5 +1,5 @@
%% dvipdfmx.def
-%% Copyright (C) 2005-2021 LaTeX3 Project, Jin-Hwan Cho, Shunsaku Hirata
+%% Copyright (C) 2005-2022 LaTeX3 Project, Jin-Hwan Cho, Shunsaku Hirata
%% (with contributions from many others)
%%
%% This work may be distributed and/or modified under the
@@ -17,7 +17,7 @@
%% https://github.com/latex3/graphics-def/issues
%%
\ProvidesFile{dvipdfmx.def}
- [2021/03/18 v5.0j Graphics/color driver for dvipdfmx]
+ [2022/04/12 v5.0k Graphics/color driver for dvipdfmx]
\def\GPT at space{ }
\def\c at lor@arg#1{%
\dimen@#1\p@
@@ -329,36 +329,6 @@
}
\fi
\fi
-% Disable use of new multiple stacks pending further testing
-\endinput
-% Updates for newer dvipdfmx versions
-% Loaded last as we can then bail-out if not required
-\begingroup
- \ifcsname\detokenize{c__kernel_sys_dvipdfmx_version_int}\endcsname
- \edef\extractbbversion{%
- \number\csname\detokenize{c__kernel_sys_dvipdfmx_version_int}\endcsname}%
- \else
- \immediate\openin 0 = |"extractbb --version"
- \ifeof0 %
- \def\extractbbversion{0}%
- \else
- \read0 to \extractbbversion % \par
- \ifeof0 %
- \def\extractbbversion{0}%
- \else
- \read0 to \extractbbversion
- \long\def\getextractbbversion#1Version #2 #3\stop{%
- \def\extractbbversion{#2}}%
- \expandafter\getextractbbversion\extractbbversion Version 0 \stop
- \fi
- \fi
- \fi
-\ifnum\extractbbversion<20201111 %
- \endgroup
- \expandafter\endinput
-\else
- \endgroup
-\fi
% Conversion functions so the internal representation stays unchanged
\let\init at current@color\current at color
\def\convert at color#1{%
diff --git a/xetex.def b/xetex.def
index ba109f7..0ddde80 100644
--- a/xetex.def
+++ b/xetex.def
@@ -1,5 +1,5 @@
%% xetex.def
-%% Copyright (C) 2005-2021 LaTeX3 Project, Jin-Hwan Cho, Shunsaku Hirata
+%% Copyright (C) 2005-2022 LaTeX3 Project, Jin-Hwan Cho, Shunsaku Hirata
%% (with contributions from many others)
%%
%% This work may be distributed and/or modified under the
@@ -17,7 +17,7 @@
%% https://github.com/latex3/graphics-def/issues
%%
\ProvidesFile{xetex.def}
- [2021/03/18 v5.0k Graphics/color driver for xetex]
+ [2022/04/12 v5.0l Graphics/color driver for xetex]
\def\GPT at space{ }
\def\c at lor@arg#1{%
\dimen@#1\p@
@@ -428,36 +428,6 @@
}
\fi
\fi
-% Disable use of new multiple stacks pending further testing
-\endinput
-% Updates for newer dvipdfmx versions
-% Loaded last as we can then bail-out if not required
-\begingroup
- \ifcsname\detokenize{c__kernel_sys_dvipdfmx_version_int}\endcsname
- \edef\extractbbversion{%
- \number\csname\detokenize{c__kernel_sys_dvipdfmx_version_int}\endcsname}%
- \else
- \immediate\openin 0 = |"extractbb --version"
- \ifeof0 %
- \def\extractbbversion{0}%
- \else
- \read0 to \extractbbversion % \par
- \ifeof0 %
- \def\extractbbversion{0}%
- \else
- \read0 to \extractbbversion
- \long\def\getextractbbversion#1Version #2 #3\stop{%
- \def\extractbbversion{#2}}%
- \expandafter\getextractbbversion\extractbbversion Version 0 \stop
- \fi
- \fi
- \fi
-\ifnum\extractbbversion<20201111 %
- \endgroup
- \expandafter\endinput
-\else
- \endgroup
-\fi
% Conversion functions so the internal representation stays unchanged
\let\init at current@color\current at color
\def\convert at color#1{%
More information about the latex3-commits
mailing list.