diff options
Diffstat (limited to 'Master/texmf-dist/tex/generic/tex4ht/fancybox.4ht')
-rw-r--r-- | Master/texmf-dist/tex/generic/tex4ht/fancybox.4ht | 57 |
1 files changed, 54 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/generic/tex4ht/fancybox.4ht b/Master/texmf-dist/tex/generic/tex4ht/fancybox.4ht index 64b6c6aac48..16871221b04 100644 --- a/Master/texmf-dist/tex/generic/tex4ht/fancybox.4ht +++ b/Master/texmf-dist/tex/generic/tex4ht/fancybox.4ht @@ -1,6 +1,6 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% fancybox.4ht 2005-10-23-04:19 % -% Copyright (C) 1999--2005 Eitan M. Gurari % +% fancybox.4ht 2006-12-01-16:02 % +% Copyright (C) 1999--2006 Eitan M. Gurari % % % % This work may be distributed and/or modified under the % % conditions of the LaTeX Project Public License, either % @@ -24,7 +24,7 @@ % gurari@cse.ohio-state.edu % % http://www.cse.ohio-state.edu/~gurari % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\immediate\write-1{version 2005-10-23-04:19} +\immediate\write-1{version 2006-12-01-16:02} \def\:tempc#1#2{\begingroup #1\relax \hbox{{#2}}\endgroup} \HLet\@ovalbox\:tempc @@ -41,6 +41,57 @@ \NewConfigure{Ovalbox}{2} \pend:def\doublebox{\Configure{VerbBox}{\a:doublebox}{\b:doublebox}} \NewConfigure{doublebox}{2} +\def\Btrivlist#1{\@ifnextchar[{\@Btrivlist{#1}}{\@Btrivlist{#1}[]}} +\def\@Btrivlist#1[#2]{% + \@Blistrestore + \let\\=\@Btrivlistcr +\a:Btrivlist +\expandafter\edef\csname Btrivlist-dir\endcsname{\expandafter\noexpand\csname + \if#1la\else\if#1rc\else b\fi\fi + :Btrivlist-dir\endcsname +}% + \fb@beginvbox{#2}% + \TeXhalign\bgroup + \hfil + \c:Btrivlist + \ignorespaces##\unskip + \d:Btrivlist + \if#1r\@empty\else\hfil\fi\cr} +\def\endBtrivlist{\crcr\egroup + \egroup\b:Btrivlist\if@pboxsw$\fi} +\NewConfigure{Btrivlist}{4} +\NewConfigure{Btrivlist-dir}[1]{% + \if :#1:\else \expandafter\Btrivlist:dir\fi {#1}} +\def\Btrivlist:dir#1#2{\expandafter\def + \csname\if#1la\else\if#1rc\else b\fi\fi :Btrivlist-dir\endcsname{#2}% + \csname c:Btrivlist-dir:\endcsname} +\def\@Blist#1#2[#3]{% + \ifnum\@listdepth>5 + \@toodeep + \else + \global\advance\@listdepth\@ne + \fi + \itemindent\z@ + \csname @list\romannumeral\the\@listdepth\endcsname + \def\@itemlabel{#1}% + \let\makelabel\@mklab + \@nmbrlistfalse + \@Blistrestore + \let\\=\@Blistcr + \let\item\Bitem + \@Bitemswfalse + #2\relax + \gdef\dd:Blist{\global\let\dd:Blist=\d:Blist}\a:Blist + \fb@beginvbox{#3}% + \TeXhalign\bgroup + \dd:Blist\c:Blist\e:Blist \ignorespaces##\f:Blist + &\e:Blist\ignorespaces##\unskip\hfil\f:Blist\cr} +\def\endBlist{\crcr\egroup + \egroup\dd:Blist\b:Blist\if@pboxsw$\fi + \global\advance\@listdepth\m@ne} +\NewConfigure{Blist}{6} +\let\Beqnarray=\eqnarray +\let\endBeqnarray=\endeqnarray \Hinput{fancybox} \endinput |