0% found this document useful (0 votes)
104 views2 pages

PDF Metadata Testing with LaTeX

This document tests PDF metadata by creating a short LaTeX file with metadata instructions and extracting the metadata with Exiftool. The file sets the author, subject, title, and keywords in the LaTeX metadata tags. Exiftool then outputs the metadata in JSON format, including the author, title, subject, keywords, and other file details.

Uploaded by

xXpLayA69 Dan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
104 views2 pages

PDF Metadata Testing with LaTeX

This document tests PDF metadata by creating a short LaTeX file with metadata instructions and extracting the metadata with Exiftool. The file sets the author, subject, title, and keywords in the LaTeX metadata tags. Exiftool then outputs the metadata in JSON format, including the author, title, subject, keywords, and other file details.

Uploaded by

xXpLayA69 Dan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Testing the PDF metadata

gvdmoort∗

Sat Sep 26 08:36:50 CEST 2020

This is a short file with metadata set with LaTeX instructions:

\hypersetup {
pdfauthor={gvdmoort},
pdfsubject={The purpose of this file is to test how the metadata (the PDF
proprties are displayed and used with Mediawiki},
pdftitle={Testing the PDF metadata},
pdfkeywords={LaTeX, PDF, hyperlinks, metadata, testing},
bookmarks=true,
colorlinks=true,
citecolor=rust,
urlcolor=rust,
linkcolor=rust,
pdfborder={0 0 0}}
}

Here are the metadata extracted in json format with exiftool 1 with the command:

$ exiftool -j -G PDF_metadata.pdf

[{
"SourceFile": "PDF_metadata.pdf",
"ExifTool:ExifToolVersion": 10.37,
"File:FileName": "PDF_metadata.pdf",
"File:Directory": ".",
"File:FileSize": "129 kB",
"File:FileModifyDate": "2020:09:26 09:38:45+02:00",
"File:FileAccessDate": "2020:09:26 09:39:04+02:00",


https://commons.wikimedia.org/wiki/User:Gvdmoort
1
ExifTool by Phil Harvey. Read, Write and Edit Meta Information! https://exiftool.org/

1
"File:FileInodeChangeDate": "2020:09:26 09:38:45+02:00",
"File:FilePermissions": "rw-r--r--",
"File:FileType": "PDF",
"File:FileTypeExtension": "pdf",
"File:MIMEType": "application/pdf",
"PDF:PDFVersion": 1.5,
"PDF:Linearized": "No",
"PDF:PageCount": 1,
"PDF:PageMode": "UseOutlines",
"PDF:Author": "gvdmoort",
"PDF:Title": "Testing the PDF metadata",
"PDF:Subject": "The purpose of this file is to test how the metadata (the PDF propr
"PDF:Creator": "LaTeX with hyperref package",
"PDF:Producer": "pdfTeX-1.40.17",
"PDF:Keywords": ["LaTeX","PDF","hyperlinks","metadata","testing"],
"PDF:CreateDate": "2020:09:26 09:27:24+02:00",
"PDF:ModifyDate": "2020:09:26 09:27:24+02:00",
"PDF:Trapped": false,
"PDF:PTEX_Fullbanner": "This is pdfTeX, Version 3.14159265-2.6-1.40.17 (TeX Live 20
"XMP:XMPToolkit": "Image::ExifTool 10.37",
"XMP:AttributionURL": "https://commons.wikimedia.org/wiki/User:Gvdmoort",
"XMP:Creator": "gvdmoort",
"XMP:Subject": ["LaTeX","PDF","hyperlinks","metadata","testing"],
"XMP:Title": "Testing the PDF metadata",
"XMP:UserComment": "The purpose of this file is to test how the metadata (the PDF p
"XMP:CreateDate": "2020:09:26 09:00:58+02:00",
"XMP:UsageTerms": "CC0 1.0 Universal (CC0 1.0) Public Domain Dedication ",
"XMP:WebStatement": "https://creativecommons.org/publicdomain/zero/1.0/deed.en"
}]

You might also like