summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/lwarp/lwarp-multirow.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/lwarp/lwarp-multirow.sty')
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-multirow.sty17
1 files changed, 9 insertions, 8 deletions
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-multirow.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-multirow.sty
index 6dcd5d69290..b52c068a6df 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-multirow.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-multirow.sty
@@ -35,17 +35,17 @@ style="border-\LWR@multirowborder: 2px dotted black ; %
padding-\LWR@multirowborder: 2px" %
}%
class="td%
-\StrChar{\LWR@tablecolspec}{\theLWR@tablecolspos}%
+\StrChar{\LWR@tablecolspec}{\arabic{LWR@tablecolindex}}%
\LWR@addcmidruletrim%
\LWR@addleftmostbartag%
-\LWR@printbartag{\theLWR@tablecolspos}%
+\LWR@printbartag{\arabic{LWR@tablecolindex}}%
"%
\LWR@tdstartstyles%
\LWR@addcmidrulewidth%
\LWR@addformatwpalignment%
\LWR@tdendstyles%
}%
-\LWR@getexparray{LWR@colbeforespec}{\theLWR@tablecolspos}%
+\LWR@getexparray{LWR@colbeforespec}{\arabic{LWR@tablecolindex}}%
\begingroup\LetLtxMacro{\\}{\LWR@endofline}#6\endgroup%
\LWR@stoppars%
\global\boolfalse{LWR@intabularmetadata}%
@@ -53,12 +53,13 @@ class="td%
\LWR@traceinfo{*** multirow done}%
}%
\NewDocumentCommand{\multicolumnrow}{m m O{} m O{} m O{} +m}{%
-\LWR@tabularhtmlcolumns{\theLWR@tablecolspos}{#1}
-\begingroup\LetLtxMacro{\\}{\LWR@endofline}%
-\LWR@domulticolumn[#3][#4]{\theLWR@tabhtmlcoltotal}{#2}{#8}%
+\LWR@tabularhtmlcolumns{\arabic{LWR@tablecolindex}}{#1}
+\begingroup%
+\LetLtxMacro{\\}{\LWR@endofline}%
+\LWR@domulticolumn[#3][#4]{#1}{\arabic{LWR@tabhtmlcoltotal}}{#2}{#8}%
\endgroup%
-\addtocounter{LWR@tablecolspos}{#1}%
-\addtocounter{LWR@tablecolspos}{-1}%
+\addtocounter{LWR@tablecolindex}{#1}%
+\addtocounter{LWR@tablecolindex}{-1}%
\booltrue{LWR@skipatbang}%
}
\appto{\LWR@restoreorigformatting}{%