From eeb7f50af3eaecaf525bfdb721b837386ceb9935 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 27 Aug 2021 22:42:05 +0000 Subject: l3 (28aug21) git-svn-id: svn://tug.org/texlive/trunk@60338 c570f23f-e606-0410-a88d-b1316a301751 --- .../latex/l3experimental/l3graphics/l3graphics.dtx | 26 +++++++++++----------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'Master/texmf-dist/source/latex/l3experimental/l3graphics') diff --git a/Master/texmf-dist/source/latex/l3experimental/l3graphics/l3graphics.dtx b/Master/texmf-dist/source/latex/l3experimental/l3graphics/l3graphics.dtx index 85cc3f556b1..a3691ae3273 100644 --- a/Master/texmf-dist/source/latex/l3experimental/l3graphics/l3graphics.dtx +++ b/Master/texmf-dist/source/latex/l3experimental/l3graphics/l3graphics.dtx @@ -46,7 +46,7 @@ % }^^A % } % -% \date{Released 2021-08-04} +% \date{Released 2021-08-27} % % \maketitle % @@ -125,7 +125,7 @@ % \end{verbatim} % \emph{i.e.}~every use of a bounding box will attempt to restore saved data, % and saving will only take place where that is not possible. -% +% % Note that the \meta{graphic} may not be a simple file name: a multi-page PDF, % for example, will need to have the bounding box cached for each page used. % \end{function} @@ -240,7 +240,7 @@ % \end{macrocode} % % \begin{macrocode} -\ProvidesExplPackage{l3graphics}{2021-08-04}{} +\ProvidesExplPackage{l3graphics}{2021-08-27}{} {L3 Experimental graphics inclusion support} % \end{macrocode} % @@ -272,7 +272,7 @@ % set up here should match the default for the drivers themselves: in % the absence of any other setting the |cropbox| should be used. % \begin{macrocode} -\tl_new:N \l_graphics_decodearray_tl +\tl_new:N \l_graphics_decodearray_tl \tl_new:N \l_graphics_pagebox_tl \bool_new:N \l_graphics_interpolate_bool \tl_set:Nn \l_graphics_pagebox_tl { cropbox } @@ -286,7 +286,7 @@ % { % \l_graphics_llx_dim , \l_graphics_lly_dim, % \l_graphics_urx_dim , \l_graphics_ury_dim -% } +% } % Storage for the return of bounding box. % \begin{macrocode} \dim_new:N \l_graphics_llx_dim @@ -306,7 +306,7 @@ \cs_new_protected:Npn \graphics_bb_save:n #1 { \dim_if_exist:cTF { c_@@_ #1 _urx_dim } - { \__kernel_msg_error:nnn { graphic } { bb-already-cached } {#1} } + { \msg_error:nnn { graphic } { bb-already-cached } {#1} } { \dim_compare:nNnF \l_graphics_llx_dim = { 0pt } { \dim_const:cn { c_@@_ #1 _llx_dim } { \l_graphics_llx_dim } } @@ -408,7 +408,7 @@ { #1 \exp_not:N \ior_if_eof:NTF \exp_not:N \l_@@_tmp_ior - { \__kernel_msg_error:nnn { graphics } {#2} {#3} } + { \msg_error:nnn { graphics } {#2} {#3} } { \ior_str_map_inline:Nn \exp_not:N \l_@@_tmp_ior { @@ -573,7 +573,7 @@ { \seq_map_break:n { \use_i:nnn \@@_include: } } } \use:n - { \__kernel_msg_error:nnn { graphics } { graphic-not-found } {#1} } + { \msg_error:nnn { graphics } { graphic-not-found } {#1} } } \cs_new_protected:Npn \@@_include: { @@ -594,7 +594,7 @@ \exp_args:Ne \@@_include_auxi:n { \str_foldcase:n {#1} } } - { \__kernel_msg_error:nnn { graphics } { graphic-not-found } {#1} } + { \msg_error:nnn { graphics } { graphic-not-found } {#1} } \group_end: } \cs_new_protected:Npn \@@_include_auxi:n #1 @@ -621,7 +621,7 @@ { \@@_include_auxiv:n } {#1} } - { \__kernel_msg_error:nnn { graphics } { unsupported-graphic-type } {#1} } + { \msg_error:nnn { graphics } { unsupported-graphic-type } {#1} } } \cs_new_protected:Npn \@@_include_auxiii:n #1 { @@ -692,19 +692,19 @@ % \subsection{Messages} % % \begin{macrocode} -\__kernel_msg_new:nnnn { graphics } { graphic-not-found } +\msg_new:nnnn { graphics } { graphic-not-found } { Image~file~'#1'~not~found. } { LaTeX~tried~to~open~graphic~file~'#1', ~but~the~file~could~not~be~read. } -\__kernel_msg_new:nnnn { graphics } { pipe-failed } +\msg_new:nnnn { graphics } { pipe-failed } { Cannot~run~piped~system~commands. } { LaTeX~tried~to~call~a~system~process~but~this~was~not~possible.\\ Try~the~"--shell-escape"~(or~"--enable-pipes")~option. } -\__kernel_msg_new:nnnn { graphics } { unsupported-graphic-type } +\msg_new:nnnn { graphics } { unsupported-graphic-type } { Image~type~'#1'~not~supported~by~current~driver. } { LaTeX~was~asked~to~include~an~graphic~of~type~'#1',~ -- cgit v1.2.3