texlive[74312] branches/branch2024.final/Master/texmf-dist: adjustbox
commits+karl at tug.org
commits+karl at tug.org
Wed Feb 26 22:14:21 CET 2025
Revision: 74312
https://tug.org/svn/texlive?view=revision&revision=74312
Author: karl
Date: 2025-02-26 22:14:21 +0100 (Wed, 26 Feb 2025)
Log Message:
-----------
adjustbox (branch) (26feb25)
Modified Paths:
--------------
branches/branch2024.final/Master/texmf-dist/doc/latex/adjustbox/adjcalc.pdf
branches/branch2024.final/Master/texmf-dist/doc/latex/adjustbox/adjustbox.pdf
branches/branch2024.final/Master/texmf-dist/doc/latex/adjustbox/trimclip.pdf
branches/branch2024.final/Master/texmf-dist/source/latex/adjustbox/adjustbox.dtx
branches/branch2024.final/Master/texmf-dist/source/latex/adjustbox/trimclip.dtx
branches/branch2024.final/Master/texmf-dist/tex/latex/adjustbox/adjustbox.sty
branches/branch2024.final/Master/texmf-dist/tex/latex/adjustbox/tc-luatex.def
branches/branch2024.final/Master/texmf-dist/tex/latex/adjustbox/tc-pdftex.def
Modified: branches/branch2024.final/Master/texmf-dist/doc/latex/adjustbox/adjcalc.pdf
===================================================================
(Binary files differ)
Modified: branches/branch2024.final/Master/texmf-dist/doc/latex/adjustbox/adjustbox.pdf
===================================================================
(Binary files differ)
Modified: branches/branch2024.final/Master/texmf-dist/doc/latex/adjustbox/trimclip.pdf
===================================================================
(Binary files differ)
Modified: branches/branch2024.final/Master/texmf-dist/source/latex/adjustbox/adjustbox.dtx
===================================================================
--- branches/branch2024.final/Master/texmf-dist/source/latex/adjustbox/adjustbox.dtx 2025-02-26 21:14:11 UTC (rev 74311)
+++ branches/branch2024.final/Master/texmf-dist/source/latex/adjustbox/adjustbox.dtx 2025-02-26 21:14:21 UTC (rev 74312)
@@ -26,10 +26,10 @@
%<*driver>
\ProvidesFile{adjustbox.dtx}[%
%<=*DATE>
- 2025/02/21
+ 2025/02/26
%<=/DATE>
%<=*VERSION>
- v1.3b
+ v1.3c
%<=/VERSION>
DTX file for the adjustbox package]
\documentclass[a4paper]{ydoc}[2011/08/11]
@@ -269,6 +269,7 @@
% * Added dependency file for texlive.
% }
% \changes{v1.3b}{2025/02/21}{Added missing tc-luatex.def into .ins file.}
+% \changes{v1.3c}{2025/02/26}{Added support for newer LuaTeX versions in tc-luatex.def.}
%
% \GetFileInfo{adjustbox.dtx}
%
Modified: branches/branch2024.final/Master/texmf-dist/source/latex/adjustbox/trimclip.dtx
===================================================================
--- branches/branch2024.final/Master/texmf-dist/source/latex/adjustbox/trimclip.dtx 2025-02-26 21:14:11 UTC (rev 74311)
+++ branches/branch2024.final/Master/texmf-dist/source/latex/adjustbox/trimclip.dtx 2025-02-26 21:14:21 UTC (rev 74312)
@@ -1059,9 +1059,15 @@
% \fi
% \begin{macrocode}
%<!COPYRIGHT>
-\ProvidesFile{tc-pdftex.def}[2019/01/04 v2.2 Clipping driver for pdftex]
+\ProvidesFile{tc-pdftex.def}[2025/02/26 v2.3 Clipping driver for pdftex]
% \end{macrocode}
%
+% \begin{macrocode}
+\@ifundefined{clip at pdfliteral}{\let\clip at pdfliteral\pdfliteral}{}
+\@ifundefined{clip at pdfsave}{\let\clip at pdfsave\pdfsave}{}
+\@ifundefined{clip at pdfrestore}{\let\clip at pdfrestore\pdfrestore}{}
+% \end{macrocode}
+%
% \begin{macro}{\@cliptoboxdim}
% Clips to official box dimension.
%
@@ -1073,12 +1079,12 @@
\adjcalc at settobp\WIDTH{\wd#1}%
\adjcalc at settobp\DEPTH{\dp#1}%
\adjcalc at settobp\TOTALHEIGHT{\ht#1+\dp#1}%
- \pdfsave
- \pdfliteral direct {%
+ \clip at pdfsave
+ \clip at pdfliteral direct {%
0 -\DEPTH\space \WIDTH\space \TOTALHEIGHT\space re W n
}%
\hbox to 0pt{\copy#1\hss}%
- \pdfrestore
+ \clip at pdfrestore
\hskip\wd#1
}%
}
@@ -1141,13 +1147,13 @@
\def\@clipcornersofbox#1#2#3#4#5{%
\setbox#1=\hbox{%
\@clip at bpdimens{#1}{#2}{#3}{#4}{#5}%
- \pdfsave
- \pdfliteral direct {%
+ \clip at pdfsave
+ \clip at pdfliteral direct {%
\@clip at roundedboxpath@pdfcode
h W n
}%
\hbox to 0pt{\copy#1\hss}%
- \pdfrestore
+ \clip at pdfrestore
\hskip\wd#1%
}%
}
@@ -1170,11 +1176,11 @@
\fi
%
\hbox to 0pt{\copy#1\hss}%
- \pdfsave
+ \clip at pdfsave
\hbox to 0pt{%
\color at setgroup
\adjbox at rndframe@color
- \pdfliteral direct {%
+ \clip at pdfliteral direct {%
\LINEWIDTH w
\@clip at roundedboxpath@pdfcode
h s
@@ -1181,7 +1187,7 @@
}%
\color at endgroup
}%
- \pdfrestore
+ \clip at pdfrestore
\hskip\wd#1%
}%
\adjsetlength\@tempdima{.5\fboxrule}%
@@ -1202,9 +1208,13 @@
% \fi
% \begin{macrocode}
%<!COPYRIGHT>
-\ProvidesFile{tc-luatex.def}[2020/08/16 v1.0 Clipping driver for luatex]
+\ProvidesFile{tc-luatex.def}[2025/02/26 v1.1 Clipping driver for luatex]
+\protected\def\clip at pdfliteral{\pdfextension literal}
+\protected\def\clip at pdfsave{\pdfextension save\relax}
+\protected\def\clip at pdfrestore{\pdfextension restore\relax}
\input{tc-pdftex.def}
% \end{macrocode}
+%
% \iffalse
%</tc-luatex.def>
% \fi
Modified: branches/branch2024.final/Master/texmf-dist/tex/latex/adjustbox/adjustbox.sty
===================================================================
--- branches/branch2024.final/Master/texmf-dist/tex/latex/adjustbox/adjustbox.sty 2025-02-26 21:14:11 UTC (rev 74311)
+++ branches/branch2024.final/Master/texmf-dist/tex/latex/adjustbox/adjustbox.sty 2025-02-26 21:14:21 UTC (rev 74312)
@@ -16,8 +16,8 @@
%% and the derived file adjustbox.sty.
%%
\ProvidesPackage{adjustbox}[%
- 2025/02/21
- v1.3b
+ 2025/02/26
+ v1.3c
Adjusting TeX boxes (trim, clip, ...)]
\RequirePackage{xkeyval}
\RequirePackage{adjcalc}
Modified: branches/branch2024.final/Master/texmf-dist/tex/latex/adjustbox/tc-luatex.def
===================================================================
--- branches/branch2024.final/Master/texmf-dist/tex/latex/adjustbox/tc-luatex.def 2025-02-26 21:14:11 UTC (rev 74311)
+++ branches/branch2024.final/Master/texmf-dist/tex/latex/adjustbox/tc-luatex.def 2025-02-26 21:14:21 UTC (rev 74312)
@@ -17,7 +17,10 @@
%% tc-dvips.def, tc-pdftex.def, tc-luatex.def, tc-pgf.def and tc-xetex.def.
%% Further author information are located in the .def files.
%%
-\ProvidesFile{tc-luatex.def}[2020/08/16 v1.0 Clipping driver for luatex]
+\ProvidesFile{tc-luatex.def}[2025/02/26 v1.1 Clipping driver for luatex]
+\protected\def\clip at pdfliteral{\pdfextension literal}
+\protected\def\clip at pdfsave{\pdfextension save\relax}
+\protected\def\clip at pdfrestore{\pdfextension restore\relax}
\input{tc-pdftex.def}
\endinput
%%
Modified: branches/branch2024.final/Master/texmf-dist/tex/latex/adjustbox/tc-pdftex.def
===================================================================
--- branches/branch2024.final/Master/texmf-dist/tex/latex/adjustbox/tc-pdftex.def 2025-02-26 21:14:11 UTC (rev 74311)
+++ branches/branch2024.final/Master/texmf-dist/tex/latex/adjustbox/tc-pdftex.def 2025-02-26 21:14:21 UTC (rev 74312)
@@ -17,18 +17,21 @@
%% tc-dvips.def, tc-pdftex.def, tc-luatex.def, tc-pgf.def and tc-xetex.def.
%% Further author information are located in the .def files.
%%
-\ProvidesFile{tc-pdftex.def}[2019/01/04 v2.2 Clipping driver for pdftex]
+\ProvidesFile{tc-pdftex.def}[2025/02/26 v2.3 Clipping driver for pdftex]
+\@ifundefined{clip at pdfliteral}{\let\clip at pdfliteral\pdfliteral}{}
+\@ifundefined{clip at pdfsave}{\let\clip at pdfsave\pdfsave}{}
+\@ifundefined{clip at pdfrestore}{\let\clip at pdfrestore\pdfrestore}{}
\def\@cliptoboxdim#1{%
\setbox#1=\hbox{%
\adjcalc at settobp\WIDTH{\wd#1}%
\adjcalc at settobp\DEPTH{\dp#1}%
\adjcalc at settobp\TOTALHEIGHT{\ht#1+\dp#1}%
- \pdfsave
- \pdfliteral direct {%
+ \clip at pdfsave
+ \clip at pdfliteral direct {%
0 -\DEPTH\space \WIDTH\space \TOTALHEIGHT\space re W n
}%
\hbox to 0pt{\copy#1\hss}%
- \pdfrestore
+ \clip at pdfrestore
\hskip\wd#1
}%
}
@@ -71,13 +74,13 @@
\def\@clipcornersofbox#1#2#3#4#5{%
\setbox#1=\hbox{%
\@clip at bpdimens{#1}{#2}{#3}{#4}{#5}%
- \pdfsave
- \pdfliteral direct {%
+ \clip at pdfsave
+ \clip at pdfliteral direct {%
\@clip at roundedboxpath@pdfcode
h W n
}%
\hbox to 0pt{\copy#1\hss}%
- \pdfrestore
+ \clip at pdfrestore
\hskip\wd#1%
}%
}
@@ -92,11 +95,11 @@
\fi
%
\hbox to 0pt{\copy#1\hss}%
- \pdfsave
+ \clip at pdfsave
\hbox to 0pt{%
\color at setgroup
\adjbox at rndframe@color
- \pdfliteral direct {%
+ \clip at pdfliteral direct {%
\LINEWIDTH w
\@clip at roundedboxpath@pdfcode
h s
@@ -103,7 +106,7 @@
}%
\color at endgroup
}%
- \pdfrestore
+ \clip at pdfrestore
\hskip\wd#1%
}%
\adjsetlength\@tempdima{.5\fboxrule}%
More information about the tex-live-commits
mailing list.