Am 20.07.22 um 09:47 schrieb Taco Hoekwater:
Ok, I can access the wiki via Tor and found

\somenamedheadnumber{chapter}{current}
\somenamedheadnumber{chapter}{last}

These are expandable

\someheadnumber[chapter][current]
\someheadnumber[chapter][last]

These are not


\definecolor[MyChapterColor][h={\the\numexpr 
360*\somenamedheadnumber{chapter}{current}/\somenamedheadnumber{chapter}{last}\relax},s=1,v=1]

Thank you!

It’s now in https://wiki.contextgarden.net/Command/somenamedheadnumber

Hraban

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

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

Reply via email to