Skip to content

3.11 library pdf fail to build #122

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
JulienPalard opened this issue Feb 8, 2022 · 1 comment
Closed

3.11 library pdf fail to build #122

JulienPalard opened this issue Feb 8, 2022 · 1 comment

Comments

@JulienPalard
Copy link
Member

On cpython main, running:

make -C Doc 'SPHINXOPTS=-D latex_engine=xelatex -D latex_elements.inputenc= -D latex_elements.fontenc= -j4 -q' SPHINXERRORHANDLING= autobuild-dev

with sphinx 3.2.1 gives:

! LaTeX Error: Something's wrong--perhaps a missing \item.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...

l.1768 ...hanged}{Changed in version 3.3: }\item {
                                                  }
?             

It happens in library.tex around those lines:

\begin{itemize}
\DUrole{versionmodified,changed}{Changed in version 3.3: }\item {} 
The \sphinxstyleemphasis{opener} parameter was added.

\item {} 
The \sphinxcode{\sphinxupquote{'x'}} mode was added.

\item {} 
{\hyperref[\detokenize{library/exceptions:IOError}]{\sphinxcrossref{\sphinxcode{\sphinxupquote{IOError}}}}} used to be raised, it is now an alias of {\hyperref[\detokenize{library/exceptions:OSError}]{\sphinxcrossref{\sphinxcode{\sphinxupquote{OSError}}}}}.

\item {} 
{\hyperref[\detokenize{library/exceptions:FileExistsError}]{\sphinxcrossref{\sphinxcode{\sphinxupquote{FileExistsError}}}}} is now raised if the file opened in exclusive
creation mode (\sphinxcode{\sphinxupquote{'x'}}) already exists.

\end{itemize}
@JulienPalard
Copy link
Member Author

Fixed by #123, thanks @m-aciek!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant