Debian Codegraph @

texmf-dist/tex/generic/tex4ht/powerdot-a.4ht

raw
1 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2 % powerdot-a.4ht 2009-05-21-09:32 %
3 % Copyright (C) 2006--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 \pend:defI\pd@getargsandbody{%
30 \expandafter\ifx \csname set:env:##1\endcsname\relax
31 \expandafter\gdef\csname set:env:##1\endcsname{}%
32 \expandafter\pend:def\csname end##1\endcsname{\relax}%
33 \expandafter\global\expandafter\let
34 \csname end##1\expandafter\endcsname\csname end##1\endcsname
35 \expandafter\ifx\csname before:begin##1\endcsname\relax
36 \:warning{\string\ConfigureEnv{##1} not provided}%
37 \fi \fi
38 }
39 \def\:tempc{%
40 \let\sv:rput\rput
41 \def\rput[##1](##2)##3{\def\:temp{\pd@@titlepos}\def\:tempa{##2}%
42 \ifx \:temp\:tempa
43 \let\rput\sv:rput
44 \def\:temp{\a:slidetitle\sv:rput[##1](##2){##3}\b:slidetitle}%
45 \else
46 \def\:temp{\sv:rput[##1](##2){##3}}%
47 \fi \:temp
48 }%
49 %
50 \append:def\pd@template@slide@options{%
51 \setkeys [pd]{template}{lfpos={}, rfpos={},
52 tocpos={}, stocpos={}, ntocpos={}}}%
53 \append:def\pd@template@titleslide@options{%
54 \setkeys [pd]{template}{lfpos={},rfpos={}}}%
55 \o:pd@sl@de:}
56 \HLet\pd@sl@de\:tempc
57 \NewConfigure{slidetitle}{2}
58 \let\:item\pd@orig@item
59 \let\pd@orig@item\@item
60 \def\@item[#1]{\@ifnextchar<{\pd@item[#1]}{\pd@item[#1]<>}}
61 \def\pd@item[#1]<#2>{%
62 \pd@closeitem
63 \ifx\pd@@type\pd@currenttype\else
64 \ifnum\pd@@type=\z@
65 \pst@Verb{(1) BOL}%
66 \else
67 \pst@Verb{(0) BOL}%
68 \normalcolor
69 \fi
70 \global\let\pd@currenttype\pd@@type
71 \fi
72 \ifnum\pd@currentstate=\z@
73 \normalcolor\pst@Verb{(0) BOL}%
74 \pd@hide{#2}%
75 \else
76 \color\pd@@iacolor
77 \fi
78 \ifx\@empty#2\@empty\else
79 \def\pd@closeitem{\gdef\pd@currentstate{0}}%
80 \fi
81 \pd@orig@item[#1]\@@par\leavevmode \ignorespaces
82 }
83
84 \Hinput{powerdot}
85 \endinput
86