ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Peter Rolf <indiego@gmx.net>
To: ciro@kavyata.com, mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: producing a pdf/X-1a:2001 file
Date: Sun, 27 Jun 2010 16:13:30 +0200	[thread overview]
Message-ID: <4C275C8A.7090203@gmx.net> (raw)
In-Reply-To: <AANLkTilmap3F0DNCeMk25uWHmrnCSRtCKMZOg95gfxNL@mail.gmail.com>

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

Am 26.06.2010 22:25, schrieb Ciro:
> Peter, thank you for you file.
> I tested it, but the \usePDFXoutputintent
> command is not understood by texexec.
>
true. the example code is mkiv only. as mkii is frozen (no new features)
pdf/x support is limited to mkiv. you also wrote
'The file produced by LuaTex is PDF 1.5.', so where is the problem? ;)

mkii (pdftex): texexec yourbook.tex
mkiv (luatex): context yourbook.tex

anyhow, here is an interesting link about pdf/x-1a

http://www.prepressure.com/pdf/basics/pdfx-1a

there a quite a lot of other restrictions in pdf/x-1a (aside from what
can be handled in context). be sure to fulfil them all.
and you have to ask your printing house, what output intent is used
(probably stated on their side).

updated test files (now one for each version) are attached.


> thank you
> ciro
> 
> 
> 
> 
> 
> On Sat, Jun 26, 2010 at 7:14 AM, Peter Rolf <indiego@gmx.net> wrote:
>> Am 26.06.2010 04:36, schrieb luigi scarso:
>>> On Sat, Jun 26, 2010 at 2:34 AM, Ciro <ciro@kavyata.com> wrote:
>>>> The company that is printing my book requires format
>>>> PDF/X-1a:2001.  The file produced by LuaTex is PDF 1.5.
>>>>
>>>> I wonder if there will be a problem, and if so, how can I do the
>>>> conversion to X-1a:2001?
>>> It's a complex subject, I fear that you need acrobat to be sure or
>>> defend your result
>>>
>>> Anyway
>>> http://www.tug.org/pipermail/pdftex/2009-June/thread.html#8050
>>
>> Context should be able to produce PDF/X-1a:2003 so far (donno the
>> difference to the 2001 version). I will look into it tomorrow (no time
>> now). To give you a first impression what is needed (data,formats), I
>> attached a test file (mkiv only) for the 2003 variant.
>>
>>
>> Best wishes, Peter
>>
>> ___________________________________________________________________________________
>> 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
>> ___________________________________________________________________________________
>>
>>
> ___________________________________________________________________________________
> 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 #2: pdfx-1a2003.tex --]
[-- Type: text/plain, Size: 1226 bytes --]

% PDF/X-1a:2003
\pdfminorversion=4% PDF/X-1a:2003 allows PDF1.4, but no transparency, JBIG2 compression
\setupcolors[rgb=no]% only CMYK and Gray allowed


%\embedICCprofile{CMYK}{ISOcoated_v2_300_eci.icc}

\usePDFXoutputintent
  [%reference=no,
   info={ISO Coated v2 (ECI)},
   outputcondition={Offset printing, according to ISO 12647-2:2004/Amd 1, OFCOM, paper type 1 or 2 = coated art, 115 g/m2, tone value increase curves A (CMY) and B (K)},
   id=FOGRA39,
   name=http://www.color.org]


\starttext

\setupinteraction
  [title=TITLE,
   subtitle=SUBTITLE,
   author=AUTHOR,
   keyword={{KEYWORD1, KEYWORD2}, KEYWORD3},
  ]


\startluacode
-- PDF/X-1a:2003
lpdf.addtoinfo("GTS_PDFXVersion","PDF/X-1a:2003")
lpdf.injectxmpinfo("xml://rdf:RDF","<rdf:Description rdf:about='' xmlns:pdfxid='http://www.npes.org/pdfx/ns/id/'><pdfxid:GTS_PDFXVersion>PDF/X-1a:2003</pdfxid:GTS_PDFXVersion></rdf:Description>",false)
\stopluacode
\null

\definecolor[cmykblack][k=1]

\hbox\bgroup
\blackrule[color=cyan,width=1cm,height=1cm]%
\blackrule[color=magenta,width=1cm,height=1cm]%
\blackrule[color=yellow,width=1cm,height=1cm]%
\blackrule[color=cmykblack,width=1cm,height=1cm]
\egroup

\stoptext

[-- Attachment #3: pdfx-1a2001.tex --]
[-- Type: text/plain, Size: 1226 bytes --]

% PDF/X-1a:2001
\pdfminorversion=3% PDF/X-1a:2003 allows PDF1.4, but no transparency, JBIG2 compression
\setupcolors[rgb=no]% only CMYK and Gray allowed


%\embedICCprofile{CMYK}{ISOcoated_v2_300_eci.icc}

\usePDFXoutputintent
  [%reference=no,
   info={ISO Coated v2 (ECI)},
   outputcondition={Offset printing, according to ISO 12647-2:2004/Amd 1, OFCOM, paper type 1 or 2 = coated art, 115 g/m2, tone value increase curves A (CMY) and B (K)},
   id=FOGRA39,
   name=http://www.color.org]


\starttext

\setupinteraction
  [title=TITLE,
   subtitle=SUBTITLE,
   author=AUTHOR,
   keyword={{KEYWORD1, KEYWORD2}, KEYWORD3},
  ]


\startluacode
-- PDF/X-1a:2001
lpdf.addtoinfo("GTS_PDFXVersion","PDF/X-1a:2001")
lpdf.injectxmpinfo("xml://rdf:RDF","<rdf:Description rdf:about='' xmlns:pdfxid='http://www.npes.org/pdfx/ns/id/'><pdfxid:GTS_PDFXVersion>PDF/X-1a:2001</pdfxid:GTS_PDFXVersion></rdf:Description>",false)
\stopluacode
\null

\definecolor[cmykblack][k=1]

\hbox\bgroup
\blackrule[color=cyan,width=1cm,height=1cm]%
\blackrule[color=magenta,width=1cm,height=1cm]%
\blackrule[color=yellow,width=1cm,height=1cm]%
\blackrule[color=cmykblack,width=1cm,height=1cm]
\egroup

\stoptext

[-- Attachment #4: Type: text/plain, Size: 486 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:[~2010-06-27 14:13 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-26  0:34 Ciro
2010-06-26  2:36 ` luigi scarso
2010-06-26 11:14   ` Peter Rolf
2010-06-26 20:25     ` Ciro
2010-06-27 14:13       ` Peter Rolf [this message]
2010-06-27 15:55         ` Ciro
2010-06-27 16:03           ` Fonts not found (was: producing a pdf/X-1a:2001 file) Wolfgang Schuster
2010-06-27 23:41         ` producing a pdf/X-1a:2001 file Ciro

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=4C275C8A.7090203@gmx.net \
    --to=indiego@gmx.net \
    --cc=ciro@kavyata.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).