ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [NTG-context] Color Profile ISO Coated v2 300% (ECI) not found anymore
@ 2025-06-03  9:41 juh+ntg-context--- via ntg-context
  2025-06-03 15:36 ` [NTG-context] " Pablo Rodriguez via ntg-context
       [not found] ` <1ecaf1310c1300d307735f1758bf99a5399c8423.camel@maxchernoff.ca>
  0 siblings, 2 replies; 11+ messages in thread
From: juh+ntg-context--- via ntg-context @ 2025-06-03  9:41 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: juh+ntg-context

Dear all,

in ConTeXt  ver: 2025.04.28 14:29 LMTX  fmt: 2025.6.3
the color profile  ISO Coated v2 300% (ECI) is not found anymore

\setupbackend[
    %format=PDF/X-1a:2001,
    %format=PDF/X-1a:2003,
    format=PDF/X-3:2002, %Empfehlung von Flyeralarm
    %format=PDF/X-3:2003,
    %format=PDF/X-4,
    %format=PDF/X-4p,
    intent={ISO Coated v2 300\letterpercent\space (ECI)}]

It raises this error.

66 \setupbackend[
67        %format=PDF/X-1a:2001,
68        %format=PDF/X-1a:2003,
69        format=PDF/X-3:2002, %Empfehlung von Flyeralarm
70        %format=PDF/X-3:2003,
71        %format=PDF/X-4,
72        %format=PDF/X-4p,
73 >>     intent={ISO Coated v2 300\letterpercent\space (ECI)}]
74     \stopmode
75
76     %% FOGRA 39 Coated
77     %% Bestimmung der CMYK-Werte mit transicc
78     %% transicc -i srgb_v4_icc_preference.icc -o CoatedFOGRA39.icc
79     %% Rundung wie oben
80     \startmode[fogra39]
81     \doiffileelse{CoatedFOGRA39.icc}{}{\farbprofilnichtgefunden}
82     \definecolor  [hs-logoblau]   [c=1.000, m=0.735, y=0.279, k=0.160]
83     %% C=100.0000 M=73.4707 Y=27.9103 K=16.0891
mtx-context     | fatal error: return code: 1
make: *** [Makefile:45: flyerangebote] Fehler 1


With 2024.11 it still works

Any ideas?
juh
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [NTG-context] Re: Color Profile ISO Coated v2 300% (ECI) not found anymore
  2025-06-03  9:41 [NTG-context] Color Profile ISO Coated v2 300% (ECI) not found anymore juh+ntg-context--- via ntg-context
@ 2025-06-03 15:36 ` Pablo Rodriguez via ntg-context
       [not found]   ` <599898e9-b7f3-4392-9048-c255d09eea54@mailbox.org>
       [not found] ` <1ecaf1310c1300d307735f1758bf99a5399c8423.camel@maxchernoff.ca>
  1 sibling, 1 reply; 11+ messages in thread
From: Pablo Rodriguez via ntg-context @ 2025-06-03 15:36 UTC (permalink / raw)
  To: ntg-context; +Cc: Pablo Rodriguez

On 6/3/25 11:41, juh+ntg-context--- via ntg-context wrote:
> Dear all,
> 
> in ConTeXt  ver: 2025.04.28 14:29 LMTX  fmt: 2025.6.3
> the color profile  ISO Coated v2 300% (ECI) is not found anymore
> [...]
> Any ideas?

Dear Jan-Ulrich,

my guess is that color profiles might be have been replaced.

Here there might be some background:

  https://www.pragma-ade.com/general/manuals/standards.pdf#search=unset

In any case, these are the profiles in current latest:

$ find context -name *.icc
texmf-context/colors/icc/profiles/colo-imp-cgats001compat-v2-micro.icc
texmf-context/colors/icc/profiles/colo-imp-isocoated_v2_eci.icc
texmf-context/colors/icc/profiles/colo-imp-sgrey-v2-magic.icc
texmf-context/colors/icc/profiles/colo-imp-srgb-v2-magic.icc
texmf-context/colors/icc/profiles/colo-imp-srgb.icc
texmf-context/colors/icc/profiles/colo-imp-sgrey-v4.icc
texmf-context/colors/icc/profiles/colo-imp-srgb-v4.icc
texmf-context/colors/icc/profiles/colo-imp-default_gray.icc

And these are the ones from November 2024 latest:

$ find .backup-context/11012024_context/ -name *.icc
texmf-context/colors/icc/profiles/colo-imp-isocoated_v2_eci.icc
texmf-context/colors/icc/profiles/colo-imp-srgb.icc
texmf-context/colors/icc/profiles/colo-imp-srgb_v4_icc_preference.icc
texmf-context/colors/icc/profiles/colo-imp-default_gray.icc

Just in case it helps,

Pablo
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [NTG-context] Re: Color Profile ISO Coated v2 300% (ECI) not found anymore
       [not found]   ` <599898e9-b7f3-4392-9048-c255d09eea54@mailbox.org>
