From 53740452718b817300e74c93119271c7b7d25665 Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Tue, 17 Feb 1998 15:13:01 +0000 Subject: If generating PDF, include the author and title information in acroread's "File->General Info" dialog. --- Doc/myformat.sty | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/Doc/myformat.sty b/Doc/myformat.sty index b38ad90..b7d3629 100644 --- a/Doc/myformat.sty +++ b/Doc/myformat.sty @@ -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} -- cgit v0.12