summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Doc/texinputs/howto.cls8
-rw-r--r--Doc/texinputs/manual.cls8
2 files changed, 12 insertions, 4 deletions
diff --git a/Doc/texinputs/howto.cls b/Doc/texinputs/howto.cls
index 127edc4..33db125 100644
--- a/Doc/texinputs/howto.cls
+++ b/Doc/texinputs/howto.cls
@@ -48,12 +48,16 @@
%
\renewcommand{\maketitle}{
\py@doHorizontalRule
- \@ifundefined{pdfinfo}{}{
+ \@ifundefined{pdfinfo}{}{{
+ % This \def is 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\\{, }
\pdfinfo{
/Author (\@author)
/Title (\@title)
}
- }
+ }}
\begin{flushright}
{\rm\Huge\py@HeaderFamily \@title} \par
{\em\large\py@HeaderFamily \py@release} \par
diff --git a/Doc/texinputs/manual.cls b/Doc/texinputs/manual.cls
index 45939c9..789cae1 100644
--- a/Doc/texinputs/manual.cls
+++ b/Doc/texinputs/manual.cls
@@ -63,12 +63,16 @@
\let\footnotesize\small
\let\footnoterule\relax
\py@doHorizontalRule%
- \@ifundefined{pdfinfo}{}{
+ \@ifundefined{pdfinfo}{}{{
+ % This \def is 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\\{, }
\pdfinfo{
/Author (\@author)
/Title (\@title)
}
- }
+ }}
\begin{flushright}%
{\rm\Huge\py@HeaderFamily \@title \par}%
{\em\LARGE\py@HeaderFamily \py@release \par}