[latex3-commits] [git/LaTeX3-latex3-latex3] master: Fold image type case (6914129)

Joseph Wright joseph.wright at morningstar2.co.uk
Wed May 8 20:47:37 CEST 2019


Repository : https://github.com/latex3/latex3
On branch  : master
Link       : https://github.com/latex3/latex3/commit/6914129813a1a893c0c9ce67bae315572a3206e6

>---------------------------------------------------------------

commit 6914129813a1a893c0c9ce67bae315572a3206e6
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Wed May 8 19:47:37 2019 +0100

    Fold image type case


>---------------------------------------------------------------

6914129813a1a893c0c9ce67bae315572a3206e6
 l3experimental/l3image/l3image.dtx |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/l3experimental/l3image/l3image.dtx b/l3experimental/l3image/l3image.dtx
index 1dc44d8..145a869 100644
--- a/l3experimental/l3image/l3image.dtx
+++ b/l3experimental/l3image/l3image.dtx
@@ -497,7 +497,7 @@
 % \begin{macro}{\@@_include_search:n}
 % \begin{macro}{\@@_include:}
 % \begin{macro}{\image_include:nn}
-% \begin{macro}{\@@_include:n}
+% \begin{macro}{\@@_include:n, \@@_include_aux:n}
 %   Actually including an image is relatively straight-forward: most of the
 %   work is done by the driver. We only have to deal with making sure the
 %   box has no apparent depth. Where the first given name is not found, we
@@ -564,6 +564,8 @@
     \group_end:
   }
 \cs_new_protected:Npn \@@_include:n #1
+  { \exp_args:Ne \@@_include_aux:n { \str_fold_case:n {#1} } }
+\cs_new_protected:Npn \@@_include_aux:n #1
   {
     \mode_leave_vertical:
     \cs_if_exist:cTF { driver_image_include_ #1 :n }





More information about the latex3-commits mailing list