Re: [NTG-context] producing a pdf/X-1a:2001 file

2010-06-27 Thread Peter Rolf
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 indi...@gmx.net wrote:
 Am 26.06.2010 04:36, schrieb luigi scarso:
 On Sat, Jun 26, 2010 at 2:34 AM, Ciro c...@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
 ___
 

% 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_PDFXVersionPDF/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
% 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_PDFXVersionPDF/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


Re: [NTG-context] producing a pdf/X-1a:2001 file

2010-06-27 Thread Ciro
I just installed ConTeXt minimals, but my fonts are not found now:

define fonts font with name Barnard-Oblique is not found

font files are there, but some how context can't see them.

I ran context --generate and got lines like this:

MTXrun | resolvers: not saving runtime tree
'tree:home/ciro/context/tex/texmf-fonts'
MTXrun | resolvers: not saving runtime tree
'tree:home/ciro/context/tex/texmf-local'
MTXrun | resolvers: not saving runtime tree
'tree:home/ciro/context/tex/texmf-linux'
MTXrun | resolvers: not saving runtime tree
'tree:home/ciro/context/tex/texmf-context


and also ran mtxrun --script fonts --reload and got lines like this:

MTXrun | fontnames: scanning /home/ciro/context/tex/texmf for AFM files
MTXrun | fontnames: 3323 entries found, 0 AFM files checked, 0 okay

MTXrun | fontnames: globbing path /home/ciro/.fonts/**.ttf
MTXrun | fontnames: identifying system font files with suffix TTF
MTXrun | fontnames: globbing path /home/ciro/.fonts/**.TTF
MTXrun | fontnames: 639 system files identified, 39 skipped, 39
duplicates, 600 hash entries added

what should I do?

thank you
Ciro
___
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
___


Re: [NTG-context] producing a pdf/X-1a:2001 file

2010-06-27 Thread Ciro
I found open source pstill to do conversions between pdf versions...
It seems to work fine.
http://www.pstill.com/

thank you for your help

Ciro


-- Links:
http://www-personal.engin.umd.umich.edu/~cirosoto/
http://www.TheGuitarMakerExploration.com
https://www.createspace.com/3392936



On Sun, Jun 27, 2010 at 10:13 AM, Peter Rolf indi...@gmx.net wrote:
 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 indi...@gmx.net wrote:
 Am 26.06.2010 04:36, schrieb luigi scarso:
 On Sat, Jun 26, 2010 at 2:34 AM, Ciro c...@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
 ___



___
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
___


Re: [NTG-context] producing a pdf/X-1a:2001 file

2010-06-26 Thread Peter Rolf
Am 26.06.2010 04:36, schrieb luigi scarso:
 On Sat, Jun 26, 2010 at 2:34 AM, Ciro c...@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
% PDF/X-1a
\pdfminorversion=3
\pdfobjcompresslevel=0
\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_PDFXVersionPDF/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
___
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
___


Re: [NTG-context] producing a pdf/X-1a:2001 file

2010-06-26 Thread Ciro
Peter, thank you for you file.
I tested it, but the \usePDFXoutputintent
command is not understood by texexec.

thank you
ciro





On Sat, Jun 26, 2010 at 7:14 AM, Peter Rolf indi...@gmx.net wrote:
 Am 26.06.2010 04:36, schrieb luigi scarso:
 On Sat, Jun 26, 2010 at 2:34 AM, Ciro c...@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
___


Re: [NTG-context] producing a pdf/X-1a:2001 file

2010-06-25 Thread luigi scarso
On Sat, Jun 26, 2010 at 2:34 AM, Ciro c...@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
-- 
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
___