@ 2025-06-04 15:14     ` Pablo Rodriguez via ntg-context
       [not found]       ` <f75be92d-ea28-422f-9d9c-d3a9085df3f7@freedom.nl>
  0 siblings, 1 reply; 11+ messages in thread
From: Pablo Rodriguez via ntg-context @ 2025-06-04 15:14 UTC (permalink / raw)
  To: ntg-context; +Cc: Pablo Rodriguez

On 6/4/25 08:36, juh+ntg-context--- via ntg-context wrote:
> [...]
> Any hints how to match it again?

Sorry, Jan-Ulrich, it isn’t clear to me what is going on here.

The following sample:

  \setupbackend
    [format=PDF/X-3:2002,
     intent={ISO Coated v2 (ECI)}]
  \starttext
   \null
  \stoptext

gives me the following error:

  lpdf-fmt.lmt:282: attempt to call a nil value (global 'urls')

Line 189 from the same file reads:

  -- When we have an URL we can assume that embedding is not needed.

Line 8 from colorprofiles.xml also reads (as a comment):

    When the id is "Custom" we assume that embedding is needed.

(Also related to line 391 from lpdf-fmt.lmt.)

As far as I understand, color profiles with urls aren’t being embedded
in the PDF document.

For reasons totally unknown to me, lpdf-fmt.lmt has also problems with
profiles from http://www.color.org.

I’m afraid I cannot help here,

Pablo
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [NTG-context] Re: Color Profile ISO Coated v2 300% (ECI) not found anymore
       [not found]           ` <e51a4f61-e8dd-481c-99da-a46f5925215f@mailbox.org>
@ 2025-06-09 20:38             ` Hans Hagen via ntg-context
  0 siblings, 0 replies; 11+ messages in thread
From: Hans Hagen via ntg-context @ 2025-06-09 20:38 UTC (permalink / raw)
  To: ntg-context; +Cc: Hans Hagen

On 6/9/2025 8:30 PM, juh+ntg-context--- via ntg-context wrote:
> Am 05.06.25 um 18:45 schrieb Pablo Rodriguez via ntg-context:
> 
>> Patch:
>>
>> --- lpdf-fmt.lmt    2025-06-05 18:35:30.016927969 +0200
>> +++ mkxl/lpdf-fmt.lmt    2025-06-05 18:36:27.670594638 +0200
>> @@ -260,6 +260,23 @@
>>       return lower(file.basename(filename))
>>   end
>>
>> +local function urls(url)
>> +    if not url or url == "" then
>> +        return nil
>> +    else
>> +        local u = pdfarray()
>> +        for url in gmatch(url,"([^, ]+)") do
>> +            if find(url,"^http") then
>> +                u[#u+1] = pdfdictionary {
>> +                    FS = pdfconstant("URL"),
>> +                    F  = pdfstring(url),
>> +                }
>> +            end
>> +        end
>> +        return u
>> +    end
>> +end
>> +
>>   local function includeprofile(s)
>>       local filename   = s.filename   or ""
>>       local colorspace = s.colorspace or ""
>> @@ -313,23 +330,6 @@
>>       return defaultprofiles[channel]
>>   end
>>
>> -local function urls(url)
>> -    if not url or url == "" then
>> -        return nil
>> -    else
>> -        local u = pdfarray()
>> -        for url in gmatch(url,"([^, ]+)") do
>> -            if find(url,"^http") then
>> -                u[#u+1] = pdfdictionary {
>> -                    FS = pdfconstant("URL"),
>> -                    F  = pdfstring(url),
>> -                }
>> -            end
>> -        end
>> -        return u
>> -    end
>> -end
>> -
>>   local function processprofile(s,spec) -- specification
>>       local filename   = s.filename or ""
>>       local colorspace = lower(s.colorspace or "")
> 
> Thank you very much for the patch. I hope that I applied it correctly.
> 
> But, I still get:
> 
> backend         > profiles > profile specification '{ISO Coated v2 300% 
> (ECI)} ' not found in 'colorprofiles.xml, colorprofiles.lua'

