From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/105708 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Rik Kabel Newsgroups: gmane.comp.tex.context Subject: PDF/A-3a attachment support query Date: Thu, 5 Dec 2019 21:11:54 -0500 Message-ID: <09449aa1-9be9-8b90-f8ae-dbc23c30f378@rik.users.panix.com> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0880926880667110788==" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="206528"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Firefox/60.0 Thunderbird/60.9.1 To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Fri Dec 06 03:12:30 2019 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1id36c-000raB-D7 for gctc-ntg-context-518@m.gmane.org; Fri, 06 Dec 2019 03:12:30 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 2779F163BC7; Fri, 6 Dec 2019 03:12:01 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zRVmwXmDbLOj; Fri, 6 Dec 2019 03:11:59 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 0DC55163BBE; Fri, 6 Dec 2019 03:11:59 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id A8A40163BB5 for ; Fri, 6 Dec 2019 03:11:57 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WQeeFr0-Bghg for ; Fri, 6 Dec 2019 03:11:56 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=166.84.1.89; helo=mailbackend.panix.com; envelope-from=context@rik.users.panix.com; receiver= Original-Received: from mailbackend.panix.com (mailbackend.panix.com [166.84.1.89]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 80A4D163BA3 for ; Fri, 6 Dec 2019 03:11:56 +0100 (CET) Original-Received: from [192.168.201.21] (cpe-72-228-11-252.nycap.res.rr.com [72.228.11.252]) by mailbackend.panix.com (Postfix) with ESMTPSA id 47TbgZ743hz18J8 for ; Thu, 5 Dec 2019 21:11:54 -0500 (EST) Content-Language: en-US X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:105708 Archived-At: This is a multi-part message in MIME format. --===============0880926880667110788== Content-Type: multipart/alternative; boundary="------------25E210D4B25AAE9F9FDB9398" Content-Language: en-US This is a multi-part message in MIME format. --------------25E210D4B25AAE9F9FDB9398 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Hello list, The following document fails PDF/A-3a validation. It passes without the attachment. \setuplanguage       [en] \setuptagging        [state=start] \setupinteraction    [state=start] \setupbackend        [format={pdf/a-3a},profile={default_gray.icc},                       intent={ISO coated v2 300\letterpercent\space (ECI)}] \setupstructure      [state=start,method=auto] \setupcolors         [pagecolormodel=auto,start=yes,rgb=no,cmyk=no] \setupbodyfont       [Palatino,10pt] \starttext   Attaching a plain text file. % \attachment        [file=test.tex, %                     type={text/plain;charset=UTF-8}] % The \ConTeXt\ source code for this document is attached here.   \attachment        [file=testa.pdf,                       type={application/pdf}]   A successfully validated pdf/a-3a file is attached here. \stoptext pdf-online reports: Validating file "test.pdf" for conformance level pdfa-3a The key F is required but missing. The appearance dictionary doesn't contain an entry. File specification 'testa.pdf' not associated with an object. The document does not conform to the requested standard. The document doesn't conform to the PDF reference (missing required entries, wrong value types, etc.). The document contains hidden, invisible, non-viewable or non-printable annotations. The document contains annotations or form fields with ambigous or without appropriate appearances. The document does not conform to the PDF/A-3a standard. Done. My understanding is that 3-a should support both pdf and non-pdf attachments. This fails in a similar manner with both pdf/a-3a-validated files and with plain text files. I also tested with verapdf, and it also rejected the document with an attachment. Is this my error, or is it not yet supported? -- Rik Kabel --------------25E210D4B25AAE9F9FDB9398 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit

Hello list,

The following document fails PDF/A-3a validation. It passes without the attachment.

\setuplanguage       [en]
\setuptagging        [state=start]
\setupinteraction    [state=start]
\setupbackend        [format={pdf/a-3a},profile={default_gray.icc},
                      intent={ISO coated v2 300\letterpercent\space (ECI)}]
\setupstructure      [state=start,method=auto]
\setupcolors         [pagecolormodel=auto,start=yes,rgb=no,cmyk=no]
\setupbodyfont       [Palatino,10pt]
\starttext

  Attaching a plain text file.

% \attachment        [file=test.tex,
%                     type={text/plain;charset=UTF-8}]
% The \ConTeXt\ source code for this document is attached here.
  \attachment        [file=testa.pdf,
                      type={application/pdf}]
  A successfully validated pdf/a-3a file is attached here.

\stoptext

pdf-online reports:

Validating file "test.pdf" for conformance level pdfa-3a
The key F is required but missing.
The appearance dictionary doesn't contain an entry.
File specification 'testa.pdf' not associated with an object.
The document does not conform to the requested standard.
The document doesn't conform to the PDF reference (missing required entries, wrong value types, etc.).
The document contains hidden, invisible, non-viewable or non-printable annotations.
The document contains annotations or form fields with ambigous or without appropriate appearances.
The document does not conform to the PDF/A-3a standard.
Done.

My understanding is that 3-a should support both pdf and non-pdf attachments. This fails in a similar manner with both pdf/a-3a-validated files and with plain text files. I also tested with verapdf, and it also rejected the document with an attachment.

Is this my error, or is it not yet supported?

--
Rik Kabel


--------------25E210D4B25AAE9F9FDB9398-- --===============0880926880667110788== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============0880926880667110788==--