On Wed, 7 Oct 2020 at 15:04, Pablo Rodriguez <oinos@gmx.es> wrote:
On 10/7/20 1:28 PM, Jano Kula wrote:
> Hello to everybody!
>
> I have a similar problem as Tomas two days ago. When inserting bookmarks
> from XML the reference to the node is stored in TUC file
>
>   ["titledata"]={
>    ["label"]="section",
>    ["title"]="\\xmlatt {xml:name::4}{title}"
>
> and this reference ends up in bookmarks. Any advice on how to change it
> to text in bookmarks?

Hi Jano,

I think I had a similar problem.

You may try:

  \setuphead
    [section]
    [expansion=yes]

As I reported before "expansion=xml" was problematic for me (but it may
work for you, if "expansion=yes" doesn’t).

Just in case it helps,

Pablo
http://www.ousia.tk

Hi Pablo,

That's likely the problem of Tomas, too: when and how to do the expansion (his use case is different). Thank you, problem solved and wikified.

Jano