Bug#548825: texlive-latex-base: \pdfinfo with hyperref should not have undefined behavior
Control: tags -1 upstream
Control: forwarded -1 https://github.com/ho-tex/hyperref/issues/99
On 2019-07-30 08:10:05 +0200, Hilmar Preuße wrote:
> According to the hyperref manual the correct syntax to override the PDF
> fields using pdfinfo is:
>
> \hypersetup{
> pdfinfo={
> Title={My Title},
> Subject={My Subject},
> NewKey={Foobar},
> }
> }
That's the hyperref way. \pdfinfo is a more general command.
> So in my opinion we rather look at wrong usage. Can we close the issue?
One big problem (which was my case, IIRC) is that one may use \pdfinfo
and add \usepackage{hyperref} later. It is not normal that a package
silently breaks a LaTeX file. If the \pdfinfo command is not supported,
it should be redefined by hyperref to yield an error.
I've just reported a bug upstream.
--
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
Reply to: