Debian Codegraph @

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

raw
1 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2 % fancybox.4ht 2009-05-21-09:32 %
3 % Copyright (C) 1999--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 \def\:tempc#1#2{\begingroup #1\relax \hbox{{#2}}\endgroup}
30 \HLet\@ovalbox\:tempc
31 \HLet\doublebox\ovalbox
32 \HLet\shadowbox\ovalbox
33 \pend:defI\VerbBox{\a:VerbBox}
34 \append:def\end@VerbBox{\b:VerbBox}
35 \NewConfigure{VerbBox}{2}
36 \pend:def\shadowbox{\Configure{VerbBox}{\a:shadowbox}{\b:shadowbox}}
37 \NewConfigure{shadowbox}{2}
38 \pend:def\ovalbox{\Configure{VerbBox}{\a:ovalbox}{\b:ovalbox}}
39 \NewConfigure{ovalbox}{2}
40 \pend:def\Ovalbox{\Configure{VerbBox}{\a:Ovalbox}{\b:Ovalbox}}
41 \NewConfigure{Ovalbox}{2}
42 \pend:def\doublebox{\Configure{VerbBox}{\a:doublebox}{\b:doublebox}}
43 \NewConfigure{doublebox}{2}
44 \def\Btrivlist#1{\@ifnextchar[{\@Btrivlist{#1}}{\@Btrivlist{#1}[]}}
45 \def\@Btrivlist#1[#2]{%
46 \@Blistrestore
47 \let\\=\@Btrivlistcr
48 \a:Btrivlist
49 \expandafter\edef\csname Btrivlist-dir\endcsname{\expandafter\noexpand\csname
50 \if#1la\else\if#1rc\else b\fi\fi
51 :Btrivlist-dir\endcsname
52 }%
53 \fb@beginvbox{#2}%
54 \TeXhalign\bgroup
55 \hfil
56 \c:Btrivlist
57 \ignorespaces##\unskip
58 \d:Btrivlist
59 \if#1r\@empty\else\hfil\fi\cr}
60 \def\endBtrivlist{\crcr\egroup
61 \egroup\b:Btrivlist\if@pboxsw$\fi}
62 \NewConfigure{Btrivlist}{4}
63 \NewConfigure{Btrivlist-dir}[1]{%
64 \if :#1:\else \expandafter\Btrivlist:dir\fi {#1}}
65 \def\Btrivlist:dir#1#2{\expandafter\def
66 \csname\if#1la\else\if#1rc\else b\fi\fi :Btrivlist-dir\endcsname{#2}%
67 \csname c:Btrivlist-dir:\endcsname}
68 \def\@Blist#1#2[#3]{%
69 \ifnum\@listdepth>5
70 \@toodeep
71 \else
72 \global\advance\@listdepth\@ne
73 \fi
74 \itemindent\z@
75 \csname @list\romannumeral\the\@listdepth\endcsname
76 \def\@itemlabel{#1}%
77 \let\makelabel\@mklab
78 \@nmbrlistfalse
79 \@Blistrestore
80 \let\\=\@Blistcr
81 \let\item\Bitem
82 \@Bitemswfalse
83 #2\relax
84 \gdef\dd:Blist{\global\let\dd:Blist=\d:Blist}\a:Blist
85 \fb@beginvbox{#3}%
86 \TeXhalign\bgroup
87 \dd:Blist\c:Blist\e:Blist \ignorespaces##\f:Blist
88 &\e:Blist\ignorespaces##\unskip\hfil\f:Blist\cr}
89 \def\endBlist{\crcr\egroup
90 \egroup\dd:Blist\b:Blist\if@pboxsw$\fi
91 \global\advance\@listdepth\m@ne}
92 \NewConfigure{Blist}{6}
93 \let\Beqnarray=\eqnarray
94 \let\endBeqnarray=\endeqnarray
95
96 \Hinput{fancybox}
97 \endinput
98