To obtain a PDF file output.pdf with the desired metadata. Pdftk input.pdf update_info meta.txt output output.pdf Where you adjust the InfoValue entries to your needs. Specify the metadata in a text file (say, meta.txt): A command line tool for fixing the metadata is pdftk, which is available for all major platforms. Sometimes you already have a PDF (not necessarily generated with LaTeX) and only need to fix the metadata. If hyperref is not an option for you and if you use PDFLaTeX (Latex+DVIPS+PS2PDF does not work), use the macro pdfinfo: The package hyperref has a couple of dependencies and sometimes clashes with other packages. This works with LaTeX+DVIPS+PS2PDF as well as with PDFLaTeX. All you need to do is to include the hyperref package in the preamble and pass the respective entries in the PDF metadata to the macro hypersetup: PDF Metadata with hyperref in LaTeXĪ convenient way of specifying the PDF metadata in LaTeX is to use the package hyperref. Feel free to download the sources for adding metadata to PDFs generated with LaTeX and try them out. I summarize five ways of achieving the same in the following. If you use WYSIWYG editors such as LibreOffice or OpenOffice, you will find a suitable properties-dialog somewhere good luck! However, if you share my preference for a document markup language such as LaTeX, you need to specify these metadata right in the sources, or add them to a PDF later. Setting the PDF metadata correctly will make it easier for search engines to find and correctly advertise your work, so spending a few minutes on setting the metadata correctly is time well spent. #Install pdfinfo only how toIn an earlier blog post we looked at how to embed fonts in a PDF, today we look at PDF metadata which specifies properties such as the author, the title, a subject, and keywords. A high-quality publication not only has good content, but also takes care of the tiny details.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |