Am 05.07.2025 um 00:36 schrieb jbf:
The very latest ConTeXt update appears to have resolved any previous
issues I was having with color profiles. My log file now reads, as I
hoped it would>
backend > profiles > profile specification 'Coated FOGRA39 (ISO
12647-2:2004)' loaded from '/home/julian/data/context/tex/texmf-context/
colors/icc/context/colorprofiles.xml' backend > profiles >
setting 'CoatedFOGRA39.icc' as default 'cmyk' color space
backend > profiles > setting output intent to 'Coated FOGRA39
(ISO 12647-2:2004)' with id 'FOGRA39' for entry 1
Thank you!
There is a new warning in the log file that I have not seen before
(nothing to do with the above). Could someone explain its significance
to me? I assume I don't really need to bother about it but I'd like to
understand it.
csname overload > warning, protection level 3, control sequence
'newcontextversion', properties 'permanent protected', file '/home/
julian/data/context/tex/texmf-context/tex/context/base/mkxl/cont-
new.mkxl', line 16
(Line 16, BTW is simply \setuplayout )
It repeats a few times in different ways, e.g.
csname overload > warning, protection level 3, control sequence
'starttitle', properties 'frozen instance protected', file './
prd_Gering30-06-25.tex', line 285
Context has a mechanism to report when you redefine a command and in the
last update Hans just activated the warning mode.
In the following example I create two commands at the begin of the
document, which are redefined afterwards. The first command is reported
in the log file while the second is because I told Context overloading
is allowed, which can be done with \pushoverloadmode ... \popoverloadmode.
When you set overloadmode to error (uncomment the first line in the
example or use --overloadmode=error on the command line) Context stops
and throws an error when a command is redefined.
While you can ignore the mention of \newcontextversion (something Hans
should put in overloadmode) you should take a look at the \starttitle
warning.
%%%% begin example
%\enabledirectives[overloadmode=error]
\definehighlight [Important] [style=bold]
\definehighlight [Unimportant] [style=italic]
\starttext
\Important {Dummy text}
\Unimportant{Dummy text}
\definehighlight [Important] [color=red]
\pushoverloadmode
\definehighlight [Unimportant] [color=green]
\popoverloadmode
\Important {Dummy text}
\Unimportant{Dummy text}
\stoptext
%%%% end example
Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] /
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
___________________________________________________________________________________