Am 12.02.2020 um 17:15 schrieb Jan U. Hasecke:
> Am 12.02.20 um 11:09 schrieb Peter Rolf:
>
>>> I get this in my logs
>>>
>>> backend         > profiles > profile specification 'ISO Coated v2 300% 
>>> (ECI)' loaded from 
>>> '/home/juh/context-linux-64/tex/texmf-context/colors/icc/context/colorprofiles.xml'
>
> I just realized that the above output is the right output.
>
> Ok. But now I have another question
>
> I want to install a new profile I downloaded from eci.org
>
> I extended colorprofiles.xml putting it in
> texmf-local/colors/icc/context/ with this additional xml:
>
>     <profile>
>         <filename>PSO_Uncoated_ISO12647_eci.icc</filename>
>         <colorspace>CMYK</colorspace>
>         <class>prtr</class>
>         <id>Custom</id>
>         <info>PSO Uncoated ISO12647 ECI</info>
>         <checksum>ae81087e1c54c6fdda2f93bd2d47cfaf</checksum>
>         <version>2000000</version>
>         <url>http://www.eci.org</url>
>         <outputcondition>Commercial and specialty offset, paper type 4,
> uncoated white paper, positive plates, tone value increase curves C
> (CMY) and D (K), white backing.
>         </outputcondition>
>     </profile>
>
> I generated the md5 checksum from the file PSO_Uncoated_ISO12647_eci.icc.
>
> But the file in texmf-local is not found
>
> backend         > profiles > profile specification 'PSO Uncoated
> ISO12647 ECI' not found in 'colorprofiles.xml, colorprofiles.lua'
>
> How can I make context aware of the files?
>

Just tried to do the same and after some fiddling it worked.
I used this settings for the profile (slightly modified)

<profile>
        <filename>PSO_Uncoated_ISO12647_eci.icc</filename>
        <colorspace>CMYK</colorspace>
        <class>prtr</class>
        <id>Fogra47L</id>
        <info>PSO Uncoated ISO12647 (ECI)</info>
        <checksum>ae81087e1c54c6fdda2f93bd2d47cfaf</checksum>
        <version>2000000</version>
        <url>http://www.eci.org</url>
        <outputcondition>Commercial and specialty offset, paper type 4,
uncoated white paper, positive plates, tone value increase curves C
(CMY) and D (K), white backing.
        </outputcondition>
    </profile>


Copy the icc-profile into the same folder as the shipped profiles. Call
"context --make" to make a new format, update the file database.


%----------------------
\enabletrackers[backend.pdfx]

\setupbackend[
   format=PDF/X-3:2003,
   intent={PSO Uncoated ISO12647 (ECI)},
   ]

\setupcolors[cmyk=yes,rgb=no]

\nopdfcompression
\starttext
foo
\stoptext
%-----------------------

The produced PDF has a size of 1.7MB. Tested with

context --version
mtx-context     | ConTeXt Process Management 1.03
mtx-context     |
mtx-context     | main context file:
r:/tex/texmf-context/tex/context/base/mkiv/context.mkiv
mtx-context     | current version: 2020.01.26 18:34
mtx-context     | main context file:
r:/tex/texmf-context/tex/context/base/mkiv/context.mkxl
mtx-context     | current version: 2020.01.26 18:34


___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to