The following code, valid in rst, produces latex code that fails to
compile:
================= =========================================================
================= =========================================================
Foobar :func:`points3d`
Plots glyphs (like points) at the position of the
supplied data, described by ``x``, ``y``, ``z``
numpy arrays of the same shape.
Superfoobar :func:`plot3d`
Plots line between the supplied data, described by ``x``,
``y``, ``z`` 1D numpy arrays of the same length.
================= =========================================================
The reason the Latex code does not compile is because of the line returns
in the table cell: the generated code looks like that:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
\begin{tabulary}{\textwidth}{|L|L|}
\hline
\textbf{} & \textbf{}\\
\hline
Foobar
&
\code{points3d()}
Plots glyphs (like points) at the position of the
supplied data, described by \code{x}, \code{y}, \code{z}
numpy arrays of the same shape.
\\
SuperFoobar
&
\code{plot3d()}
Plots line between the supplied data, described by \code{x},
\code{y}, \code{z} 1D numpy arrays of the same length.
\\
\hline
\end{tabulary}
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Multiline table cells should be put in some kind of minipage environment.
Cheers,
Gaƫl
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sphinx-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sphinx-dev?hl=en
-~----------~----~----~----~------~----~------~--~---