let's see what Pablo comes up with as he's most into these profiles

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [NTG-context] Re: Color Profile ISO Coated v2 300% (ECI) not found anymore
       [not found] ` <1ecaf1310c1300d307735f1758bf99a5399c8423.camel@maxchernoff.ca>
@ 2025-06-11 12:48   ` Hans Hagen
  2025-06-12 21:12     ` juh+ntg-context--- via ntg-context
  2025-06-11 14:05   ` Pablo Rodriguez via ntg-context
  1 sibling, 1 reply; 11+ messages in thread
From: Hans Hagen @ 2025-06-11 12:48 UTC (permalink / raw)
  To: ntg-context

On 6/11/2025 12:13 PM, Max Chernoff via ntg-context wrote:
> Hi juh,
> 
> On Tue, 2025-06-03 at 11:41 +0200, juh+ntg-context--- via ntg-context
> wrote:
>> in ConTeXt  ver: 2025.04.28 14:29 LMTX  fmt: 2025.6.3
>> the color profile  ISO Coated v2 300% (ECI) is not found anymore
> 
> The file currently in the Standalone Distribution appears to be
> corrupted:
> 
>      $ exiftool $(mtxrun --find-file colo-imp-isocoated_v2_eci.icc)
>      ExifTool Version Number         : 13.10
>      File Name                       : colo-imp-isocoated_v2_eci.icc
>      Directory                       : /opt/context/tex/texmf-context/colors/icc/profiles
>      File Size                       : 1827 kB
>      File Modification Date/Time     : 2024:01:12 04:26:01-07:00
>      File Access Date/Time           : 2024:11:22 22:15:04-07:00
>      File Inode Change Date/Time     : 2024:01:12 04:26:01-07:00
>      File Permissions                : -rw-r--r--
>      File Type                       : ICC
>      File Type Extension             : icc
>      MIME Type                       : application/vnd.iccprofile
>      Error                           : Truncated ICC profile
> 
> Downloading a new copy from ECI's website
> 
>      https://www.eci.org/lib/exe/fetch.php?media=downloads:icc_profiles_from_eci:eci_offset_2009.zip
> 
> seems to give a valid file:
> 
>      $ exiftool ~/Downloads/ISOcoated_v2_eci.icc
>      ExifTool Version Number         : 13.10
>      File Name                       : ISOcoated_v2_eci.icc
>      Directory                       : /home/max/Downloads
>      File Size                       : 1829 kB
>      File Modification Date/Time     : 2025:06:11 04:07:54-06:00
>      File Access Date/Time           : 2009:05:29 07:16:44-06:00
>      File Inode Change Date/Time     : 2025:06:11 04:07:54-06:00
>      File Permissions                : -rwxr-xr-x
>      File Type                       : ICC
>      File Type Extension             : icc
>      MIME Type                       : application/vnd.iccprofile
>      Profile CMM Type                : Heidelberger Druckmaschinen AG
>      Profile Version                 : 2.4.0
>      Profile Class                   : Output Device Profile
>      Color Space Data                : CMYK
>      Profile Connection Space        : Lab
>      Profile Date Time               : 2007:02:28 08:00:00
>      Profile File Signature          : acsp
>      Primary Platform                : Unknown ()
>      CMM Flags                       : Not Embedded, Independent
>      Device Manufacturer             :
>      Device Model                    :
>      Device Attributes               : Reflective, Glossy, Positive, Color
>      Rendering Intent                : Perceptual
>      Connection Space Illuminant     : 0.9642 1 0.82491
>      Profile Creator                 : Heidelberger Druckmaschinen AG
>      Profile ID                      : e798cc1d9f659a6155ac35ad9ac383bb
>      Profile Copyright               : PrintOpen 5.2.0 - (c) Copyright 2000-2006 Heidelberger Druckmaschinen AG. All Rights Reserved.
>      Media White Point               : 0.84552 0.87683 0.74716
>      A To B0                         : (Binary data 396852 bytes, use -b option to extract)
>      B To A0                         : (Binary data 291132 bytes, use -b option to extract)
>      Gamut                           : (Binary data 33840 bytes, use -b option to extract)
>      A To B1                         : (Binary data 396852 bytes, use -b option to extract)
>      B To A1                         : (Binary data 291132 bytes, use -b option to extract)
>      A To B2                         : (Binary data 396852 bytes, use -b option to extract)
>      B To A2                         : (Binary data 291132 bytes, use -b option to extract)
>      Gray Tone Reproduction Curve    : (Binary data 524 bytes, use -b option to extract)
>      Profile Description             : ISO Coated v2 (ECI)
>      Char Target                     : (Binary data 126676 bytes, use -b option to extract)
> 
> No idea if this will fix the issue with ConTeXt, but it's worth a try.

