I am using multirow in my table and getting error "Missing number, treated as zero" while generating HTML output, PDF is generated properly. What could be the issue?Here is my sample code


Header 1 & Header 2 & Header 3 \\
\multirow{2}{*}{Test} & stuff & stuff \\
& Body 2 & Body 3

Package multirow was recently updated and definition of the macro patched by tex4ht has been changed. I will post a fix to tex4ht, but it will take few days before the update will be available in TeX distributions. Meanwhile, you can create file multirow.4ht in directory with your TeX file, with the following contents:

% multirow.4ht                         2009-05-21-09:32 %
% Copyright (C) 2004--2009      Eitan M. Gurari         %
%                                                        %
% This work may be distributed and/or modified under the %
% conditions of the LaTeX Project Public License, either %
% version 1.3c of this license or (at your option) any   %
% later version. The latest version of this license is   %
% in                                                     %
%   http://www.latex-project.org/lppl.txt                %
% and version 1.3c or later is part of all distributions %
% of LaTeX version 2005/12/01 or later.                  %
%                                                        %
% This work has the LPPL maintenance status "maintained".%
%                                                        %
% This Current Maintainer of this work                   %
% is Eitan M. Gurari.                                    %
%                                                        %
% If you modify this program your changing its signature %
% with a directive of the following form will be         %
% appreciated.                                           %
%            \message{signature}                         %
%                                                        %
%                             gurari@cse.ohio-state.edu  %
%                 http://www.cse.ohio-state.edu/~gurari  %
\immediate\write-1{version 2009-05-21-09:32}

  \advance\multirow@dima \multirow@cntb\bigstrutjot
  \else \if=#4\multirow@setcolwidth{#6}%
  \else \multirow@vbox{#1}{\hsize#4\@parboxrestore}{\strut#6\strut\par}%
  \fi \fi
      \ifmultirow@prefixt \advance\multirow@dima\bigstrutjot\fi
      \if#1b\relax \advance\multirow@dima\dp\@arstrutbox
        \ifmultirow@prefixb \advance\multirow@dima\bigstrutjot\fi
      \ifmultirow@prefixb \advance\multirow@dima-\bigstrutjot\fi
        \ifmultirow@prefixt \advance\multirow@dima-\bigstrutjot\fi
  \ifmultirowdebug{\showboxdepth=5 \showboxbreadth=10 \showbox0}\fi


This is the result:

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.