summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/lwarp/lwarp-graphics.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-03-03 21:54:38 +0000
committerKarl Berry <karl@freefriends.org>2018-03-03 21:54:38 +0000
commitb482212984105cf874198fd412f9dbb70f1565b8 (patch)
treed67ac633af85230aae9eb70f0e32acdea9bf16ef /Master/texmf-dist/tex/latex/lwarp/lwarp-graphics.sty
parent8ee96b735b5e66d16bf986fedb8978f098554e72 (diff)
lwarp (3mar18)
git-svn-id: svn://tug.org/texlive/trunk@46804 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/lwarp/lwarp-graphics.sty')
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-graphics.sty25
1 files changed, 12 insertions, 13 deletions
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-graphics.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-graphics.sty
index 48d102c1d0e..3307c12a546 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-graphics.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-graphics.sty
@@ -64,7 +64,7 @@
\ifthenelse{\lengthtest{\LWR@igheight > 0pt}}%
{%
\renewcommand*{\LWR@igheightstyle}{%
- height:\LWR@printlength{\LWR@igheight} %
+ height:\LWR@printlength{\LWR@igheight} % extra space
}%
\IfEndWith{#1}{ex}%
{\renewcommand*{\LWR@igheightstyle}{height:#1}}% yes ex
@@ -234,15 +234,15 @@ img src="%
{\LWR@origtilde{} transform-origin: \LWR@originnames{\LWR@igorigin}; \LWR@orignewline}{}%
\ifthenelse{\NOT\equal{\LWR@igangle}{}}%
{%
-\LWR@rotstyle{-ms-}{\LWR@igangle} %
-\LWR@rotstyle{-webkit-}{\LWR@igangle} %
+\LWR@rotstyle{-ms-}{\LWR@igangle} % extra space
+\LWR@rotstyle{-webkit-}{\LWR@igangle} % extra space
\LWR@rotstyle{}{\LWR@igangle %
}}{}%
\ifthenelse{\NOT\equal{\LWR@igxscale}{1}\OR%
\NOT\equal{\LWR@igyscale}{1}}%
-{\LWR@scalestyle{-ms-}{\LWR@igxscale}{\LWR@igyscale} %
-\LWR@scalestyle{-webkit-}{\LWR@igxscale}{\LWR@igyscale} %
-\LWR@scalestyle{}{\LWR@igxscale}{\LWR@igyscale}}{} %
+{\LWR@scalestyle{-ms-}{\LWR@igxscale}{\LWR@igyscale} % extra space
+\LWR@scalestyle{-webkit-}{\LWR@igxscale}{\LWR@igyscale} % extra space
+\LWR@scalestyle{}{\LWR@igxscale}{\LWR@igyscale}}{} % extra space
\ifthenelse{\NOT\equal{\LWR@opacity}{1}}%
{opacity:\LWR@opacity; }%
{}%
@@ -257,7 +257,6 @@ img src="%
-
\AtBeginDocument{
\LWR@traceinfo{Patching includegraphics.}
@@ -302,9 +301,9 @@ img src="%
\LWR@htmltagc{span style="display: inline-block; %
\ifthenelse{\NOT\equal{\LWR@rotboxorigin}{}}%
{transform-origin: \LWR@originnames{\LWR@rotboxorigin};\LWR@origtilde}{}%
-\LWR@rotstyle{-ms-}{#2} %
-\LWR@rotstyle{-webkit-}{#2} %
-\LWR@rotstyle{}{#2} %
+\LWR@rotstyle{-ms-}{#2} % extra space
+\LWR@rotstyle{-webkit-}{#2} % extra space
+\LWR@rotstyle{}{#2} % extra space
"}\LWR@orignewline%
\begin{LWR@nestspan}%
#3%
@@ -318,9 +317,9 @@ img src="%
\AtBeginDocument{
\RenewDocumentCommand{\scalebox}{m o m}{%
\LWR@htmltagc{span style="display: inline-block; %
-\LWR@scalestyle{-ms-}{#1}{\IfNoValueTF{#2}{#1}{#2}} %
-\LWR@scalestyle{-webkit-}{#1}{\IfNoValueTF{#2}{#1}{#2}} %
-\LWR@scalestyle{}{#1}{\IfNoValueTF{#2}{#1}{#2}} %
+\LWR@scalestyle{-ms-}{#1}{\IfNoValueTF{#2}{#1}{#2}} % extra space
+\LWR@scalestyle{-webkit-}{#1}{\IfNoValueTF{#2}{#1}{#2}} % extra space
+\LWR@scalestyle{}{#1}{\IfNoValueTF{#2}{#1}{#2}} % extra space
"}%
\begin{LWR@nestspan}%
#3%