I’d suggest to use something like (untested) \startsubject[title={The Lord’s my Shepherd}][biblepart={Hymn 387}] and \setuphead[subject][command=\MyBibleSection] \define[2]\MyBibleSection{{\bf #1}\hfill{\it\structureuservariable{biblepart}}} You’d need to setup your ToC useing \structurelistuservariable, similar to https://wiki.contextgarden.net/Generate_Authorlist_from_Head_Content Greetlings, Hraban --- https://www.fiee.net http://wiki.contextgarden.net https://www.dreiviertelhaus.de GPG Key ID 1C9B22FD
Am 2019-11-04 um 22:07 schrieb Calum MacLeod
: In the body of document, I often have a heading such as this:
\subject{{\bf Hymn 387} \hfill {\it The Lord's my Shepherd}}
When it arrives in the Table of Contents, the bold and italic have been stripped off.
My question is: How do I copy to ToC the formatting as well as the content of the text?
I would be grateful for an answer, or to be pointed to where I could learn more.
Thanks in advance, Calum MacLeod ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________