Comment 1 for bug 532870

Revision history for this message
joep (josef-pktd) wrote :

I get the same error with pdflatex

I tried building latex and pdf a while ago and I thought it might be a problem with windows.

creating latex ends without errors, but the generated latex file has 2 extra \item

I managed to correct the latex file by hand and it compiles to pdf, see attachment. The pdf file doesn't look very nice, e.g. incomplete toc, missing index, docstrings look ok (149 pages)

Since it's autogenerated rst and latex from a docstring, it might not be so easy to figure out what is introducing the incorrect latex.

here's the patch for the latex that inserts nonsense instead of the latex error (for latex file build with "make latex"

diff U3 C:/Josef/eclipsegworkspace/statsmodels_trunk3/scikits/statsmodels/docs/build/latex/statsmodels.tex C:/Josef/eclipsegworkspace/statsmodels_trunk3/scikits/statsmodels/docs/build/latex/statsmodels_corrected.tex
--- C:/Josef/eclipsegworkspace/statsmodels_trunk3/scikits/statsmodels/docs/build/latex/statsmodels.tex Fri Mar 05 15:56:00 2010
+++ C:/Josef/eclipsegworkspace/statsmodels_trunk3/scikits/statsmodels/docs/build/latex/statsmodels_corrected.tex Fri Mar 05 15:43:03 2010
@@ -2332,9 +2332,8 @@

 \hyperlink{scikits.statsmodels.regression.RegressionResults.summary}{\code{summary}}({[}yname, xname{]})
  &
-\begin{quote}\begin{description}
-\item[Parameters] \leavevmode
-\end{description}\end{quote}
+jhlgjhgljh?????????????
+

 \\

@@ -5282,9 +5281,7 @@

 \hyperlink{scikits.statsmodels.family.family.NegativeBinomial.deviance}{\code{deviance}}(Y, mu{[}, scale{]})
  &
-\begin{quote}\begin{description}
-\item[Parameters] \leavevmode
-\end{description}\end{quote}
+aa?????????????

 \\