mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Merge branch 'stable'
This commit is contained in:
2
CHANGES
2
CHANGES
@@ -176,6 +176,8 @@ Bugs fixed
|
||||
* #3575: Problems with pdflatex in a Turkish document built with sphinx has
|
||||
reappeared (refs #2997, #2397)
|
||||
* #3577: Fix intersphinx debug tool
|
||||
* A LaTeX command such as ``\\large`` inserted in the title items of
|
||||
:confval:`latex_documents` causes failed PDF build (refs #3551, #3567)
|
||||
|
||||
Testing
|
||||
--------
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
import re
|
||||
import sphinx
|
||||
language = 'ja'
|
||||
|
||||
|
||||
extensions = ['sphinx.ext.autodoc', 'sphinx.ext.doctest', 'sphinx.ext.todo',
|
||||
'sphinx.ext.autosummary', 'sphinx.ext.extlinks',
|
||||
|
||||
@@ -34,15 +34,8 @@
|
||||
% FIXME: use \hypersetup{pdfauthor={\@author}, pdftitle={\@title}}
|
||||
\ifdefined\pdfinfo
|
||||
\begingroup
|
||||
% These \defs are required to deal with multi-line authors; it
|
||||
% changes \\ to ', ' (comma-space), making it pass muster for
|
||||
% generating document info in the PDF file.
|
||||
\def\\{, }%
|
||||
\def\and{and }%
|
||||
\pdfinfo{
|
||||
/Author (\@author)
|
||||
/Title (\@title)
|
||||
}%
|
||||
%\pdfstringdefDisableCommands{\def\\{, }\def\endgraf{ }\def\and{, }}%
|
||||
%\hypersetup{pdfauthor={\@author}, pdftitle={\@title}}%
|
||||
\endgroup
|
||||
\fi
|
||||
\begin{flushright}
|
||||
|
||||
@@ -44,15 +44,8 @@
|
||||
% FIXME: use \hypersetup{pdfauthor={\@author}, pdftitle={\@title}}
|
||||
\ifdefined\pdfinfo
|
||||
\begingroup
|
||||
% These \defs are required to deal with multi-line authors; it
|
||||
% changes \\ to ', ' (comma-space), making it pass muster for
|
||||
% generating document info in the PDF file.
|
||||
\def\\{, }%
|
||||
\def\and{and }%
|
||||
\pdfinfo{
|
||||
/Author (\@author)
|
||||
/Title (\@title)
|
||||
}%
|
||||
%\pdfstringdefDisableCommands{\def\\{, }\def\endgraf{ }\def\and{, }}%
|
||||
%\hypersetup{pdfauthor={\@author}, pdftitle={\@title}}%
|
||||
\endgroup
|
||||
\fi
|
||||
\begin{flushright}%
|
||||
|
||||
Reference in New Issue
Block a user