diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/lwarp/lwarp-graphics.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/lwarp/lwarp-graphics.sty | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-graphics.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-graphics.sty index 578be1bc75d..4f21fd6f8d9 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-graphics.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-graphics.sty @@ -17,7 +17,7 @@ %% version 2005/12/01 or later. -\LWR@ProvidesPackagePass{graphics}[2017/06/25] +\LWR@ProvidesPackagePass{graphics}[2020/08/30] \AtBeginDocument{ @@ -102,9 +102,8 @@ \define@key{igraph}{scale}{% \ifthenelse{\equal{#1}{1}}{}{% must expand #1 \PackageWarning{lwarp}{% - It is recommended to use\MessageBreak - [width=xx\protect\linewidth]\MessageBreak - instead of [scale=yy],% + It is recommended to use ``[width=xx\protect\linewidth]''\MessageBreak + instead of ``[scale=yy]'',% }% }% \renewcommand*{\LWR@igxscale}{#1}% @@ -252,9 +251,9 @@ \newcommand*{\LWR@ig@htmltag}{% img\LWR@indentHTML% - src="% + src=\textquotedbl% \detokenize\expandafter{\LWR@parsedfilename}% - "\LWR@indentHTML% + \textquotedbl\LWR@indentHTML% \ifthenelse{ \NOT\equal{\LWR@igwidthstyle}{} \OR \NOT\equal{\LWR@igheightstyle}{} \OR @@ -264,7 +263,7 @@ \NOT\equal{\LWR@igyscale}{1} }% {% - style="\LWR@indentHTML + style=\textquotedbl\LWR@indentHTML \ifthenelse{\NOT\equal{\LWR@igwidthstyle}{}}% {\LWR@igwidthstyle;\LWR@indentHTML}{}% \ifthenelse{\NOT\equal{\LWR@igheightstyle}{}}% @@ -296,10 +295,10 @@ \ifthenelse{\NOT\equal{\LWR@opacity}{1}}% {opacity:\LWR@opacity;\LWR@indentHTML}{}% % - "\LWR@indentHTML% + \textquotedbl\LWR@indentHTML% }{}% - class="\LWR@igclass"\LWR@indentHTML% - alt="\AltTextOpen\LWR@igalt\AltTextClose" \LWR@orignewline% + class=\textquotedbl\LWR@igclass\textquotedbl\LWR@indentHTML% + alt=\textquotedbl\AltTextOpen\LWR@igalt\AltTextClose\textquotedbl\ \LWR@orignewline% }% end of image tags \NewDocumentCommand{\LWR@includegraphicsb}{s o o m} @@ -336,10 +335,11 @@ \Ginclude@graphics{\detokenize\expandafter{\LWR@tempone}}% \endgroup% \filename@parse{\LWR@parsedfilename}% + \StrSubstitute{\LWR@parsedfilename}{//}{/}[\LWR@parsedfilename]% \LWR@traceinfo{LWR@parsedfilename is \LWR@parsedfilename}% \LWR@ig@wpimagesizes{#1}{#2}{#3}{#4}% \LWR@traceinfo{LWR@includegraphicsb: about to create href}% - \href{\LWR@parsedfilename}% + \LWR@href{\LWR@parsedfilename}% {% start of href \LWR@traceinfo{LWR@includegraphicsb: about to LWR@htmltag}% \LWR@htmltag{\LWR@ig@htmltag}% @@ -393,14 +393,14 @@ \setkeys{krotbox}{#1}% \LWR@htmltagc{% span\LWR@indentHTML - style="\LWR@indentHTML + style=\textquotedbl\LWR@indentHTML display: inline-block;\LWR@indentHTML \ifthenelse{\NOT\equal{\LWR@rotboxorigin}{}}% {transform-origin: \LWR@originnames{\LWR@rotboxorigin};\LWR@indentHTML}% {}% \LWR@rotstyle{-ms-}{#2}\LWR@indentHTML \LWR@rotstyle{-webkit-}{#2}\LWR@indentHTML - \LWR@rotstyle{}{#2}"\LWR@orignewline% + \LWR@rotstyle{}{#2}\textquotedbl\LWR@orignewline% }\LWR@orignewline% \begin{LWR@nestspan}% #3% @@ -415,12 +415,12 @@ \NewDocumentCommand{\LWR@HTML@scalebox}{m o m}{% \LWR@htmltagc{% span\LWR@indentHTML - style="\LWR@indentHTML + style=\textquotedbl\LWR@indentHTML display: inline-block;\LWR@indentHTML \LWR@scalestyle{-ms-}{#1}{\IfNoValueTF{#2}{#1}{#2}}\LWR@indentHTML \LWR@scalestyle{-webkit-}{#1}{\IfNoValueTF{#2}{#1}{#2}}\LWR@indentHTML \LWR@scalestyle{}{#1}{\IfNoValueTF{#2}{#1}{#2}} - "\LWR@orignewline + \textquotedbl\LWR@orignewline }\LWR@orignewline% \begin{LWR@nestspan}% #3% @@ -434,7 +434,7 @@ \AtBeginDocument{ \newcommand{\LWR@HTML@reflectbox}[1]{% -\scalebox{-1}[1]{#1}% + \scalebox{-1}[1]{#1}% }% \reflectbox \LWR@formatted{reflectbox} @@ -444,7 +444,7 @@ \AtBeginDocument{ \NewDocumentCommand{\LWR@HTML@resizebox}{s m m m}{% -#4% + #4% } \LWR@formatted{resizebox} |