From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/87964 Path: news.gmane.org!not-for-mail From: Otared Kavian Newsgroups: gmane.comp.tex.context Subject: Re: How to create a PDF/A file with mkii? Date: Wed, 2 Jul 2014 22:54:40 +0200 Message-ID: <0302996D-D04B-4046-890E-CEF58707E241@gmail.com> References: <30686631-BCA4-45FE-B986-8E7618E4119C@gmail.com> <5C1434D5-0E27-4655-BF83-BF9295639D4D@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Content-Type: multipart/mixed; boundary="Apple-Mail=_1D6B0ED6-A753-446C-918C-4104F733F283" X-Trace: ger.gmane.org 1404334515 32233 80.91.229.3 (2 Jul 2014 20:55:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 2 Jul 2014 20:55:15 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Jul 02 22:55:11 2014 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1X2RYb-0007aU-L1 for gctc-ntg-context-518@m.gmane.org; Wed, 02 Jul 2014 22:55:09 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id EC2D810287 for ; Wed, 2 Jul 2014 22:55:08 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id ZjUVAOtMAX9g for ; Wed, 2 Jul 2014 22:55:08 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 4404410223 for ; Wed, 2 Jul 2014 22:55:00 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5E4CA101E7 for ; Wed, 2 Jul 2014 22:54:55 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id JIZ9EpXFzZXy for ; Wed, 2 Jul 2014 22:54:49 +0200 (CEST) Original-Received: from filter4-ams.mf.surf.net (filter4-ams.mf.surf.net [192.87.102.72]) by balder.ntg.nl (Postfix) with ESMTP id CE04D101E6 for ; Wed, 2 Jul 2014 22:54:44 +0200 (CEST) Original-Received: from mail-wi0-x234.google.com (mail-wi0-x234.google.com [IPv6:2a00:1450:400c:c05::234]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s62LKkb2020956 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Wed, 2 Jul 2014 23:20:47 +0200 Original-Received: by mail-wi0-f180.google.com with SMTP id hi2so1184484wib.1 for ; Wed, 02 Jul 2014 13:54:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:message-id:mime-version:subject:date:references :to:in-reply-to; bh=pDHAL6wxiLhrzBfmiSNik52DQQsOZNOr4CzBDa4d48k=; b=kmtAK46VUuJFmwuiXUTfgEsZo6wjGvPPAUrh9AYHC2Qc8CyzkUHGXxgW+avDmxmE/s +K6FSF7kYM8dLsOjcKGa9sZ3wyoXAsyy6XxsVkBqG1/QvB7YLP2+cU1hXtDPWEKWSOM7 GIfW8EzP1MMtiBBn+vrZwwuTkuwxUX77mLeUrT/HheyW5eBcN4sJGAVBWTICCoQp0mKR 2+9lOtZna1sd8/WxD68xpOixpLNpq/v6pCSxX0p86mKg9fJvbA3F1b0KratwI+lPJHRh mUkPbvGuvK53tc4Jy+ftGg+U6ykX36faLR6x9QTK4jIeyuPlOGezuuO3Yb5C6+SeJc6l aATg== X-Received: by 10.194.123.105 with SMTP id lz9mr300309wjb.122.1404334483211; Wed, 02 Jul 2014 13:54:43 -0700 (PDT) Original-Received: from [192.168.0.20] (seg75-6-82-236-32-4.fbx.proxad.net. [82.236.32.4]) by mx.google.com with ESMTPSA id do5sm59027080wib.16.2014.07.02.13.54.41 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 02 Jul 2014 13:54:42 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.1878.6) X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2a00:1450:400c:c05::234; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 01MlxkKlX - 4f1124f9d33d - 20140702 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 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-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:87964 Archived-At: --Apple-Mail=_1D6B0ED6-A753-446C-918C-4104F733F283 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 Hi Luigi, I did a test with mkiv (see the tex file attached), and then tested the = resulting pdf file on the site you mentioned, http://www.pdf-tools.com/pdf/validate-pdfa-online.aspx Unfortunately it says that the PDF produced by mkiv is not conform: test-PDF-A-1b.pdf does not conform to PDF/A. Validating file "test-PDF-A-1b.pdf" for conformance level pdfa-1a Invalid content of XMP packet header attribute 'id': = 'dtlnfbrryjnvabnrajbkrpyw'. dc:description :: Wrong value type. Expected type 'lang alt'. The XMP property 'pdfaid:conformance' has the invalid value 'B'. = Required is 'A'. The key MarkInfo is required but missing. A device-specific color space (DeviceGray) without an appropriate output = intent is used. The document does not conform to the requested standard. The document contains device-specific color spaces. The document's meta data is either missing or inconsistent or corrupt. The document doesn't provide appropriate logical structure information. Done. So, I don=92t know how to solve the issue of creating a PDF/A. Thanks for any hint. Best regards: OK --Apple-Mail=_1D6B0ED6-A753-446C-918C-4104F733F283 Content-Disposition: attachment; filename=test-PDF-A-1b.tex Content-Type: application/octet-stream; name="test-PDF-A-1b.tex" Content-Transfer-Encoding: 7bit %!TEX TS-program = mkiv %% For PDF/A \setupbackend[ format={pdf/a-1b:2005}, profile={default_cmyk.icc, default_rgb.icc,default_gray.icc}, intent={% ISO coated v2 300\letterpercent\space (ECI)} ] %% Tagged PDF %% method=auto ==> default tags by Adobe \setupstructure[state=start,method=auto] \starttext \chapter[chap:testing]{Testing} \input knuth \input tufte \input knuth \input tufte \input knuth \input tufte \stoptext --Apple-Mail=_1D6B0ED6-A753-446C-918C-4104F733F283 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 On 02 Jul 2014, at 17:35, luigi scarso wrote: >=20 >=20 >=20 > On Wed, Jul 2, 2014 at 5:18 PM, Otared Kavian = wrote: > Thanks Luigi! >=20 > It turns out that with some slight modifications I could typeset the = mentioned project with mkiv.=20 > Then after having added the following from your article: >=20 > %% For PDF/A > \setupbackend[ > format=3D{pdf/a-1a:2005}, > profile=3D{default_cmyk.icc, > default_rgb.icc,default_gray.icc}, > intent=3D{% > ISO coated v2 300\letterpercent\space (ECI)} > ] > %% Tagged PDF > %% method=3Dauto =3D=3D> default tags by Adobe > \setupstructure[state=3Dstart,method=3Dauto] >=20 > I could get a PDF which looks fine: but now I have to make sure that = it is PDF/A compliant. > Right now I don=92t hav etime to check this, but in any case you gave = me good hope=85 Thanks! > The problem is the pdf/a validator ... it's better to use that one = the counterpart . > An important one is the preflight of acrobat professional. If it = says that it's ok , then "it's hard to assert that it's not ok" . > Also this one maybe can help: > http://www.pdf-tools.com/pdf/validate-pdfa-online.aspx > but privacy can be an issue. >=20 > Imho, a school (or whatever educational structure) that require a = pdf/a should also offer a service to validate a pdf, and a report if = validation fails. >=20 > --=20 > luigi > = __________________________________________________________________________= _________ > If your question is of interest to others as well, please add an entry = to the Wiki! >=20 > maillist : ntg-context@ntg.nl / = http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : http://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > = __________________________________________________________________________= _________ --Apple-Mail=_1D6B0ED6-A753-446C-918C-4104F733F283 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --Apple-Mail=_1D6B0ED6-A753-446C-918C-4104F733F283--