fixed in next upload (the file was zipped as text so it got this 
linefeed changing that is/was needed for unix but it's a binary file; 
actually that normalizing was needed decades ago but i'm not sure if it 
still is needed; for tex it doesn't matter if there's cr lf or crlf (mac 
linux windows); for a similar reason we had to add \endinput to the end 
of files but again one can wonder if that matters now)

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [NTG-context] Re: Color Profile ISO Coated v2 300% (ECI) not found anymore
       [not found] ` <1ecaf1310c1300d307735f1758bf99a5399c8423.camel@maxchernoff.ca>
  2025-06-11 12:48   ` Hans Hagen
@ 2025-06-11 14:05   ` Pablo Rodriguez via ntg-context
  2025-06-11 17:56     ` Hans Hagen via ntg-context
  1 sibling, 1 reply; 11+ messages in thread
From: Pablo Rodriguez via ntg-context @ 2025-06-11 14:05 UTC (permalink / raw)
  To: ntg-context; +Cc: Pablo Rodriguez

On 6/11/25 12:13, Max Chernoff via ntg-context wrote:
> The file currently in the Standalone Distribution appears to be
> corrupted:
> 
>  $ exiftool $(mtxrun --find-file colo-imp-isocoated_v2_eci.icc)

Many thanks for checking this, Max.

I didn‘t know that it was possible to check color profiles.

> No idea if this will fix the issue with ConTeXt, but it's worth a try.

As far as I know, unless the color profile contains "<id>Custom</id>" in
`colorprofiles.xml`, it will not be embedded in the PDF document.

BTW, inspecting the PDF code from the following source,

  \setupbackend
    [format=PDF/X-3:2002,
     intent={ISO Coated v2 300\letterpercent\space (ECI)}]
  \setuppagenumbering[location=,]
  \starttext
   \null
  \stoptext

