
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