[NTG-context] Switch number and enumeration text

2024-05-03 Thread Jethro Djan
Dear List, I would like to get something like: 1.1 Theorem instead of Theorem 1.1. Seems simple enough but can't figure out how to switch the number and the text. I have the following MWE: \defineenumeration[theorem][ prefix=chapter, text=Theorem, style=italic, headstyle=bold,

[NTG-context] Re: more register questions!

2024-05-03 Thread Thomas A. Schmitz
Hi Wolfgang, powerful and elegant, as always! I think I have a solution with xml; I will have to test it more extensively with my complex real file; but here comes, also for Hraban (if it works in real life, I'll add it to the wiki...). Thanks a lot! Thomas \startbuffer[test]

[NTG-context] regular online meet-up

2024-05-03 Thread Henning Hraban Ramm
You’re invited to our regular online meet-up, this upcoming Wednesday, May 8th, 19:00 CEST (UTC+2!) at https://lecture.senfcall.de/hen-rbr-rku-oke (same, but shorter: https://u.mtxrun.eu/ctxmtg) ConTeXt users of all levels are welcome! Do you have a subject that you’d like to talk about? I’m

[NTG-context] Re: more register questions!

2024-05-03 Thread Henning Hraban Ramm
Am 03.05.24 um 22:24 schrieb Thomas A. Schmitz: Hi Massi, yes, that was a very good idea! I can detect if the element occurs within a footnote by testing \xmldoiftext {#1} {ancestor::footnote} and then apply a processor to these entries. That would be a good solution for the time being.

[NTG-context] Re: more register questions!

2024-05-03 Thread Thomas A. Schmitz
Hi Massi, yes, that was a very good idea! I can detect if the element occurs within a footnote by testing \xmldoiftext {#1} {ancestor::footnote} and then apply a processor to these entries. That would be a good solution for the time being. Thanks and all best Thomas On 5/2/24 17:55, mf

[NTG-context] Re: more register questions!

2024-05-03 Thread Wolfgang Schuster
Thomas A. Schmitz schrieb am 02.05.2024 um 17:01: Hi, making wonderful progress on my registers and translating from xml. There is one thing I can't figure out (and I or some other good soul may have asked in the past...). Is it possible to mark occurrences in footnotes? Ideally, the entry