I get these two objects:

  2 0 obj
  <<
    /ProfileCS (cmyk)
    /ProfileName (ISO Coated v2 300% \(ECI\))
    /URLs [ <<
          /F (http://www.color.org)
          /FS /URL
        >> ]
  >>
  endobj

  3 0 obj
  <<
    /OutputConditionIdentifier (FOGRA39)
    /S /GTS_PDFX
    /Type /OutputIntent
  >>
  endobj

Reference to object #3 is contained in object #7, but I cannot find any
reference to object #2.

Hans, I may be missing something, but object #2 seems orphan to me.

Could you check this?

Many thanks for your help,

Pablo
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [NTG-context] Re: Color Profile ISO Coated v2 300% (ECI) not found anymore
  2025-06-11 14:05   ` Pablo Rodriguez via ntg-context
@ 2025-06-11 17:56     ` Hans Hagen via ntg-context
  2025-06-12  4:38       ` Pablo Rodriguez via ntg-context
  0 siblings, 1 reply; 11+ messages in thread
From: Hans Hagen via ntg-context @ 2025-06-11 17:56 UTC (permalink / raw)
  To: Pablo Rodriguez via ntg-context; +Cc: Hans Hagen

On 6/11/2025 4:05 PM, Pablo Rodriguez via ntg-context wrote:
> On 6/11/25 12:13, Max Chernoff via ntg-context wrote:
>> The file currently in the Standalone Distribution appears to be
>> corrupted:
>>
>>   $ exiftool $(mtxrun --find-file colo-imp-isocoated_v2_eci.icc)
> 
> Many thanks for checking this, Max.
> 
> I didn‘t know that it was possible to check color profiles.
> 
>> No idea if this will fix the issue with ConTeXt, but it's worth a try.
> 
> As far as I know, unless the color profile contains "<id>Custom</id>" in
> `colorprofiles.xml`, it will not be embedded in the PDF document.
> 
> BTW, inspecting the PDF code from the following source,
> 
>    \setupbackend
>      [format=PDF/X-3:2002,
>       intent={ISO Coated v2 300\letterpercent\space (ECI)}]
>    \setuppagenumbering[location=,]
>    \starttext
>     \null
>    \stoptext
> 
> I get these two objects:
> 
>    2 0 obj
>    <<
>      /ProfileCS (cmyk)
>      /ProfileName (ISO Coated v2 300% \(ECI\))
>      /URLs [ <<
>            /F (http://www.color.org)
>            /FS /URL
>          >> ]
>    >>
>    endobj
> 
>    3 0 obj
>    <<
>      /OutputConditionIdentifier (FOGRA39)
>      /S /GTS_PDFX
>      /Type /OutputIntent
>    >>
>    endobj
> 
> Reference to object #3 is contained in object #7, but I cannot find any
> reference to object #2.
> 
> Hans, I may be missing something, but object #2 seems orphan to me.
> 
> Could you check this?

when you also define profile=... to contain it, it will be referenced, 
so i might need to check and not embed the reference when it's not used; 
irr validators complain with some mix of internal and excernal anyway

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [NTG-context] Re: Color Profile ISO Coated v2 300% (ECI) not found anymore
  2025-06-11 17:56     ` Hans Hagen via ntg-context
@ 2025-06-12  4:38       ` Pablo Rodriguez via ntg-context
  0 siblings, 0 replies; 11+ messages in thread
From: Pablo Rodriguez via ntg-context @ 2025-06-12  4:38 UTC (permalink / raw)
  To: ntg-context; +Cc: Pablo Rodriguez

On 6/11/25 19:56, Hans Hagen via ntg-context wrote:
> On 6/11/2025 4:05 PM, Pablo Rodriguez via ntg-context wrote:
>> [...]
>> Hans, I may be missing something, but object #2 seems orphan to me.
>>
>> Could you check this?
> 
> when you also define profile=... to contain it, it will be referenced, 
> so i might need to check and not embed the reference when it's not used; 
> irr validators complain with some mix of internal and excernal anyway

Many thanks for your reply, Hans.

I found out just by reading it (only this human validator involved 😅).

But the Arlington PDF model validator complains about `/Extensions` in a
PDF-1.3 document.

It seems extensions are available beginning with PDF-1.7
(https://github.com/pdf-association/arlington-pdf-model/blob/master/tsv/latest/Catalog.tsv).

Since I don’t know any PDF/X validator, I’m not sure whether extensions
might be allowed in that case.

Many thanks for your help,

Pablo
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [NTG-context] Re: Color Profile ISO Coated v2 300% (ECI) not found anymore
  2025-06-11 12:48   ` Hans Hagen
@ 2025-06-12 21:12     ` juh+ntg-context--- via ntg-context
  2025-06-13  9:27       ` Hans Hagen via ntg-context
       [not found]       ` <11e61a0a-abba-431b-bd6f-2e2270150f93@gmx.es>
  0 siblings, 2 replies; 11+ messages in thread
From: juh+ntg-context--- via ntg-context @ 2025-06-12 21:12 UTC (permalink / raw)
  To: ntg-context; +Cc: juh+ntg-context

Am 11.06.25 um 14:48 schrieb Hans Hagen:
> fixed in next upload (the file was zipped as text so it got this 
> linefeed changing that is/was needed for unix but it's a binary file; 
> actually that normalizing was needed decades ago but i'm not sure if it 
> still is needed; for tex it doesn't matter if there's cr lf or crlf (mac 
> linux windows); for a similar reason we had to add \endinput to the end 
> of files but again one can wonder if that matters now)

Though I see a new profile I still get the same error.

 > profiles > profile specification '{ISO Coated v2 300% (ECI)} ' not 
found in 'colorprofiles.xml, colorprofiles.lua'
xml             > core > load error in 
[/home/juh/hs.pub.context/context/tex/texmf-local/colors/icc/context/colorprofiles.xml]: 
empty xml file
backend         > profiles > profile specification '{ISO Coated v2 300% 
(ECI)} ' not found in 'colorprofiles.xml, colorprofiles.lua'

This is in my local colorprofiles.xml

<profile>
         <filename>ISOcoated_v2_300_eci.icc</filename>
         <colorspace>CMYK</colorspace>
         <class>prtr</class>
         <id>FOGRA39</id>
         <info>ISO Coated v2 300% (ECI)</info>
         <checksum>e14f5db955711d914d877df35ad7a1b5</checksum>
         <version>24000000</version>
         <url>http://www.color.org</url>
         <outputcondition>Offset printing, according to ISO 
12647-2:2004/Amd 1, OFCOM, paper type 1 or 2 = coated art, 115 g/m2, 
tone value increase curves A (CMY) and B (K)</outputcondition>
     </profile>

My definition:

\setupbackend[
    %format=PDF/X-1a:2001,
    %format=PDF/X-1a:2003,
    format=PDF/X-3:2002, %Empfehlung von Flyeralarm
    %format=PDF/X-3:2003,
    %format=PDF/X-4,
    %format=PDF/X-4p,
    intent={ISO Coated v2 300\letterpercent\space (ECI)}
    ]

My profile in textmf-local...:

-rw-r--r-- 1 juh juh 1,8M 15. Feb 2022  ISOcoated_v2_300_eci.icc

I checked the File checksum. It it correct.

The names of the profiles in tex-context differs.
colo-imp-cgats001compat-v2-micro.icc  colo-imp-icc.rme 
colo-imp-sgrey-v2-magic.icc  colo-imp-srgb.icc 
colo-imp-srgb-v4.icc
colo-imp-default_gray.icc             colo-imp-isocoated_v2_eci.icc 
colo-imp-sgrey-v4.icc        colo-imp-srgb-v2-magic.icc

All names start with colo-...

But in colorprofiles.xml all these names are missing.

Sorry, but I am quite confused.

juh
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [NTG-context] Re: Color Profile ISO Coated v2 300% (ECI) not found anymore
  2025-06-12 21:12     ` juh+ntg-context--- via ntg-context
@ 2025-06-13  9:27       ` Hans Hagen via ntg-context
       [not found]       ` <11e61a0a-abba-431b-bd6f-2e2270150f93@gmx.es>
  1 sibling, 0 replies; 11+ messages in thread
From: Hans Hagen via ntg-context @ 2025-06-13  9:27 UTC (permalink / raw)
  To: ntg-context; +Cc: Hans Hagen

On 6/12/2025 11:12 PM, juh+ntg-context--- via ntg-context wrote:
> Am 11.06.25 um 14:48 schrieb Hans Hagen:
>> fixed in next upload (the file was zipped as text so it got this 
>> linefeed changing that is/was needed for unix but it's a binary file; 
>> actually that normalizing was needed decades ago but i'm not sure if 
>> it still is needed; for tex it doesn't matter if there's cr lf or crlf 
>> (mac linux windows); for a similar reason we had to add \endinput to 
>> the end of files but again one can wonder if that matters now)
> 
> Though I see a new profile I still get the same error.
> 
>  > profiles > profile specification '{ISO Coated v2 300% (ECI)} ' not 
> found in 'colorprofiles.xml, colorprofiles.lua'
> xml             > core > load error in [/home/juh/hs.pub.context/ 
> context/tex/texmf-local/colors/icc/context/colorprofiles.xml]: empty xml 
> file
> backend         > profiles > profile specification '{ISO Coated v2 300% 
> (ECI)} ' not found in 'colorprofiles.xml, colorprofiles.lua'
> 
> This is in my local colorprofiles.xml
> 
> <profile>
>          <filename>ISOcoated_v2_300_eci.icc</filename>
>          <colorspace>CMYK</colorspace>
>          <class>prtr</class>
>          <id>FOGRA39</id>
>          <info>ISO Coated v2 300% (ECI)</info>
>          <checksum>e14f5db955711d914d877df35ad7a1b5</checksum>
>          <version>24000000</version>
>          <url>http://www.color.org</url>
>          <outputcondition>Offset printing, according to ISO 
> 12647-2:2004/Amd 1, OFCOM, paper type 1 or 2 = coated art, 115 g/m2, 
> tone value increase curves A (CMY) and B (K)</outputcondition>
>      </profile>
> 
> My definition:
> 
> \setupbackend[
>     %format=PDF/X-1a:2001,
>     %format=PDF/X-1a:2003,
>     format=PDF/X-3:2002, %Empfehlung von Flyeralarm
>     %format=PDF/X-3:2003,
>     %format=PDF/X-4,
>     %format=PDF/X-4p,
>     intent={ISO Coated v2 300\letterpercent\space (ECI)}
>     ]
> 
> My profile in textmf-local...:
> 
> -rw-r--r-- 1 juh juh 1,8M 15. Feb 2022  ISOcoated_v2_300_eci.icc
> 
> I checked the File checksum. It it correct.
> 
> The names of the profiles in tex-context differs.
> colo-imp-cgats001compat-v2-micro.icc  colo-imp-icc.rme colo-imp-sgrey- 
> v2-magic.icc  colo-imp-srgb.icc colo-imp-srgb-v4.icc
> colo-imp-default_gray.icc             colo-imp-isocoated_v2_eci.icc 
> colo-imp-sgrey-v4.icc        colo-imp-srgb-v2-magic.icc
> 
> All names start with colo-...
> 
> But in colorprofiles.xml all these names are missing.
> 
> Sorry, but I am quite confused.

