So I know one of hyperref's features is that it can add metadata to you PDFs. This is a nice feature and if you're putting stuff online, it's good to include metadata.
But is the hyperref package really the best way to do it? I mean, if you're using hyperref anyway, that's fine. But if you don't want hyperrefs in your document, it seems weird to include the package, and then turn off pretty much all its functionality. And given that hyperref is a shorthand for "package conflict nightmare", is seems insane that you should have to deal with it just for the sake of some metadata.
So I have two questions.
- Is there a good reason that hyperref includes this functionality which is apparently unrelated to its primary purpose?
- Is there a better (smaller, less conflicty, easier...) option to include metadata in my PDFs?
\usepackage{titling} \title{Foo} \pdfinfo{/Title (\thetitle)}WORKS! I was not expecting that... – Seamus Nov 26 '10 at 12:00\AtBeginDocument, as in http://tex.stackexchange.com/a/304758 – Nathan Musoke Jun 02 '16 at 10:34\pdfcatalog{/Lang(EN-US)}. – Teepeemm Apr 18 '19 at 02:24XMP. The code above only createsDocument Infometadata not XMP. Usehyperxmpto include standardised metadata orxmpinclfor arbitrary metadata. – tanGIS Jul 13 '20 at 20:55