perfbook.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Paul E. McKenney" <paulmck@kernel.org>
To: akiyks@gmail.com
Cc: perfbook@vger.kernel.org
Subject: Set PDF metadata from LaTeX title/author commands?
Date: Thu, 9 Nov 2023 16:48:29 -0800	[thread overview]
Message-ID: <e50d0627-9e73-4afa-b097-ac3de3949cee@paulmck-laptop> (raw)

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.  ;-)

						Thanx, Paul

------------------------------------------------------------------------

commit 3edff9639ae80c03f0be9e506f053dd3096b74d8
Author: Paul E. McKenney <paulmck@kernel.org>
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 <paulmck@kernel.org>

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

             reply	other threads:[~2023-11-10  0:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-10  0:48 Paul E. McKenney [this message]
2023-11-10  3:15 ` Set PDF metadata from LaTeX title/author commands? Akira Yokosawa
2023-11-10  4:52   ` Paul E. McKenney

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e50d0627-9e73-4afa-b097-ac3de3949cee@paulmck-laptop \
    --to=paulmck@kernel.org \
    --cc=akiyks@gmail.com \
    --cc=perfbook@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).