[latex3-commits] [l3svn] 04/08: No need to cache image date for page = 1
noreply at latex-project.org
noreply at latex-project.org
Sun Jun 4 11:46:44 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 56aa1cf55f571ca5f670208fad4f06b3efcf650a
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Sat Jun 3 18:01:16 2017 +0200
No need to cache image date for page = 1
As this is the same as not having a page.
---
l3kernel/l3drivers.dtx | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/l3kernel/l3drivers.dtx b/l3kernel/l3drivers.dtx
index efdd782..31ec440 100644
--- a/l3kernel/l3drivers.dtx
+++ b/l3kernel/l3drivers.dtx
@@ -734,7 +734,7 @@
\tl_set:Nx \l_@@_image_attr_tl
{
: \l__image_pagebox_tl
- \int_compare:nNnT \l__image_page_int > 0
+ \int_compare:nNnT \l__image_page_int > 1
{ :P \int_use:N \l__image_page_int }
}
\@@_image_getbb_auxi:n {#1}
@@ -1001,7 +1001,7 @@
{
\tl_if_empty:NF \l__image_pagebox_tl
{ : \l__image_pagebox_tl }
- \int_compare:nNnT \l__image_page_int > 0
+ \int_compare:nNnT \l__image_page_int > 1
{ :P \int_use:N \l__image_page_int }
\bool_if:NT \l__image_interpolate_bool
{ :I }
@@ -1026,7 +1026,7 @@
{
pdf:#3~
@image \int_use:c { c__image_ #1#2 _int }
- \int_compare:nNnT \l__image_page_int > 0
+ \int_compare:nNnT \l__image_page_int > 1
{ page ~ \int_use:N \l__image_page_int \c_space_tl }
\tl_if_empty:NF \l__image_pagebox_tl
{ pagebox ~ \l__image_pagebox_tl \c_space_tl }
@@ -1112,7 +1112,7 @@
{ \@@_image_getbb_auxi:nN {#1} \xetex_pdffile:D }
\cs_new_protected:Npn \@@_image_getbb_auxi:nN #1#2
{
- \int_compare:nNnTF \l__image_page_int > 0
+ \int_compare:nNnTF \l__image_page_int > 1
{ \@@_image_getbb_auxii:VnN \l__image_page_int {#1} #2 }
{ \@@_image_getbb_auxiii:nNnn {#1} #2 }
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the latex3-commits
mailing list