ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Peter Rolf <indiego@gmx.net>
To: ntg-context@ntg.nl
Subject: Re: Color Profiles in lmtx
Date: Thu, 13 Feb 2020 15:37:16 +0100	[thread overview]
Message-ID: <a7fdaee9-4865-c29b-e731-51909ee65d92@gmx.net> (raw)
In-Reply-To: <6d8fbf2c-6132-a532-6b91-040ed2195c92@mailbox.org>

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
___________________________________________________________________________________

      parent reply	other threads:[~2020-02-13 14:37 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-12  8:41 juh
2020-02-12 10:09 ` Peter Rolf
2020-02-12 16:15   ` Jan U. Hasecke
2020-02-12 18:48     ` Pablo Rodriguez
2020-02-13 10:08       ` Jan U. Hasecke
2020-02-13 14:37     ` Peter Rolf [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a7fdaee9-4865-c29b-e731-51909ee65d92@gmx.net \
    --to=indiego@gmx.net \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).