This morning, I realised what I needed to do, and it works.

Before \starttext put:

\define[2]\hymn{\bf Hymn #1 \hspace[big] \it #2}\par}

After \starttext put stuff like

\hymn{34}{We three kings}

or

\hymn{10}{In the bleak midwinter}

etc.

This does near enough what I am after: creates a template style command,
and replicates formatting in toc.

No doubt, there might be tweaks or even cleverer ways to improve on my
efforts.

Thanks to all who took the trouble to read, and consider; and especially
Hraban, who took the trouble to offer a suggestion, which inspired me to
think more clearly.

Thanks,
Calum
___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to