On 10/7/20 5:06 PM, Tomas Hala wrote:
Hi,
I tried \setuphead[section][expansion=yes] with no effect before I wrote my question to the list here.
With the \setuphead, the .tuc file still contains macro names instead of the text: ["title"]="\\expanded \\name ", whereas without it only: ["title"]=" \\name ",
So is there any way how to solve it?
Sorry, Tomáš, for not giving a reply to you. I noticed that your case didn’t work with my approach. But the problem is different in that case, I think (Wolfgang may correct me [or explain this better]). Expansion in list and bookmarks seems to be different: \setupinteraction[state=start] \setupinteractionscreen[option=bookmarks] \placebookmarks[section][section] \setuphead[title][page=no] \starttext %~ \placelist[section] % this doesn’t work \def\name{aa} \placelist[section] \startsection[title=\name, list=\expanded\name] \stopsection \def\name{bb} \startsection[title=\name, list=\expanded\name] \stopsection \completecontent \stoptext I’m afraid I don’t know why. Sorry not helping, Pablo -- http://www.ousia.tk