ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* PDF/A output fails validation
@ 2018-11-21 23:37 Rik Kabel
  2018-11-21 23:45 ` luigi scarso
  0 siblings, 1 reply; 7+ messages in thread
From: Rik Kabel @ 2018-11-21 23:37 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 923 bytes --]

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


[-- Attachment #1.2: Type: text/html, Size: 1622 bytes --]

[-- Attachment #2: Type: text/plain, Size: 492 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: PDF/A output fails validation
  2018-11-21 23:37 PDF/A output fails validation Rik Kabel
@ 2018-11-21 23:45 ` luigi scarso
  2018-11-22 17:43   ` luigi scarso
  0 siblings, 1 reply; 7+ messages in thread
From: luigi scarso @ 2018-11-21 23:45 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1058 bytes --]

On Thu, Nov 22, 2018 at 12:38 AM Rik Kabel <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.

-- 
luigi

[-- Attachment #1.2: Type: text/html, Size: 2109 bytes --]

[-- Attachment #2: Type: text/plain, Size: 492 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: PDF/A output fails validation
  2018-11-21 23:45 ` luigi scarso
@ 2018-11-22 17:43   ` luigi scarso
  2018-11-22 19:23     ` Rik Kabel
  0 siblings, 1 reply; 7+ messages in thread
From: luigi scarso @ 2018-11-22 17:43 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1914 bytes --]

On Thu, Nov 22, 2018 at 12:45 AM luigi scarso <luigi.scarso@gmail.com>
wrote:

>
>
> On Thu, Nov 22, 2018 at 12:38 AM Rik Kabel <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

[-- Attachment #1.2: Type: text/html, Size: 3841 bytes --]

[-- Attachment #2: Type: text/plain, Size: 492 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: PDF/A output fails validation
  2018-11-22 17:43   ` luigi scarso
@ 2018-11-22 19:23     ` Rik Kabel
  2018-11-22 19:38       ` luigi scarso
  0 siblings, 1 reply; 7+ messages in thread
From: Rik Kabel @ 2018-11-22 19:23 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 3446 bytes --]

On 11/22/2018 12:43, luigi scarso wrote:
>
>
> On Thu, Nov 22, 2018 at 12:45 AM luigi scarso <luigi.scarso@gmail.com 
> <mailto:luigi.scarso@gmail.com>> wrote:
>
>
>
>     On Thu, Nov 22, 2018 at 12:38 AM Rik Kabel
>     <context@rik.users.panix.com <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




[-- Attachment #1.2: Type: text/html, Size: 8782 bytes --]

[-- Attachment #2: Type: text/plain, Size: 492 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: PDF/A output fails validation
  2018-11-22 19:23     ` Rik Kabel
@ 2018-11-22 19:38       ` luigi scarso
  2018-11-22 20:06         ` rik
  2018-11-23 17:03         ` Hans Hagen
  0 siblings, 2 replies; 7+ messages in thread
From: luigi scarso @ 2018-11-22 19:38 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 235 bytes --]

On Thu, Nov 22, 2018 at 8:23 PM Rik Kabel <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

-- 
luigi

[-- Attachment #1.2: Type: text/html, Size: 833 bytes --]

[-- Attachment #2: Type: text/plain, Size: 492 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: PDF/A output fails validation
  2018-11-22 19:38       ` luigi scarso
@ 2018-11-22 20:06         ` rik
  2018-11-23 17:03         ` Hans Hagen
  1 sibling, 0 replies; 7+ messages in thread
From: rik @ 2018-11-22 20:06 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 575 bytes --]


-------- Original message --------From: luigi scarso <luigi.scarso@gmail.com> Date: 11/22/18  14:38  (GMT-05:00) To: mailing list for ConTeXt users <ntg-context@ntg.nl> Subject: Re: [NTG-context] PDF/A output fails validation On Thu, Nov 22, 2018 at 8:23 PM Rik Kabel <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-- luigiVery good. I can wait. I thought that you were reporting a could-not-reproduce situation.-- Rik

[-- Attachment #1.2: Type: text/html, Size: 1824 bytes --]

[-- Attachment #2: Type: text/plain, Size: 492 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: PDF/A output fails validation
  2018-11-22 19:38       ` luigi scarso
  2018-11-22 20:06         ` rik
@ 2018-11-23 17:03         ` Hans Hagen
  1 sibling, 0 replies; 7+ messages in thread
From: Hans Hagen @ 2018-11-23 17:03 UTC (permalink / raw)
  To: mailing list for ConTeXt users, luigi scarso

On 11/22/2018 8:38 PM, luigi scarso wrote:
> 
> 
> On Thu, Nov 22, 2018 at 8:23 PM Rik Kabel <context@rik.users.panix.com 
> <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
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-11-23 17:03 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-21 23:37 PDF/A output fails validation Rik Kabel
2018-11-21 23:45 ` luigi scarso
2018-11-22 17:43   ` luigi scarso
2018-11-22 19:23     ` Rik Kabel
2018-11-22 19:38       ` luigi scarso
2018-11-22 20:06         ` rik
2018-11-23 17:03         ` Hans Hagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).