Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I am trying to generate a html document using latex and I am experiencing some minor bug with tex4ht and the multirow package (I am working with MikTex 2.9 and WinEdt 7).

It appears that the "multirowed" items are not vertically centered on the htlm output while this is the case when using PDFLatex.

Here is a simple example illustrating the issue (taken from the multirow package documentation):

\documentclass[12pt,a4paper,onecolumn]{article}

\usepackage{multirow}

\begin{document}

\newcommand{\minitab}[2][l]{\begin{tabular}{#1}#2\end{tabular}}
\begin{tabular}{|c|c|}
\hline
\multirow{4}*{Common g text} & Column g2a\\
& Column g2b \\
& Column g2c \\
& Column g2d \\
\hline
\multirow{3}*{Common g text} & Column g2a\\
\cline{2-2}
& Column g2b \\
\cline{2-2}
& Column g2c \\
\hline
\multirow{4}*{Common g text} & Column g2a\\\cline{2-2}
& Column g2b \\\cline{2-2}
& Column g2c \\\cline{2-2}
& Column g2d \\
\hline
\multirow{4}*{\minitab[c]{Common \\ g text}} & Column g2a\\
& Column g2b \\
& Column g2c \\
& Column g2d \\
\hline
\end{tabular}

\end{document}

the resulting pdf looks good: pdf table

but not the html version: html table

Has anybody experienced such issue?

Thanks!

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.