From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/87961 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 17:18:21 +0200 Message-ID: <5C1434D5-0E27-4655-BF83-BF9295639D4D@gmail.com> References: <30686631-BCA4-45FE-B986-8E7618E4119C@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="===============1858397423==" X-Trace: ger.gmane.org 1404314331 360 80.91.229.3 (2 Jul 2014 15:18:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 2 Jul 2014 15:18:51 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Jul 02 17:18:47 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 1X2MJ5-0002xJ-2E for gctc-ntg-context-518@m.gmane.org; Wed, 02 Jul 2014 17:18:47 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9B60F10222 for ; Wed, 2 Jul 2014 17:18:46 +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 AYVRZdmEhGqA for ; Wed, 2 Jul 2014 17:18:46 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 75A3210223 for ; Wed, 2 Jul 2014 17:18:38 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1D849101E7 for ; Wed, 2 Jul 2014 17:18:35 +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 zfY2A9JVGrza for ; Wed, 2 Jul 2014 17:18:29 +0200 (CEST) Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net [192.87.102.71]) by balder.ntg.nl (Postfix) with ESMTP id D57B8101E6 for ; Wed, 2 Jul 2014 17:18:24 +0200 (CEST) Original-Received: from mail-we0-x234.google.com (mail-we0-x234.google.com [IPv6:2a00:1450:400c:c03::234]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s62FINds025291 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Wed, 2 Jul 2014 17:18:24 +0200 Original-Received: by mail-we0-f180.google.com with SMTP id x48so11441911wes.11 for ; Wed, 02 Jul 2014 08:18:23 -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=Q4aWgsYfcOESqZNSkCIfgZ4rqykT6c3GEexawiakma8=; b=m0jSZZwC8D6KYI6U/8W3vTBgHX85ij6Nu/lVhWa4k1UKOYMTuB4Jrq0gmNrSYhAXO7 NbGTz2Lr63vjuLnJqG+ul7/LyCsimmT6//xOFlD6cJwLN/BJZN2MHpC3ZVEHRHklfntw FIOvUBtIyVfp4XlYPUevce82lTV61UU9MZi1XWxxjxz1Ltngwweka2eWS5juYSHYXt4W B2vR2RR8sjMYX1vlWqHs1hd8gIxCOcMsmck7bGawXmStJMQj20y5s+LFZUFgeNbdHfD0 srVmoX/gslwBfioyrPIa1jaBK1+yMIpPlisfcPkptGzwEgmJavz0J0JdPU51JWpIohtN pvnQ== X-Received: by 10.194.24.36 with SMTP id r4mr60233312wjf.35.1404314303662; Wed, 02 Jul 2014 08:18:23 -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 gh16sm56248323wic.3.2014.07.02.08.18.22 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 02 Jul 2014 08:18:23 -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:c03::234; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 03Mlrioxf - 7b605dee75a0 - 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:87961 Archived-At: --===============1858397423== Content-Type: multipart/alternative; boundary="Apple-Mail=_EEFD1DE2-A1CE-46A2-B54D-E8DA507F3C8B" --Apple-Mail=_EEFD1DE2-A1CE-46A2-B54D-E8DA507F3C8B Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 Thanks Luigi! 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: %% 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] 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! Best regards: OK On 02 Jul 2014, at 17:05, luigi scarso wrote: >=20 >=20 >=20 > On Wed, Jul 2, 2014 at 4:52 PM, Otared Kavian = wrote: >=20 > Thanks Luigi for the hint to that paper. > Unfortuantely the project has been done with mkii=85 that=92s why I = would like to know if it=92s possible to produce a PDF/A compliant file = with ConTeXt mkii. > By the way, is there an easy way to check whether a PDF file is PDF/A = compliant? >=20 > Best regards: OK > afaik there is only and experimental extension of pdftex that used = with latex can make pdf/a-1a (tagged pdf) -- but i'm not sure.=20 >=20 > But pdf/a-1b are different (not tagged) so you can use ghostscript, = even if it's not easy. > Here an article by C: Beccari for xelatex > http://www.guitex.org/home/images/ArsTeXnica/AT012/xelatex-pdfa.pdf >=20 > See also this for gs > = http://stackoverflow.com/questions/1659147/how-to-use-ghostscript-to-conve= rt-pdf-to-pdf-a-or-pdf-x >=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=_EEFD1DE2-A1CE-46A2-B54D-E8DA507F3C8B Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=windows-1252 Thanks = Luigi!

It turns out that with some slight = modifications I could typeset the mentioned project with = mkiv. 
Then after having added the following from your = article:

%% For = PDF/A
\setupbackend[
format=3D{pdf/a-1a:2005},
profile=3D{default_cmyk.icc,
        =  default_rgb.icc,default_gray.icc},
intent=3D{%
I= SO coated v2 300\letterpercent\space (ECI)}
]
%% = Tagged PDF
%% method=3Dauto =3D=3D> default tags by = Adobe
\setupstructure[state=3Dstart,method=3Dauto]
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!

Best regards: = OK

On 02 Jul 2014, at 17:05, luigi scarso = <luigi.scarso@gmail.com> = wrote:




On Wed, Jul 2, 2014 at 4:52 PM, Otared Kavian = <otared@gmail.com> wrote:

Thanks Luigi for the hint to that = paper.
Unfortuantely the project has been done with mkii=85 that=92s = why I would like to know if it=92s possible to produce a PDF/A compliant = file with ConTeXt mkii.
By the way, is there an easy way to check whether a PDF file is = PDF/A compliant?

Best regards: = OK
afaik there is only and experimental = extension of pdftex that used with latex can make pdf/a-1a (tagged pdf) = -- but i'm not sure. 

But = pdf/a-1b are different (not tagged) so you can use ghostscript, even if = it's not easy.

-- 
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://tex.aanhet.net
archive =  : http://foundry.sup= elec.fr/projects/contextrev/
wiki     : http://contextgarden.net
________= __________________________________________________________________________= _
= --Apple-Mail=_EEFD1DE2-A1CE-46A2-B54D-E8DA507F3C8B-- --===============1858397423== 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 ___________________________________________________________________________________ --===============1858397423==--