-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Author and title not properly included in PDF metadata #87
Comments
Thanks for your report. The usual option to use title and author as meta data automatically was removed to make \AtEndPreamble{%
\RequirePackage[bookmarks=false]{hyperref}
\hypersetup{%
pdfdisplaydoctitle,%
colorlinks=true,%
allcolors=black,%
pdfstartview=Fit,%
pdfauthor={\@author},%
pdftitle={\@title}%
}%
}% This can be considered a bug as the information are not present at that point.
What exactly do you mean by "garbled"? |
There are trailing characters, probably from the footnote information of the first author handed to the
The expected outcome would something like this:
The same happens to the title when there is a footnote in I already tried to patch the |
Okay. I thought, you were talking about the pdf output itself. As the |
Please test with latest version 1.7.0 |
I can confirm that footnotes in Footnotes in the \title[Der Gesang des Rotkehlchens]{Qualitative Analyse \\ des Gesangs des Rotkehlchens%
\footnote{Englischer Titel der Dissertation: ``Qualitative Analysis of the Song of the Robin'' \cite{my-dissertation}}} Results in the following PDF title (again, extracted with
Just in case you're wondering why anyone would want to put a footnote in the title: https://gi.de/dissertationspreis
|
…ncluded-in-pdf-metadata Fix #87: Suppress \footnote from pdf bookmarks
Building the
lni-author-template.tex
as-is (i.e.,\author
and\title
come after\begin{document}
), the resulting PDF does neither contain title nor the author metadata (click on commands to expand and see the logs).pdflatex lni-author-template.tex
pdftk lni-author-template.pdf dump_data
If, however, the
\author
and\title
command are called before\begin{document}
, the meta-data fields are filled with data, but the author field is somewhat garbled:Compiling the PDF file also produces a number of hyperref warnings now:
pdflatex lni-author-template.tex
pdftk lni-author-template.pdf dump_data
Neither outcome is desirable.
The text was updated successfully, but these errors were encountered: