PDF/A output fails validation
With the latest beta, PDF/A fails validation in a new way. Using the example document in the wiki https://wiki.contextgarden.net/PDF/A, PDF/A-1a validation fails the online validator https://www.pdf-online.com/osa/validate.aspx [2] with: The key MarkInfo is required but missing. The key StructTreeRoot is required but missing. The key CIDSet is required but missing. The document does not conform to the requested standard. The document contains fonts without embedded font programs or encoding information (CMAPs). The document doesn't provide appropriate logical structure information. The document does not conform to the PDF/A-1a standard. while with PDF/A-1b requested, the MarkInfo and StructTreeRoot issues are not reported. (A-2a and A-3a fail in the same was as A-1a.) [1] https://wiki.contextgarden.net/PDF/A [2] https://www.pdf-online.com/osa/validate.aspx -- Rik
On Thu, Nov 22, 2018 at 12:38 AM Rik Kabel
With the latest beta, PDF/A fails validation in a new way.
Using the example document in the wiki https://wiki.contextgarden.net/PDF/A, PDF/A-1a validation fails the online validator https://www.pdf-online.com/osa/validate.aspx [2] with:
The key MarkInfo is required but missing. The key StructTreeRoot is required but missing. The key CIDSet is required but missing. The document does not conform to the requested standard. The document contains fonts without embedded font programs or encoding information (CMAPs). The document doesn't provide appropriate logical structure information. The document does not conform to the PDF/A-1a standard.
while with PDF/A-1b requested, the MarkInfo and StructTreeRoot issues are not reported. (A-2a and A-3a fail in the same was as A-1a.)
Thank you for the report, I will check asap. -- luigi
On Thu, Nov 22, 2018 at 12:45 AM luigi scarso
On Thu, Nov 22, 2018 at 12:38 AM Rik Kabel
wrote: With the latest beta, PDF/A fails validation in a new way.
Using the example document in the wiki https://wiki.contextgarden.net/PDF/A, PDF/A-1a validation fails the online validator https://www.pdf-online.com/osa/validate.aspx [2] with:
The key MarkInfo is required but missing. The key StructTreeRoot is required but missing. The key CIDSet is required but missing. The document does not conform to the requested standard. The document contains fonts without embedded font programs or encoding information (CMAPs). The document doesn't provide appropriate logical structure information. The document does not conform to the PDF/A-1a standard.
while with PDF/A-1b requested, the MarkInfo and StructTreeRoot issues are not reported. (A-2a and A-3a fail in the same was as A-1a.)
Thank you for the report, I will check asap.
these look ok now \nopdfcompression \setupinteraction [title=TITLE, subtitle=SUBTITLE, author=AUTHOR, keyword={{KEYWORD1, KEYWORD2}, KEYWORD3}] %% For PDF/A \setupbackend[ %format={pdf/a-1b:2005}, % OK %format={pdf/a-1a:2005}, % OK %format={pdf/a-2a}, % OK format={pdf/a-3a}, % OK profile={srgb.icc,default_gray.icc}, intent=ISO coated v2 300\letterpercent\space (ECI)] %% Tagged PDF %% method=auto ==> default tags by Adobe \setupbackend[export=yes] \setupstructure[state=start,method=auto] \starttext \chapter[chap:testing]{Testing} \input knuth \input tufte \input knuth \placefigure[middle][fig:foo] {This is an image} {\externalfigure[cow.jpg]} \input tufte \input knuth \input tufte \stoptext -- luigi
On 11/22/2018 12:43, luigi scarso wrote:
On Thu, Nov 22, 2018 at 12:45 AM luigi scarso
mailto:luigi.scarso@gmail.com> wrote: On Thu, Nov 22, 2018 at 12:38 AM Rik Kabel
mailto:context@rik.users.panix.com> wrote: With the latest beta, PDF/A fails validation in a new way.
Using the example document in the wiki https://wiki.contextgarden.net/PDF/A, PDF/A-1a validation fails the online validator https://www.pdf-online.com/osa/validate.aspx [2] with:
The key MarkInfo is required but missing. The key StructTreeRoot is required but missing. The key CIDSet is required but missing. The document does not conform to the requested standard. The document contains fonts without embedded font programs or encoding information (CMAPs). The document doesn't provide appropriate logical structure information. The document does not conform to the PDF/A-1a standard.
while with PDF/A-1b requested, the MarkInfo and StructTreeRoot issues are not reported. (A-2a and A-3a fail in the same was as A-1a.)
[1] https://wiki.contextgarden.net/PDF/A
[2] https://www.pdf-online.com/osa/validate.aspx
Thank you for the report, I will check asap.
these look ok now
\nopdfcompression \setupinteraction [title=TITLE, subtitle=SUBTITLE, author=AUTHOR, keyword={{KEYWORD1, KEYWORD2}, KEYWORD3}]
%% For PDF/A \setupbackend[ %format={pdf/a-1b:2005}, % OK %format={pdf/a-1a:2005}, % OK %format={pdf/a-2a}, % OK format={pdf/a-3a}, % OK profile={srgb.icc,default_gray.icc}, intent=ISO coated v2 300\letterpercent\space (ECI)]
%% Tagged PDF %% method=auto ==> default tags by Adobe \setupbackend[export=yes] \setupstructure[state=start,method=auto]
\starttext
\chapter[chap:testing]{Testing}
\input knuth
\input tufte
\input knuth
\placefigure[middle][fig:foo] {This is an image} {\externalfigure[cow.jpg]}
\input tufte
\input knuth
\input tufte
\stoptext
-- luigi
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________
Still fails here, using the code you posted, with: Validating file "pdfa.pdf" for conformance level pdfa-3a The key MarkInfo is required but missing. The key StructTreeRoot is required but missing. The document does not conform to the requested standard. The document doesn't provide appropriate logical structure information. The document does not conform to the PDF/A-3a standard. I am running on W10-64 with: the local LuaTeX version is 1.09.0 6998 on Lua 5.3.5, the local ConTeXt timestamp is 2018-11-18 13:15 UTC -- Rik
-------- Original message --------From: luigi scarso
On 11/22/2018 8:38 PM, luigi scarso wrote:
On Thu, Nov 22, 2018 at 8:23 PM Rik Kabel
mailto:context@rik.users.panix.com> wrote: Still fails here, using the code you posted, with:
yes, the beta is not yet landed in the garden , still some issues with colored fonts
not really that but other things (cleaning up some backend code) so no beta in a few days Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
participants (4)
-
Hans Hagen
-
luigi scarso
-
rik
-
Rik Kabel