summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/lwarp/lwarp-graphics.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/lwarp/lwarp-graphics.sty')
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-graphics.sty6
1 files changed, 3 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-graphics.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-graphics.sty
index 6a5d70df83e..bf5e0657c28 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-graphics.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-graphics.sty
@@ -334,11 +334,11 @@
\begingroup%
\LetLtxMacro\Gin@setfile\LWR@HTML@Gin@setfile%
\edef\LWR@tempone{#4}%
- \StrSubstitute{\LWR@tempone}{.pdf}{.svg}[\LWR@tempone]%
- \StrSubstitute{\LWR@tempone}{.PDF}{.SVG}[\LWR@tempone]%
+ \StrSubstitute{\LWR@tempone}{.pdf}{}[\LWR@tempone]%
+ \StrSubstitute{\LWR@tempone}{.PDF}{}[\LWR@tempone]%
\LWR@replaceEPSSVG%
\xdef\LWR@parsedfilename{\LWR@tempone}%
- \Ginclude@graphics{\detokenize\expandafter{\LWR@tempone}}%
+ \Ginclude@graphics{\detokenize\expandafter{\LWR@parsedfilename}}%
\endgroup%
\filename@parse{\LWR@parsedfilename}%
\StrSubstitute{\LWR@parsedfilename}{//}{/}[\LWR@parsedfilename]%