Open main menu

Changes

5,346 bytes added ,  16:45, 15 August 2010
no edit summary
== PDF/X ==

This text is a first draft and will give you only the basic information
needed to create PDF/X compatible documents.
More info will be made available at a later date.

The interface is quite simple.

<texcode>
\setupbackend
[format=valid pdf/x name,
profile=name.icc,
intent=name.icc,
level=compresslevel, % default 3
file=optional specification file,
option=always|never]
</texcode>


The two parameter '<tt>format</tt>' and '<tt>intent</tt>' are sufficient for most cases.

The '<tt>format</tt>' parameter simply defines the '''PDF/X version''',
while the '<tt>intent</tt>' parameter sets the so called '''output intent'''.

Currently the following PDF/X versions (enter without quotes) are supported:

<code>format =</code>

'PDF/X-1a:2001'
'PDF/X-1a:2003'
'PDF/X-3:2002'
'PDF/X-3:2003'
'PDF/X-4'
'PDF/X-4p'


Predefined output intents (also without quotes):

<code>intent =</code>

'Coated FOGRA39 (ISO 12647-2:2004)'
'GRACoL2006_Coated1v2.icc'
'ISO Coated v2 300% (ECI)'
'ISO Coated v2 (ECI)'
'ISOnewspaper26v4'
'ISOnewspaper26v4_gr'
'ISO Uncoated'
'ISO Uncoated Yellowish'
'ISO Web Coated'
'Japan Color 2001 Coated'
'Japan Color 2002 Newspaper'
'Japan Web Coated (Ad)'
'SNAP 2007'
'SWOP2006_Coated3v2.icc'
'SWOP2006_Coated5v2.icc'
'Uncoated FOGRA29 (ISO 12647-2:2004)'
'Web Coated FOGRA28 (ISO 12647-2:2004)'
'PSR_LWC_PLUS_V2_PT'
'PSR_LWC_STD_V2_PT'
'PSR_SC_PLUS_V2_PT'
'PSR_SC_STD_V2_PT'
'PSRgravureMF'

An example:

<texcode>\setupbackend
[format=PDF/X-1a:2001,
intent=SWOP2006_Coated3v2.icc]
</texcode>



'''All remaining parameter are kind of special.'''

'<tt>profile</tt>'
sets the ICC based default color space profile (option for color management);
this setting is document wide and currently only one profile
per color space is allowed

'<tt>level</tt>'
sets the PDF compress level (values of 0..9 are allowed). Normally no need to change the
default value.
You can easily break PDF/X compatibility with a wrong value!

'<tt>option=always|never</tt>'
'always': force embedding of the output intent profile (useful only in case of PDF/X-1a)
'never' : don't embed the output intent profile; no useful practise

'<tt>file</tt>'
name of an external file with predefined color profiles


== ICC profiles ==

The predefined color profiles can be found in
<tt>.../<context-path>/color/icc/context/colorprofiles.xml|.lua.</tt>

This list contains the profiles recommended by the [http://www.gwg.org GWG],
the set of profiles bundled with [http://pages.cs.wisc.edu/~ghost/ ghostscript]
and three test only profiles from www.color.org [http://www.color.org/probeprofile.xalter].

Special thanks must go to the '''Ghent PDF Workgroup (GWG)'''
for making a list of recommended profiles. Please have a look at the
[http://dl.contextgarden.net/misc/iccprofiles/GWG_recommended_ICC_profiles_v13.pdf official documentation]
first (will take you only a minute).
The origin of this document (and some more info)
is available [http://www.gwg.org/recommended_ICC_profiles.phtm here].

All predefined ICC profiles are also available in the download section.
Output intents are bound to very specific printing conditions (which vary worldwide),
so it's very likely that you only need one or two ICC profiles (and not all of them).
Therefore the profiles are also available as 'localised' versions.

GWG recommend ICC profiles
[http://dl.contextgarden.net/misc/iccprofiles/GWG_recommended_ICC_profiles.zip (complete)]
[http://dl.contextgarden.net/misc/iccprofiles/GWG_recommended_ICC_profiles_Europe.zip (Europe)]
[http://dl.contextgarden.net/misc/iccprofiles/GWG_recommended_ICC_profiles_India.zip (India)]
[http://dl.contextgarden.net/misc/iccprofiles/GWG_recommended_ICC_profiles_Japan.zip Japan)]
[http://dl.contextgarden.net/misc/iccprofiles/GWG_recommended_ICC_profiles_USA.zip (USA)]

Probe profiles:
[http://dl.contextgarden.net/misc/iccprofiles/Probe_ICC_profiles_(www.color.org).zip here]

ghostscript profiles:
[http://dl.contextgarden.net/misc/iccprofiles/ghostscript_ICC_profiles.zip here]

All predefined profiles in one
[http://dl.contextgarden.net/misc/iccprofiles/complete_ICC_profiles.zip zip] file



'''Profile installation:'''

The profiles are normally stored under

.../<context-path>/colors/icc/profiles

All profiles in the zip archive are already located in the correct sub path,
so you only have to unpack them right in your ConTeXt directory
(normally 'texmf-context').

In case you use these profiles also with other software, it is
possible to share them with ConTeXt. Simply set the environment
variable '''$OSCOLORDIR''' to that special software related directory.

E.g. for Adobe Acrobat on Windows Vista this special directory is

<code>'C:\Program Files (X86)\Common Files\Adobe\Color\Profiles\Recommended'</code>

Store the needed profiles there (without any tex directory) and
set $OSCOLORDIR to that path.

All you need now is a final 'luatools --generate' to update the file database.

In case of problems you should add

<texcode>\enabletrackers[backend.pdfx]

\setupbackend[...
</texcode>

right in front of <tt>\setupbackend</tt> to get
all possible debugging info.

And that's it for the moment...
37

edits