Re: Trouble with index in tables



This is the smallest version for which I get the error:

\documentclass{article}
\makeindex
\begin{document}
\begin{tabular}{p{30mm}p{20mm}}
really & \index{bad}bad \\
\end{tabular}
\end{document}

As far as I can tell, there is nothing wrong with this
file; but the output is incorrect.

In fact, I know for sure that I had this error for
many years, but I never took the pain to distil
a minimal example. The example gives the wrong output
both for latex and pdflatex; in fact, one can also see
that somehow a large column is created in an intermediate step
that is then shrunk again. So the guess is that this is
a tabular bug.

Christoph

.



Relevant Pages