
Pablo, let me respond to each of the items below: 1. The logfile result, using your example below produces: backend > profiles > profile specification 'Coated FOGRA39 (ISO 12647-2:2004)' loaded from '/home/julian/bin/context/tex/texmf-context/colors/icc/context/colorprofiles.xml' backend > profiles > omitting reference to profile for intent 'Coated FOGRA39 (ISO 12647-2:2004)' So I assume that my difficulty initially was to omit the curly brackets, or that I placed an abbreviated statement, just Coated FOGRA39. I do not know why the log then tells me 'omitting reference to...', but perhaps this is not a problem. Or maybe the problem was that I thought I did not also need to include (ISO 1267-2:2004). I thought that was simply a descriptor and not necessary. So perhaps I needed to complete the whole statement, namely {Coated FOGRA39 (ISO 12647-2:2004)}. 2. Are you also saying that {ISO Coated v2 etc.} is exactly the same? 3. Yes https://wiki.contextgarden.net/Input_and_compilation/PDF/PDFX is the link. 4. Be assured that the 2022 version is LMTX and that it has worked without difficulty for me. I also have a most recent version sitting on the computer, but until I am sure that I have resolved this 'intent' issue, I do not want to switch. To be honest, I have looked in the 'profiles' folder of the latest version and I did not see the Coated FOGRA39 file. Hence my hesitation. The folder contains eight *.icc profile files, none of them FOGRA. (but see further on in 5. below) 5. I will have to read your comments more carefully about my downloaded file (if indeed I now still need it, perhaps not) so I can understand what you have said. I am a Linux user. My basic problem may well be a very poor understanding of this whole colorprofile issue and how it works. For example, I have told you that I see just 8 color profile files in the 'profile' folder, but of course I did not look at the colorprofile.xml file (in the color folder), and now that I look at the colorprofile.xml file, I see my FOGRA39 profile mentioned between lines 207-2015. Indeed, looking at the colorprofile.lua, I see that it is precisely this intent that is there as an example. Yes, I understand what you are saying about minimal examples, so sorry that I did not give you the exact intent line in my code. I have now set them up as you have indicated in your example, with the log file result that I have shown you in no. 1 above. It would seem to have resolved my problem, other than the fact that I don't understand the implications when its says 'omitting reference to profile for intent...'. Does that mean that the whole things wasn't really all that important in the first place?? You are a very patient person, Pablo, and I am grateful for that! I will send the PDF file from this to the printers and assume that all is well! Julian On 15/6/25 17:48, Pablo Rodriguez via ntg-context wrote:
On 6/15/25 03:30, jbf wrote:
I know I have raised this before, but I continue to be confused. I spoke with our printer dept and they told me I need to use Coated FOGRA39 (ISO 12647-2:2004) as intent. Hi Julian,
according to `colorprofiles.xml` (from the oldest standalone I have, from 2023.01.04 11:35), this should include your intent:
\setupbackend[ format=PDF/X-1a:2001, intent={Coated FOGRA39 (ISO 12647-2:2004)}, %intent={ISO Coated v2 300\letterpercent\space (ECI)}, ] \starttext \null \stoptext
BTW, the added intent is also FOGRA39 (see description in `colorprofiles.xml`).
1. I checked the wiki and it tells me that Predefined output intents includes the above intent. Is https://wiki.contextgarden.net/Input_and_compilation/PDF/PDFX the link?
But my log file tells me:
backend > profiles > profile specification 'Coated FOGRA39' not found in 'colorprofiles.xml, colorprofiles.lua'. (I am using ConTeXt ver: 2022.08.25) Check the sample above and always include a minimal sample that shows your problem (otherwise even samples provided to you may not show the issue you are facing).
But I guess (from what I read in your error message) is that you may need to replace `intent={Coated FOGRA39}` with `intent={Coated FOGRA39 (ISO 12647-2:2004)}`.
Just as a comment, almost three years ago feels like ancient in ConTeXt releases. (I mean, without checking, I cannot tell for sure that LMTX was available back then [sorry, I won’t check that].)
2. I checked on the internet re colorprofile files and it tells me that I can download Coated_Fogra39L_VIGC_300.icc as an icc version that is commonly used by Adobe and I feel sure it would be sufficient for my printer's purposes. I placed it where the other profile files are located in the ConTeXt tree /context/tex/texmf-context/colors/icc/profiles This works (I have to do it myself), as long as:
1. You may place the .icc file in %USERPROFILE%/texmf/texmf-local/ (using Windwos or $HOME/texmf/texmf-local/ in Unix [Linux or macOS]).
2. You need to rename it (or make a symlink, as you prefer) to `CoatedFOGRA39.icc`, since this is the name contained in `colorprofiles.xml`.
3. You need to set you `intent` value to `Coated FOGRA39 (ISO 12647-2:2004)` (as `colorprofiles.xml` expects).
4. It worked for me (using $HOME/texmf/), but new files in the main tree may require erasing the cache and regenerating it again (`mtxrun --script cache --erase && mtxrun --generate`).
Of course, if this doesn’t work for you, please provide a minimal sample and the error message.
3. It is still not recognised, but perhaps I have to run a command for that to happen. No, you need to set the right values for the `\setupbackend` command (as for any other ConTeXt command).
My question(s):
- is my procedure correct? In other words, can I place such a file in the profiles subfolder and expect it to work? If you allow me, maybe you chain of thought needs some adjustments (in the details, where many bugs and issues live), but your expectations might have been set too high.
If a file name is used to embed a file, they have to be exactly the same (in Unix, even with case distinction [macOS may be fuzzy here]).
The same applies for intent names. (Yesterday, we found out that a profile wasn’t being loaded because of a missing comma after the closing parenthesis [“it’s in the details”].)
It isn’t a mantra, please provide a minimal sample which displays the issue you are facing. Again, this increases the probability of getting a reply. You may also have the issue with your own code or it may be that only that code hits a bug in ConTeXt.
I hope 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 ___________________________________________________________________________________