pdfa-guide.pdf - How to create a PDF/A file with LATEX...

This preview shows page 1 - 3 out of 7 pages.

How to create a PDF/A file with LATEXJarmo NiemeläAugust 19, 2021IntroductionPDF/Ais a standardized version of the pdf file format and it is intended forarchiving and long-term preservation of electronic documents. A PDF/A filemust contain all of the information necessary for displaying and printing thedocument. This includes text, graphics, fonts and color information. Audioand video content and encryption is forbidden.The first version of the PDF/A standard, PDF/A-1, was published in 2005.Since then, two newer versions have been published, PDF/A-2 in 2011 andPDF/A-3 in 2012. Earlier versions contain a subset of the features of laterversions.The PDF/A-1 standard specifies two conformance levels, PDF/A-1a andPDF/A-1b. Level a (accessible) meets all requirements for the standard. Levelb (basic) conformance requires only that the document’s visual appearanceis preserved. PDF/A-2 and PDF/A-3 contain a third level u (Unicode), whichexpands conformance level b with an additional requirement that all text inthe document have Unicode mapping.PDF/A format isrequired in Tampere University theses. Any PDF/Aversion and conformance level can be used.Creating a PDF/A fileBelow is a LATEX template for creating a PDF/A compliant file:\begin{filecontents*}[overwrite]{\jobname.xmpdata}\Title{Document’s title}\Author{Author’s name}\Language{en-US}\Subject{The abstract, or short description.}\Keywords{keyword1\sep keyword2\sep keyword3}\end{filecontents*}\documentclass[a4paper,12pt]{article}\usepackage[utf8]{inputenc}1
\usepackage[T1]{fontenc}\usepackage{colorprofiles}\usepackage[a-2b,mathxmp]{pdfx}[2018/12/22]\hypersetup{pdfstartview=}\begin{document}The text of the document goes here.\end{document}The pdfx macro packageA PDF/A file is generated from LATEX source with thepdfx package:\usepackage[a-2b,mathxmp]{pdfx}[2018/12/22]The optiona-2bselects PDF/A version and conformance level. The defaultvalue isa-1b. The optionmathxmpenables the use of mathematical symbols inmetadata. It also corrects some errors in presenting metadata in pdf viewers,thus its use is recommended. The option[2018/12/22]at the end of thecommand means that no version of the package older than the specified dateis accepted. The pdfx package has still some shortcomings and problems andthere are more of these in the older versions.The pdfx package loads hyperref and xcolor packages, among others, soyou don’t have to call these explicitly. Hyperref options can be set using the\hypersetupcommand.Color profileThe colorprofiles package takes care of the color profile, which is requiredby the PDF/A format. The pdfx package loads colorprofiles automatically.However, pdfx will not call colorprofiles, if it is not installed. So it must be in-stalled first. InMiKTeXmissing packages are usually installed automaticallywhen needed, in which case it is sufficient to add the command\usepackage{colorprofiles}before calling the pdfx package.

Upload your study docs or become a

Course Hero member to access this document

Upload your study docs or become a

Course Hero member to access this document

End of preview. Want to read all 7 pages?

Upload your study docs or become a

Course Hero member to access this document

Term
Spring
Professor
N/A
Tags
Portable Document Format

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture