Hot answers tagged

56

The preflight tool of PDFBox validates against the PDF/A-1b standard, more than just PDF. The first errors regarding PDF/A-1b should be resolved by a recent pdfTeX, I do not get these errors with pdfTeX 1.40.16 (TeX Live). The last error 7.1 about MetaData comes from the requirement of PDF/A-1b to also embed the meta data in XMP format, see package ...


30

Ross Moore talked about tagged pdf at TUG 2010: http://river-valley.zeeba.tv/tex-mathml-for-tagged-pdf-the-next-frontier-in-mathematical-typesetting/ He mentioned that he uses an "extension" of pdfTeX, but I don't know the details. There would certainly need to be a lot of work done to transform the structure of a LaTeX document into a form that a ...


27

Put the color profile eciRGB_v2.icc in the working directory. Add the flowing code to your preamble: \pdfminorversion 4 \immediate\pdfobj stream attr{/N 3} file{eciRGB_v2.icc} \pdfcatalog{% /OutputIntents [ << /Type /OutputIntent /S/GTS_PDFA1 /DestOutputProfile \the\pdflastobj\space 0 R /OutputConditionIdentifier (eciRGB v2) /Info(eciRGB v2) ...


27

ConTeXt now supports PDF/X out of the box. You need the latest version of ConTeXt for this to work (that is, the version from TL 2010 does not have this support). This only works with MkIV (that is, luaTeX) and not pdfTeX and XeTeX. Basically, all you need to do is \setupinteraction [title={...}, subtitle={...}, author={...}, ...


23

This is not just a question of 'use the right package', as you also have to watch what you do with your input. For LaTeX, take a look at pdfx. For plain TeX, you probably need to look over the LaTeX stuff, code your own bits and away you go! I'm not sure about ConTeXt: undoubtedly it can include the same data that LaTeX can, as ultimately the engine is the ...


17

Experience with the Accessibility Package I downloaded the accessibility.sty style file from Babette Schalitz's website. This file is available under an LPPL license. Using \usepackage[tagged]{accessibility} in my preamble allowed me you to generate a basic tagged PDF file that passes tests in Adobe Acrobat. However, the package didn't work if I needed to ...


15

This question has a lot of votes, but hasn't received an answer. So I am giving a ConTeXt solution. To create a tagged pdf, simply add: \setuptagging[state=start] at the top of your document. For example: \setuptagging[state=start] \starttext \startsection [title={A section title}] \input ward \stopsection \stoptext Then, pdfinfo test.pdf gives: ...


13

From pdfx manual: 2.1. Data file for XMP metadata As mentioned above, standards compliant PDF documents need XMP metadata to be included. In order to create XMP in the prescribed XML format, a simple data file holding the meta information of the document needs to be created either through a program or by hand. For our purposes, we name it as ...


12

Generating PDFA-1b compatible PDFs is rather difficult with LaTeX. The details are described here: http://support.river-valley.com/wiki/index.php?title=Generating_PDF/A_compliant_PDFs_from_pdftex If it is just about the color profile, you may use the following piece of code: \pdfminorversion=4 \documentclass{minimal} \usepackage[rgb]{xcolor} ...


9

To go a bit further, if you perform a full check of a LateX document with Acrobat Pro, it seems that there is no way you can avoid messages like: "None of the images on this page that need alternate text have it." "All of the text on this page lacks a language specification." "Text that does not map to Unicode reliably may be read incorrectly by assistive ...


9

Generating PDFA-1b compliant documents is not possible with the default pdftex. There is a minor bug in pdftex resulting in non-compliant EOL markers. There is a bug report from 2011 about this problem which successfully resolves the issue. You can find it here: http://sarovar.org/tracker/index.php?func=detail&aid=4341&group_id=106&atid=493 ...


8

I had to validate a document through jhove, and I managed to do it using pdftk on the PDF that was produced by pdflatex. I simply used the command pdftk MyDocument.pdf output ValidatedDocument.pdf I hope it can help you!


6

Putting the correctly compiled executables to /usr/bin, everything works as expected. As I struggled quite a bit correctly compiling it, I think it will be useful to have an up-to-date guide to get pdftex from current sources. A big thank you to the helpful people at the tex live and tlbuild mailing lists. Here's the guide: How to build and install ...


5

Using TeX Live 2014, pdfTeX 3.14159265-2.6-1.40.15, I don't seem to run into these problems. Maybe updating your TeX-system can solve the problems. Here is a modification of your MWE that embeds a color profile and metadata (I don't have access to Adobe's Preflight tool or other software that can do this in a post-processing step). Information on how to ...


5

You need eciRGB_v2.icc in the working directory. \documentclass{article} % =============================== % Embedding the color profile. % Requires eciRGB_v2.icc in the working directory % http://www.eci.org/_media/downloads/icc_profiles_from_eci/ecirgbv20.zip \pdfminorversion 4 \immediate\pdfobj stream attr{/N 3} file{eciRGB_v2.icc} \pdfcatalog{% ...


4

I'm not sure if an answer is still of interest. Anyway: 1) I would strongly advise to use the pdfx package: \usepackage[a-1b]{pdfx} 2) The error in the pdfx package is caused by the way how the timestamp is put together. Depending on your timezone (e.g. UTC+1, UTC-1, etc) you have a different sign there. This causes the issue. Use of \getTZh doesn't ...


4

The argument to \includexmp should be a file name (without the .xmp extension), modelled on the license.xmp file found in the package distribution: <x:xmpmeta xmlns:x='adobe:ns:meta/'> <rdf:RDF xmlns="http://web.resource.org/cc/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> ...


4

I get no error if I load the packages in the correct order: \documentclass[twoside,a4paper,DIV15,parskip=off,9pt]{scrbook} % Fonts and typesetting settings \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[ngerman]{babel} \usepackage[sc]{mathpazo} % For Palatino %\usepackage{mycals} % What's this???? \usepackage[ linktocpage=false, % ...


3

It seems the answer was hiding in a footnote of this paper on making ADA compliant PDFs. See this project! UPDATE: Having spent time attempting to use this tool in conjunction with a complex custom class, I want to temper expectations. While the accessibility.sty package is a useful tool for simple documents, it is incompatible with multiple packages and ...


3

There is the [pdfx][1] package which provides assistance to create PDF/X-1a and PFD/A-1b compliant pdf documents: The package can be loaded with the command: \usepackage[<option>]{pdfx} where the options are: x-1a generates PDF/X-1a compliant PDF. a-1b generates PDF/A-1b compliant PDF. In addition to your tex file, you will need a ...


3

I cannot provide an LaTeX-based answer, but I tried the new Acrobat Reader XI in order to get a fully valid pdf/a-1b document from your MWE. Et voilĂ , it worked well, the pdfwidth information for rendered glyphs was also fixed. One drawback though, in comparison with Acrobat Reader 9 the generated files seem to get larger.


2

I'm sure you're no longer interested in the answer, but for future readers who happen upon this thread: Can you avoid using the MnSymbol or mdsymbol packages? When I use the amsmath package instead, I have no problems. The appearance of the characters is slightly different, but I suspect that's not a problem for most applications. My code is: ...


2

EDIT: I removed the link. After posting it, I got in contact with the maintainers of package pdfx. Better to wait for pdfx updates than start a new package.


2

Did you try using pdflatex instead of latex-dvips-ps2pdf? I am actually in a similar situation as I'm also writing my thesis, and I found it is simpler to just generate a pdf directly. I understand this might disrupt quite a few packages but I've been through that with 25+ packages in my preamble quite successfully. I'm using TeXLive 2012.


2

With some dirty patchcmd (from etoolbox) of hyperref commands. Seems to work with pdflatex and lualatex. icc file from pdfx package. \documentclass{article} \pdfminorversion 4 \pdfcompresslevel=0 \immediate\pdfobj stream attr{/N 4} file{coated_FOGRA39L_argl.icc} \pdfcatalog{% /OutputIntents [ << /Type /OutputIntent /S/GTS_PDFA1 /DestOutputProfile ...


2

Your provided example works fine for me. Therefore, I have to assume there is some confusion about the XMP Metadata and/or the process on how to typeset the document. First of all, XMP metadata is not the PDF metadata, e.g. XMP data can be viewed by using Adobe Acrobat: File, Properties, Additional Metadata; whereas the normal metadata already shows up ...


2

You are mixing xmpincl and pdfx expectations about how the XMP file will be found and created. The command \includexmp is from xmpincl, and pdfx wants nothing to do with it. pdfx provides a simplified interface, but it has strict requirements: Your .xmpdata file must have the same name as the main .tex file (if using the filecontents package, then use ...


2

From the PDF/A rules: Transparent objects and layers (Optional Content Groups) are not permitted. Link Try using a different cropping tool that removes the margins rather than moving them to an Alpha layer for transparency.


2

PDF/A is a standard for long-time archiving. It requires that all resources are embedded like fonts and color profiles. Also it restricts the language features. Advanced features like transparency or interactive features (JavaScript, some annotations, ...) are forbidden, which might be displayed differently in different viewers. A reasonable algorithm would ...


1

There are 2 reasons for using filecontents or filecontents* before the \usepackage[..options..]{pdfx}. pdfx.sty processes the metadata as part of loading the package. Thus you want \jobname.xmpdata to be available on disk when pdfx.sty is being loaded, so its information can be read and interpreted at that time. If the .xmpdata file has not been written at ...



Only top voted, non community-wiki answers of a minimum length are eligible