Embedding of ICC profiles and preflight
Hello, I am trying to embed a profile but it doesn't work. I am using: \setupbackend [format=PDF/X-1a:2001, intent=Coated FOGRA39 (ISO 12647-2:2004), file=CoatedFOGRA39.icc, option=always ] Acrobat Preflight says it has not profile embedded. Am I doing something wrong? The next thing is I am using text smaller than 12pt and nothing helps me to prevent ConTeXt to: 1) overprint the GRAY text (\setupcolors allows just to set cmyk-gray/rgb); 2) knockout text smaller than 12pt, what is not allowed in a good pdf file. Any solutions highly appreciated, Jan Hejzl
Am 01.09.2011 15:30, schrieb Honza Hejzl:
Hello, I am trying to embed a profile but it doesn't work. I am using:
\setupbackend [format=PDF/X-1a:2001, intent=Coated FOGRA39 (ISO 12647-2:2004), file=CoatedFOGRA39.icc, option=always ]
Acrobat Preflight says it has not profile embedded. Am I doing something wrong?
Mh, maybe add a comma after 'option=always'? You can also add \enabletrackers[backend.pdfx] in front of the \setupbackend command to get additional info in the log. Is there a reason to force embedding of the profile? If I remember right PDF/X-1a can do without, if the profile is common. \setupbackend [format=PDF/X-1a:2001, intent=Coated FOGRA39 (ISO 12647-2:2004), option=always, % for a much bigger document :-) ] should be enough ('file' is derived from the entry in colorprofiles.xml). A profile with this name should be in the specific path. See http://wiki.contextgarden.net/PDFX#ICC%20profiles for the details. The mentioned $OSCOLORDIR variable is no longer valid.
The next thing is I am using text smaller than 12pt and nothing helps me to prevent ConTeXt to:
1) overprint the GRAY text (\setupcolors allows just to set cmyk-gray/rgb); 2) knockout text smaller than 12pt, what is not allowed in a good pdf file.
Just guessing (your description rings a bell): Use '\startoverprint ... \stopoverprint', not the global '\setupcolors[overprint=yes]'. The latter is only useful, if your document is pure black text only (everything in it is overprinted)! Best wishes, Peter
Am 01.09.2011 17:24, schrieb Wolfgang Schuster:
Am 01.09.2011 um 17:08 schrieb Peter Rolf:
Use '\startoverprint ... \stopoverprint', […]
You shouldn’t recommend deprecated commands, it’s only in the core for backwards compatibility and was replaced by “\startcolorintent[overprint] ... \stopcolorintent”.
I see. Thanks for the info. I must admit that I still use the old ones here (will change now)...
Wolfgang ___________________________________________________________________________________ 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 ___________________________________________________________________________________
Thanks, Just a notice – the style \startoverprint… should be probably in future versions too, or how to overprint two elements and how to knockout the next one? Is it possible? (In one file could be a lot of such cases needed.) In case of \setupcolors[intent=overprint] is the problem in the fact that preflight says that all text is "gray object overprinted" and that is against the standards. I have simply one test page with one article of black text. Everything goes fine except the fact of non-embedded profile and the fact that text is considered like a gray scale object. In case you could try to generate one pdf with such settings I could test them in Acrobat. Honza Hejzl
Am 01.09.2011 20:42, schrieb Honza Hejzl:
Thanks,
Just a notice – the style \startoverprint… should be probably in future versions too, or how to overprint two elements and how to knockout the next one? Is it possible? (In one file could be a lot of such cases needed.)
You never know and as Wolfgang stated, it's best (and wise) to use the latest official commands. \startcolorintent[overprint] Overprinted text \stopcolorintent \startcolorintent[knockout] Knockout text \stopcolorintent The commands can also be nested. \startcolorintent[overprint] OVERPRINT ONE TWO \startcolorintent[knockout] KNOCKOUT THREE \stopcolorintent OVERPRINT FOUR \stopcolorintent
In case of \setupcolors[intent=overprint] is the problem in the fact that preflight says that all text is "gray object overprinted" and that is against the standards. I have simply one test page with one article of black text. Everything goes fine except the fact of non-embedded profile and the fact that text is considered like a gray scale object.
The (stupid) preflight has problems with overprinting in combination with grayscale. You could try to use CMYK (black) then. Something like \definecolor[cmykblack][k=1] \setupcolors[textcolor=cmykblack]
In case you could try to generate one pdf with such settings I could test them in Acrobat.
Honza Hejzl
___________________________________________________________________________________ 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 ___________________________________________________________________________________
participants (3)
-
Honza Hejzl
-
Peter Rolf
-
Wolfgang Schuster