[latex3-commits] [l3svn] 02/04: Update LaTeX2e driver fallback to allow for autosize
noreply at latex-project.org
noreply at latex-project.org
Wed Apr 5 21:43:22 CEST 2017
This is an automated email from the git hooks/post-receive script.
joseph pushed a commit to branch master
in repository l3svn.
commit 729519aaf044adafb3db806e629aea75d93f1e9f
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Wed Apr 5 19:09:36 2017 +0100
Update LaTeX2e driver fallback to allow for autosize
As there is a common auxiliary for scaling and autosizing, the
appropriate redefinition can be done in one place.
---
l3kernel/expl3.dtx | 11 ++++-------
1 file changed, 4 insertions(+), 7 deletions(-)
diff --git a/l3kernel/expl3.dtx b/l3kernel/expl3.dtx
index 0cc76ae..a7b84d8 100644
--- a/l3kernel/expl3.dtx
+++ b/l3kernel/expl3.dtx
@@ -1470,14 +1470,11 @@
{ \box_use:N #1 }
}
}
- \cs_set_protected:Npn \box_scale:Nnn #1#2#3
+ \cs_set_protected:Npn \__box_scale_aux:N #1
{
- \hbox_set:Nn #1
- {
- \exp_last_unbraced:Nx \scalebox
- { { \fp_eval:n {#2} } [ \fp_eval:n {#3} ] }
- { \box_use:N #1 }
- }
+ \exp_last_unbraced:Nx \scalebox
+ { { \fp_use:N \l__box_scale_x_fp } [ \fp_use:N \l__box_scale_y_fp ] }
+ { \box_use:N #1 }
}
\cs_set_protected:Npn \color_ensure_current: { \set at color }
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the latex3-commits
mailing list