File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -109,6 +109,7 @@ Bugs fixed
109109* #2693: Sphinx latex style file wrongly inhibits colours for section headings
110110 for latex+dvi(ps,pdf,pdfmx)
111111* C++, properly look up ``any`` references.
112+ * #3551: PDF information dictionary is lacking author and title data
112113
113114Deprecated
114115----------
Original file line number Diff line number Diff line change 3131%
3232\renewcommand {\maketitle }{%
3333 \noindent\rule {\textwidth }{1pt}\par
34- % FIXME: use \hypersetup{pdfauthor={\@author}, pdftitle={\@title}}
35- \ifdefined \pdfinfo
36- \begingroup
37- % \pdfstringdefDisableCommands{\def\\{, }\def\endgraf{ }\def\and{, }}%
38- % \hypersetup{pdfauthor={\@author}, pdftitle={\@title}}%
34+ \begingroup % for PDF information dictionary
35+ \def\endgraf { }\def\and {\& }%
36+ \pdfstringdefDisableCommands {\def \\ {, }}% overwrite hyperref setup
37+ \hypersetup {pdfauthor={\@author }, pdftitle={\@title }}%
3938 \endgroup
40- \fi
4139 \begin {flushright }
4240 \sphinxlogo
4341 \py@HeaderFamily
Original file line number Diff line number Diff line change 4141 \let\footnotesize\small
4242 \let\footnoterule\relax
4343 \noindent\rule {\textwidth }{1pt}\par
44- % FIXME: use \hypersetup{pdfauthor={\@author}, pdftitle={\@title}}
45- \ifdefined \pdfinfo
46- \begingroup
47- % \pdfstringdefDisableCommands{\def\\{, }\def\endgraf{ }\def\and{, }}%
48- % \hypersetup{pdfauthor={\@author}, pdftitle={\@title}}%
44+ \begingroup % for PDF information dictionary
45+ \def\endgraf { }\def\and {\& }%
46+ \pdfstringdefDisableCommands {\def \\ {, }}% overwrite hyperref setup
47+ \hypersetup {pdfauthor={\@author }, pdftitle={\@title }}%
4948 \endgroup
50- \fi
5149 \begin {flushright }%
5250 \sphinxlogo
5351 \py@HeaderFamily
You can’t perform that action at this time.
0 commit comments