Skip to content

Commit 0019f2a

Browse files
committed
Fixed Sphinx ifpdf.
1 parent 0c1aeb0 commit 0019f2a

File tree

1 file changed

+11
-12
lines changed

1 file changed

+11
-12
lines changed

doc/source/conf.py

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -66,18 +66,17 @@
6666
\let\footnotesize\small
6767
\let\footnoterule\relax
6868
\rule{\textwidth}{1pt}%
69-
\begingroup
70-
% These \defs are required to deal with multi-line authors; it
71-
% changes \\ to ', ' (comma-space), making it pass muster for
72-
% generating document info in the PDF file.
73-
\def\\{, }
74-
\def\and{and }
75-
\pdfinfo{
76-
/Author (\@author)
77-
/Title (\@title)
78-
}
79-
\endgroup
80-
\fi
69+
\begingroup
70+
% These \defs are required to deal with multi-line authors; it
71+
% changes \\ to ', ' (comma-space), making it pass muster for
72+
% generating document info in the PDF file.
73+
\def\\{, }
74+
\def\and{and }
75+
\pdfinfo{
76+
/Author (\@author)
77+
/Title (\@title)
78+
}
79+
\endgroup
8180
\begin{flushright}%
8281
\sphinxlogo%
8382
{\rm\Huge\py@HeaderFamily \@title \par}%

0 commit comments

Comments
 (0)