Debian Codegraph @

texmf-dist/tex/latex/lwarp/lwarp-epstopdf-base.sty

raw
1 %%
2 %% This is file `lwarp-epstopdf-base.sty',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% lwarp.dtx (with options: `epstopdf-base')
8 %% This is a generated file.
9 %% Copyright 2016-2026 Brian Dunn
10 %%
11 %% This work may be distributed and/or modified under the
12 %% conditions of the LaTeX Project Public License, either version 1.3
13 %% of this license or (at your option) any later version.
14 %% The latest version of this license is in
15 %% http://www.latex-project.org/lppl.txt
16 %% and version 1.3 or later is part of all distributions of LaTeX
17 %% version 2005/12/01 or later.
18 \LWR@ProvidesPackagePass{epstopdf-base}[2020-01-24]
19 \newcommand*{\LWR@HTML@ETE@OrgGin@setfile}[3]{%
20 \edef\LWR@tempone{#3}%
21 \StrSubstitute{\LWR@tempone}{.pdf}{.svg}[\LWR@tempone]%
22 \StrSubstitute{\LWR@tempone}{.PDF}{.SVG}[\LWR@tempone]%
23 \xdef\LWR@parsedfilename{\LWR@tempone}%
24 }
25
26 \LWR@formatted{ETE@OrgGin@setfile}
27 \renewcommand*{\LWR@HTML@Gin@setfile}[3]{%
28 \ETE@Gin@setfile{#1}{#2}{#3}%
29 }
30 \AtBeginDocument{
31 \DeclareGraphicsExtensions{%
32 .eps,.EPS,.svg,.SVG,.gif,.GIF,.png,.PNG,.jpg,.JPG,.jpeg,.JPEG%
33 }
34 \DeclareGraphicsRule{.svg}{svg}{.svg}{}
35 \DeclareGraphicsRule{.SVG}{svg}{.SVG}{}
36 }
37 \appto\LWR@restoreorigformatting{%
38 \DeclareGraphicsExtensions{%
39 .eps,.EPS,.pdf,.PDF,.gif,.GIF,.png,.PNG,.jpg,.JPG,.jpeg,.JPEG%
40 }%
41 }
42
43 \endinput
44 %%
45 %% End of file `lwarp-epstopdf-base.sty'.