Re: Set PDF metadata from LaTeX title/author commands?

Akira Yokosawa <[email protected]>
Newsgroups org.kernel.vger.perfbook
Message-ID <[email protected]>
Hi Paul,

On 2023/11/10 9:48, Paul E. McKenney wrote:
> Hello, Akira,
> 
> Is the patch shown below reasonable, or would this mess things up?
> 
> It is nice seeing the title at the top of the "evince" window, but not
> so nice that we should risk anything going wrong.  And I vaguely recall
> this being discussed, but do not see any emails or commits mentioning
> pdfusetitle, so I figured I should ask.  ;-)

I don't remember any discussion about pdfusetitle.

As far as I see, this shouldn't do any harm.

Reviewed-by: Akira Yokosawa <[email protected]>

        Thanks, Akira


> 
> 						Thanx, Paul
> 
> ------------------------------------------------------------------------
> 
> commit 3edff9639ae80c03f0be9e506f053dd3096b74d8
> Author: Paul E. McKenney <[email protected]>
> Date:   Thu Nov 9 16:43:48 2023 -0800
> 
>     perfbook-lt: Set PDF metadata from LaTeX title and author
>     
>     Signed-off-by: Paul E. McKenney <[email protected]>
> 
> diff --git a/perfbook-lt.tex b/perfbook-lt.tex
> index 3b8cb1cd..ec457599 100644
> --- a/perfbook-lt.tex
> +++ b/perfbook-lt.tex
> @@ -76,7 +76,7 @@
>  \usepackage[nottoc]{tocbibind}
>  \usepackage[columns=3,totoc,indentunit=12pt,justific=raggedright,font=small,columnsep=.15in]{idxlayout}
>  \usepackage{parnotes} % for footnotes in tabularx
> -\usepackage[bookmarks=true,bookmarksnumbered=true,pdfborder={0 0 0},linktoc=all]{hyperref}
> +\usepackage[bookmarks=true,bookmarksnumbered=true,pdfborder={0 0 0},linktoc=all,pdfusetitle]{hyperref}
>  \usepackage{footnotebackref} % to enable cross-ref of footnote
>  \usepackage[all]{hypcap} % for going to the top of figure and table
>  \usepackage{mfirstuc}[=v2.07] % v2.08 or later is not compatible with our
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.