summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/lwarp/lwarp-epstopdf-base.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-09-07 21:00:41 +0000
committerKarl Berry <karl@freefriends.org>2018-09-07 21:00:41 +0000
commit9105a10503acf300444434b20f9f913f7bc21083 (patch)
tree25d4d4eb50861533f4f04dc0e3b432fdbd120a73 /Master/texmf-dist/tex/latex/lwarp/lwarp-epstopdf-base.sty
parent935dd6891957aa897c36b37f09206e98a8588b56 (diff)
lwarp (7sep18)
git-svn-id: svn://tug.org/texlive/trunk@48617 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/lwarp/lwarp-epstopdf-base.sty')
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-epstopdf-base.sty28
1 files changed, 24 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-epstopdf-base.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-epstopdf-base.sty
index 2e32fac7440..177a33c9161 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-epstopdf-base.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-epstopdf-base.sty
@@ -15,10 +15,30 @@
%% http://www.latex-project.org/lppl.txt
%% and version 1.3 or later is part of all distributions of LaTeX
%% version 2005/12/01 or later.
-\LWR@ProvidesPackageDrop{epstopdf-base}[2016/05/15]
-\providecommand*{\epstopdfsetup}[1]{}
-\providecommand*{\epstopdfcall}[1]{}
-\providecommand*{\epstopdfDeclareGraphicsRule}[4]{}
+\LWR@ProvidesPackagePass{epstopdf-base}[2016/05/15]
+\newcommand*{\LWR@HTML@ETE@OrgGin@setfile}[3]{%
+ \edef\LWR@tempone{#3}%
+ \StrSubstitute{\LWR@tempone}{.pdf}{.svg}[\LWR@tempone]%
+ \StrSubstitute{\LWR@tempone}{.PDF}{.SVG}[\LWR@tempone]%
+ \xdef\LWR@parsedfilename{\LWR@tempone}%
+}
+
+\LWR@formatted{ETE@OrgGin@setfile}
+\renewcommand*{\LWR@HTML@Gin@setfile}[3]{%
+ \ETE@Gin@setfile{#1}{#2}{#3}%
+}
+\AtBeginDocument{
+\DeclareGraphicsExtensions{%
+ .eps,.EPS,.svg,.SVG,.gif,.GIF,.png,.PNG,.jpg,.JPG,.jpeg,.JPEG%
+}
+\DeclareGraphicsRule{.svg}{svg}{.svg}{}
+\DeclareGraphicsRule{.SVG}{svg}{.SVG}{}
+}
+\appto\LWR@restoreorigformatting{%
+\DeclareGraphicsExtensions{%
+ .eps,.EPS,.pdf,.PDF,.gif,.GIF,.png,.PNG,.jpg,.JPG,.jpeg,.JPEG%
+}%
+}
\endinput
%%
%% End of file `lwarp-epstopdf-base.sty'.