On Thu, Aug 11, 2005 at 11:52:37AM +0200, Martin Quinson wrote: > But about the html output, don't you get the figure actually centrered? > Actually, I do: /usr/share/doc/quilt/quilt.html in quilt-0.42 (tested with > w3m and firefox). The relevant code is: > \begin{center} > \begin{minipage}{6cm} > \begin{small} > \begin{Verbatim} > work/ -+- ... > |- patches/ -+- series > | |- patch2.diff > | |- patch1.diff > | +- ... > +- .pc/ -+- applied-patches > |- patch1.diff/ -+- ... > |- patch2.diff/ -+- ... > +- ... > \end{Verbatim} > \end{small} > \end{minipage} > \caption{Quilt files in a source tree.} > \label{fig:dir-layout} > \end{center} > > So I guess that's the same: minipage support is rather partial in hevea, > isn't it? I seem to remember warning messages in that sense.
I only have the source for quilt-0.40 but it seems to be the same code for that portion of the doc. With hevea 1.08, the figure itself gets centered, but inside that figure the "text" is flush left (with some additional left margin). Minipage support is in fact quite poor, as you suspected. If I understand right this is due to a deliberate design choice of hevea, which is not to assume anything about absolute font dimensions or the width of the output medium. This is of course in contrast to the TeX model but it makes sense if you want to generate proper HTML. As a result, a width specification like {6cm} doesn't mean much to hevea. -Ralf. -- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]