From Wiki
Revision as of 12:31, 16 August 2010 by Sojus (talk | contribs) (→‎PDF/X)
Jump to navigation Jump to search


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.

First things first. The following parameter must be set for any PDF/X version. A single unset (empty) parameter breaks compatibility.

   keyword={{KEYWORD1, KEYWORD2}, KEYWORD3}]

Coming to the quite simple interface.

  [format=valid pdf/x name,
   level=compresslevel, % default 3
   file=optional specification file,

The two parameter 'format' and 'intent' are sufficient for most cases.

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

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

format =


Predefined output intents (also without quotes):

intent =

     'Coated FOGRA39 (ISO 12647-2:2004)'
     'ISO Coated v2 300% (ECI)'
     'ISO Coated v2 (ECI)'
     'ISO Uncoated'
     'ISO Uncoated Yellowish'
     'ISO Web Coated'
     'Japan Color 2001 Coated'
     'Japan Color 2002 Newspaper'
     'Japan Web Coated (Ad)'
     'SNAP 2007'
     'Uncoated FOGRA29 (ISO 12647-2:2004)'
     'Web Coated FOGRA28 (ISO 12647-2:2004)'

Some examples:



   intent={ISO Coated v2 300\letterpercent\space (ECI)}]

All remaining parameter are kind of special.

'profile' 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

'level' sets the PDF compress level (values of 0..9 are allowed). Normally no need to change the default value.


   '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

'file' name of an external file with predefined color profiles

ICC profiles

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

This list contains the profiles recommended by the GWG, the set of profiles bundled with ghostscript and three test only profiles from www.color.org [1].

Special thanks must go to the Ghent PDF Workgroup (GWG) for making a list of recommended profiles. Please have a look at the official documentation first (will take you only a minute). The origin of this document (and some more info) is available 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 (complete) (Europe) (India) Japan) (USA)

Probe profiles: here

ghostscript profiles: here

All predefined profiles in one zip file

Profile installation:

The profiles are normally stored under


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

'C:\Program Files (X86)\Common Files\Adobe\Color\Profiles\Recommended'

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



right in front of \setupbackend to get all possible debugging info.

And that's it for the moment...