mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
If generating PDF, include the author and title information in acroread's
"File->General Info" dialog.
This commit is contained in:
parent
e8b46132e2
commit
5374045271
1 changed files with 12 additions and 1 deletions
|
|
@ -310,7 +310,13 @@
|
|||
\newcommand{\strong}[1]{{\bf #1}}
|
||||
% let's experiment with a new font:
|
||||
\newcommand{\file}[1]{\mbox{`\small\textsf{#1}'}}
|
||||
\newcommand{\url}[1]{\mbox{\small\textsf{#1}}}
|
||||
%\@ifundefined{pdfannotlink}{%
|
||||
\newcommand{\url}[1]{\mbox{\small\textsf{#1}}}%
|
||||
%}{
|
||||
% \newcommand{\url}[1]{{%
|
||||
% \pdfannotlink user{/S /URI /URI (#1)}%
|
||||
% \mbox{\small\textsf{#1}}}}%
|
||||
%}
|
||||
\let\email=\url
|
||||
|
||||
\newcommand{\varvars}[1]{{\def\,{\/{\char`\,}}\var{#1}}}
|
||||
|
|
@ -445,6 +451,11 @@
|
|||
\let\footnoterule\relax
|
||||
\@ifundefined{ChTitleVar}{}{%
|
||||
\mghrulefill{\RW}}%
|
||||
\@ifundefined{pdfinfo}{}{
|
||||
\pdfinfo
|
||||
author {\@author}
|
||||
title {\@title}
|
||||
}
|
||||
\begin{flushright}%
|
||||
{\rm\Huge\HeaderFamily \@title \par}%
|
||||
{\em\LARGE\HeaderFamily \@release \par}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue