summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/tex4ht/booktabs.4ht
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/generic/tex4ht/booktabs.4ht')
-rw-r--r--Master/texmf-dist/tex/generic/tex4ht/booktabs.4ht49
1 files changed, 32 insertions, 17 deletions
diff --git a/Master/texmf-dist/tex/generic/tex4ht/booktabs.4ht b/Master/texmf-dist/tex/generic/tex4ht/booktabs.4ht
index 7e7e7483cf3..0bb210cc8b3 100644
--- a/Master/texmf-dist/tex/generic/tex4ht/booktabs.4ht
+++ b/Master/texmf-dist/tex/generic/tex4ht/booktabs.4ht
@@ -1,5 +1,5 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% booktabs.4ht 2008-07-04-10:48 %
+% booktabs.4ht 2008-08-07-16:09 %
% Copyright (C) 1999--2008 Eitan M. Gurari %
% %
% This work may be distributed and/or modified under the %
@@ -24,7 +24,7 @@
% gurari@cse.ohio-state.edu %
% http://www.cse.ohio-state.edu/~gurari %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\immediate\write-1{version 2008-07-04-10:48}
+\immediate\write-1{version 2008-08-07-16:09}
\ifx \@BTfnslthree\:UnDef
\def\:temp{\o:noalign:{\ifnum0=`}\fi
@@ -48,14 +48,35 @@
\HLet\bottomrule=\:temp
\NewConfigure{bottomrule}{1}
-\def\:temp{\o:noalign:{\ifnum0=`}\fi
- \@ifnextchar[{\@addspace}{\@addspace[\defaultaddspace]}}
-\HLet\addlinespace=\:temp
-\def\:temp[#1]{\o:@addspace:[\z@\a:addlinespace]}
-\HLet\@addspace=\:temp
-\NewConfigure{addlinespace}{1}
-
\else
+ \def\:temp{\hrule
+ \@height \@thisrulewidth\futurenonspacelet\@tempa\@BTendrule}
+ \ifx \@BTnormal\:temp
+ \def\@BTnormal{\hbox{\cur:rule}\futurenonspacelet\@tempa\@BTendrule}
+\def\@cmidrulea{\multispan\@cmidla&\multispan\@cmidlb \a:cmidrule \hfill \cr}
+\def\@cmidruleb{\multispan\@cmidlb \a:cmidrule \hfill \cr}
+
+ \else
+ \def\:tempc{%
+ %{\CT@arc@\hrule\@height\@thisrulewidth}%
+ \hbox{\cur:rule}\futurenonspacelet\@tempa\@BTendrule}
+\HLet\@BTnormal\:tempc
+\def\:tempc{%
+ \multispan\@cmidla&\multispan\@cmidlb
+ \a:cmidrule
+ \unskip\hskip\cmrkern@l%
+ %{\CT@arc@\leaders\hrule \@height\@thisrulewidth\hfill}%
+ \hskip\cmrkern@r\cr}%
+\HLet\@cmidrulea\:tempc
+\def\:tempc{%
+ \multispan\@cmidlb
+ \a:cmidrule
+ \unskip\hskip \cmrkern@l%
+ %{\CT@arc@\leaders\hrule \@height\@thisrulewidth\hfill}%
+ \hskip\cmrkern@r\cr}%
+\HLet\@cmidruleb\:tempc
+
+ \fi
\def\gobble:if#1\fi{}
\let\:tempc\toprule
@@ -78,7 +99,6 @@
\gobble:if}
\HLet\bottomrule=\:tempc
\NewConfigure{bottomrule}{1}
-\def\@BTnormal{\hbox{\cur:rule}\futurenonspacelet\@tempa\@BTendrule}
\def\@@BLTrule(#1){\@setrulekerning{#1}%
\global\@cmidlb\LT@cols
\ifnum0=`{\fi}%
@@ -96,16 +116,11 @@
\ifnum\@lastruleclass=\z@\vskip \aboverulesep\fi
\ifnum0=`{\fi}\@gtempa
\o:noalign:{\ifnum0=`}\fi\futurenonspacelet\@tempa\@xcmidrule}
-\def\@cmidrulea{\multispan\@cmidla&\multispan\@cmidlb \a:cmidrule \hfill \cr}
-\def\@cmidruleb{\multispan\@cmidlb \a:cmidrule \hfill \cr}
\fi
-\let\:tempc\addlinespace
-\pend:def\:tempc{\o:noalign:{\ifnum0=`}\fi
+\def\:temp{\o:noalign:{\ifnum0=`}\fi
\@ifnextchar[{\@addspace}{\@addspace[\defaultaddspace]}}
-\HLet\addlinespace=\:tempc
-\NewConfigure{addlinespace}{1}
-
+\HLet\addlinespace=\:temp
\def\:temp#1#2#3{\o:noalign:{\a:specialrule}}
\HLet\specialrule=\:temp
\NewConfigure{specialrule}{1}