Debian Codegraph @

texmf-dist/tex/latex/lwarp/lwarp-doipubmed.sty

raw
1 %%
2 %% This is file `lwarp-doipubmed.sty',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% lwarp.dtx (with options: `doipubmed')
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{doipubmed}[2007/08/20]
19 \VerifyCommand[lwarp][doipubmed]{\doi}{13FFCBAF4F1414B838B6C3AD344117A8}
20
21 \renewcommand*{\doi}[1]{%
22 \def\@doi@code{}%
23 \@doi@linksubs#1\#\@@\@doi@code
24 \@onelevel@sanitize{\@doi@code}%
25 \def\@doi@text{}%
26 \@doi@textsubs#1\@nil\@@\@doi@text%
27 \xpretocmd{\@doi@code}{http://dx.doi.org/}{}{}%
28 \expandafter\href\expandafter{\@doi@code}{\doitext{\@doi@text}}}
29 \DeclareDocumentCommand{\LWR@citeurlb}{m}{%
30 \LWR@ensuredoingapar%
31 \textless%
32 \LWR@href@sanitized{#1}{#1}%
33 \textgreater%
34 \endgroup%
35 }
36
37 \renewrobustcmd*{\citeurl}{%
38 \begingroup%
39 \LWR@linkcatcodes%
40 \LWR@citeurlb%
41 }
42
43 \endinput
44 %%
45 %% End of file `lwarp-doipubmed.sty'.