Debian Codegraph @

texmf-dist/tex/generic/tex4ht/writer.4ht

raw
1 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2 % writer.4ht 2009-05-21-09:32 %
3 % Copyright (C) 2004--2009 Eitan M. Gurari %
4 % %
5 % This work may be distributed and/or modified under the %
6 % conditions of the LaTeX Project Public License, either %
7 % version 1.3c of this license or (at your option) any %
8 % later version. The latest version of this license is %
9 % in %
10 % http://www.latex-project.org/lppl.txt %
11 % and version 1.3c or later is part of all distributions %
12 % of LaTeX version 2005/12/01 or later. %
13 % %
14 % This work has the LPPL maintenance status "maintained".%
15 % %
16 % This Current Maintainer of this work %
17 % is Eitan M. Gurari. %
18 % %
19 % If you modify this program your changing its signature %
20 % with a directive of the following form will be %
21 % appreciated. %
22 % \message{signature} %
23 % %
24 % [email protected] %
25 % http://www.cse.ohio-state.edu/~gurari %
26 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
27 \immediate\write-1{version 2009-05-21-09:32}
28
29 \let\wl:begin=\begin
30 \def\begin#1{%
31 \wl:env#1style//%
32 \wl:begin{#1}}
33 \def\wl:env#1style#2//{\relax\if!#1!\wl:styleenv#2//\fi}%
34 \def\wl:styleenv#1style#2//{%
35 \expandafter\ifx\csname before:begin style#1\endcsname\relax
36 \config:wlenv{style#1}%
37 \global\expandafter\let
38 \csname before:begin style#1\expandafter\endcsname
39 \csname before:begin style#1\endcsname
40 \expandafter\append:def\csname style#1\endcsname{\wl:css{style#1}}%
41 \fi }
42 \def\wl:css#1{%
43 \expandafter\ifx\csname css:#1\endcsname\relax
44 \global\expandafter\let\csname css:#1\endcsname\def
45 \config:wlcss{#1}%
46 \fi
47 }
48 \NewConfigure{WriterEnv}[2]{%
49 \def\config:wlenv##1{#1}%
50 \def\config:wlcss##1{#2}%
51 }
52 \Configure{WriterEnv}{}{}
53
54 \Hinput{writer}
55 \endinput
56