Debian Codegraph @

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

raw
1 %%
2 %% This is file `lwarp-embrac.sty',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% lwarp.dtx (with options: `embrac')
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{embrac}[2021/02/20]
19 \ExplSyntaxOn
20 \RenewDocumentCommand{\embrac_kern:n}{m}{}
21 \ExplSyntaxOff
22 \LetLtxMacro\LWR@orig@HTML@emph\LWR@HTML@emph
23 \RenewDocumentCommand{\LWR@HTML@emph}{s m}{\LWR@orig@HTML@emph{#2}}
24
25 \LetLtxMacro\LWR@orig@HTML@textit\LWR@HTML@textit
26 \RenewDocumentCommand{\LWR@HTML@textit}{s m}{\LWR@orig@HTML@textit{#2}}
27
28 \LetLtxMacro\LWR@orig@HTML@textsl\LWR@HTML@textsl
29 \RenewDocumentCommand{\LWR@HTML@textsl}{s m}{\LWR@orig@HTML@textsl{#2}}
30
31 \AtBeginDocument{
32 \LWR@formatted{emph}
33 \LWR@formatted{textit}
34 \LWR@formatted{textsl}
35 \ifdef{\textsi}
36 {
37 \LetLtxMacro\LWR@orig@HTML@textsi\LWR@HTML@textsi
38 \RenewDocumentCommand{\LWR@HTML@textsi}{s m}{%
39 \LWR@orig@HTML@textsi{#2}%
40 }
41 \LWR@formatted{textsi}
42 }{}
43 }
44
45 \newcommand{\LWR@HTML@EmbracOff}{}
46 \LWR@formatted{EmbracOff}
47
48 \newcommand{\LWR@HTML@EmbracOn}{}
49 \LWR@formatted{EmbracOn}
50
51 \endinput
52 %%
53 %% End of file `lwarp-embrac.sty'.