what is a minimal test

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [NTG-context] Re: Color Profile ISO Coated v2 300% (ECI) not found anymore
       [not found]       ` <11e61a0a-abba-431b-bd6f-2e2270150f93@gmx.es>
@ 2025-06-14  8:02         ` Hans Hagen via ntg-context
  0 siblings, 0 replies; 11+ messages in thread
From: Hans Hagen via ntg-context @ 2025-06-14  8:02 UTC (permalink / raw)
  To: Pablo Rodriguez via ntg-context; +Cc: Hans Hagen

On 6/13/2025 4:00 PM, Pablo Rodriguez via ntg-context wrote:

> Well, what is missing is the `colo-imp-` prefix to the file names (as
> far as I can remember).

We could strip the prefix when checking ... do you have a test that 
exposes this issue?

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2025-06-14  8:07 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-06-03  9:41 [NTG-context] Color Profile ISO Coated v2 300% (ECI) not found anymore juh+ntg-context--- via ntg-context
2025-06-03 15:36 ` [NTG-context] " Pablo Rodriguez via ntg-context
     [not found]   ` <599898e9-b7f3-4392-9048-c255d09eea54@mailbox.org>
2025-06-04 15:14     ` Pablo Rodriguez via ntg-context
     [not found]       ` <f75be92d-ea28-422f-9d9c-d3a9085df3f7@freedom.nl>
     [not found]         ` <265a4a72-c488-4b37-bb79-dc01bcda553e@gmx.es>
     [not found]           ` <e51a4f61-e8dd-481c-99da-a46f5925215f@mailbox.org>
2025-06-09 20:38             ` Hans Hagen via ntg-context
     [not found] ` <1ecaf1310c1300d307735f1758bf99a5399c8423.camel@maxchernoff.ca>
2025-06-11 12:48   ` Hans Hagen
2025-06-12 21:12     ` juh+ntg-context--- via ntg-context
2025-06-13  9:27       ` Hans Hagen via ntg-context
     [not found]       ` <11e61a0a-abba-431b-bd6f-2e2270150f93@gmx.es>
2025-06-14  8:02         ` Hans Hagen via ntg-context
2025-06-11 14:05   ` Pablo Rodriguez via ntg-context
2025-06-11 17:56     ` Hans Hagen via ntg-context
2025-06-12  4:38       ` Pablo Rodriguez via ntg-context

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).