Hi Wolfgang,

On Sat, Sep  9, 2023 at 23:12 (+0200), Wolfgang Schuster wrote:

> Jim schrieb am 09.09.2023 um 22:34:
>> Wolfgang,

>> thanks very much for your help.  As a long-time plain TeX user, but a
>> ConTeXt n00b, that would have taken me a long time to figure out.

>> Having said that (and not to be ungrateful), for both of your examples
>> below, in my tests only the subsubject shows up in the contents. I tried
>> this both with the context distribution (updated a few minutes ago) and
>> with the version that is in texlive (also updated a few minutes ago).  Do
>> all three items show up in your contents listing?

> Hi Jim,

> both examples worked for me without problems and even the online compiler
> on the wiki produces the expected result.  Are you sure all 3 \setuphead
> lines are in your document?

Argh.  Mea culpa.

My mail program did not show me that your first answer had non-breakable
spaces after '[title]' and '[subject]' (but not after '[subsubject]').  And
I quickly copied and pasted those into a file without checking the
character set.  Replacing those with ASCII spaces makes everything work
nicely, thanks very much.

Amusingly (sort of), there was a bun-fight on the texhax mailing list
recently when someone's message came across with non-breakable spaces in
it, causing the recipient to complain that something didn't work, when the
originator vehemently asserted that it did.  (I was neither of those two
people, although I did help the originator trace where the nbsp's got into
his message.)  It's like deja vu all over again.

Did you insert your helpful solution into the wiki somewhere, or just test
them in the wiki compiler?  I just reloaded
https://wiki.contextgarden.net/index.php?title=Titles&mobileaction=toggle_view_desktop#Unnumbered_titles_in_table_of_contents
and don't see your code there, but since yours does work and those
(apparently) do not work, it would be nice to have your code there.

Cheers.

                                Jim
___________________________________________________________________________________
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