ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Otared Kavian <otared@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: How to create a PDF/A file with mkii?
Date: Wed, 2 Jul 2014 22:54:40 +0200	[thread overview]
Message-ID: <0302996D-D04B-4046-890E-CEF58707E241@gmail.com> (raw)
In-Reply-To: <CAG5iGsCJpz5dvVkpYPU=3eRW+JAvJHs0MvhhOGfYpGM5Y+esbQ@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1109 bytes --]

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’t know how to solve the issue of creating a PDF/A.

Thanks for any hint.
Best regards: OK

[-- Attachment #2: test-PDF-A-1b.tex --]
[-- Type: application/octet-stream, Size: 443 bytes --]

%!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


[-- Attachment #3: Type: text/plain, Size: 1895 bytes --]



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

> 
> 
> 
> On Wed, Jul 2, 2014 at 5:18 PM, Otared Kavian <otared@gmail.com> wrote:
> 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={pdf/a-1a: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]
> 
> 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’t hav etime to check this, but in any case you gave me good hope… 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.
> 
> 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.
> 
> -- 
> 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.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________


[-- Attachment #4: Type: text/plain, Size: 485 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2014-07-02 20:54 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-02 14:37 Otared Kavian
2014-07-02 14:46 ` luigi scarso
2014-07-02 14:52   ` Otared Kavian
2014-07-02 15:05     ` luigi scarso
2014-07-02 15:18       ` Otared Kavian
2014-07-02 15:35         ` luigi scarso
2014-07-02 20:54           ` Otared Kavian [this message]
2014-07-02 21:29             ` luigi scarso
2014-07-03 12:00             ` luigi scarso
2014-07-03 12:25               ` luigi scarso

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0302996D-D04B-4046-890E-CEF58707E241@gmail.com \
    --to=otared@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).