From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/108925 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jano Kula Newsgroups: gmane.comp.tex.context Subject: Re: xml bookmarks Date: Wed, 7 Oct 2020 16:36:48 +0200 Message-ID: References: <2e85196a-bfd1-219c-b810-ec11cb034358@gmx.es> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3947120497682087697==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21984"; mail-complaints-to="usenet@ciao.gmane.io" To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Oct 07 16:37:57 2020 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kQAZn-0005cH-Hu for gctc-ntg-context-518@m.gmane-mx.org; Wed, 07 Oct 2020 16:37:55 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id DE0151A9453; Wed, 7 Oct 2020 16:37:29 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZwFAXacbZg08; Wed, 7 Oct 2020 16:37:28 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 460441A9455; Wed, 7 Oct 2020 16:37:28 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 284121A944D for ; Wed, 7 Oct 2020 16:37:27 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EL9HxDN7wQRU for ; Wed, 7 Oct 2020 16:37:26 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.167.169; helo=mail-oi1-f169.google.com; envelope-from=jano.kula@gmail.com; receiver= Original-Received: from mail-oi1-f169.google.com (mail-oi1-f169.google.com [209.85.167.169]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 195451A9414 for ; Wed, 7 Oct 2020 16:37:25 +0200 (CEST) Original-Received: by mail-oi1-f169.google.com with SMTP id 16so2634904oix.9 for ; Wed, 07 Oct 2020 07:37:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=iZ0ujU7qj7LFY8yhJtxlUn87kz6ETu0p2ExxGwaQVWY=; b=nw1lq3Y/bbsjJgCfrzIpQ919tYWuonhhSNrQ8Rrd/LnGgjGO2w4u0JWXfWESUpRFEJ uHB/Op0aPuRGseQOLixwyKIS9zDdByLtxFGiS3AMegRlGdJazKJC+ZaUsoI9OyUbEApF BkEJXUquS+JNuquH2aK0r8qVYdK7F53gJzK8pDhQbwXoihV5XOwRfA7x7ebb/lAmhffy hLK52Z8gDQsguMuJT5HxhLzWQcgiIzRNgoxtqom6CiQXeM0xryJRT/qYhULx28/FvhRI uFPkBQTn5DAjqMYlBqD2AlfiWc/EeIfnb129RFgwmaY0ZdIMMUYxmqNNOHo//83v1ArQ QgIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=iZ0ujU7qj7LFY8yhJtxlUn87kz6ETu0p2ExxGwaQVWY=; b=RLneRWREJcPGmfLLPqv0uewP5DuRgOWmKNeQFK8TP96nsHfMn/v1Mn4jbKgakjLnU8 XviJeT2PX7I2tUKDLWrz6hWf/7Cka8uSDaMNajVnNBtHB4/KUFMTR1NtuzMyPP/Uw5jK zrW647aSTJTaCx6wyQB5uz16/mx8vpBAX/d/cJ/+V2jAgzmZ3vMJvkH2Rmd1EIsJ0dGx jhTRYaCZn3a+y0tDa7F/GFynOS56Vj5oU2MC7iXue0V1Wub6SZbDP5Q+6g/Jco78DraE M8yHVfbzQkleD+VDEDjbzM8FO70gjWAVVDggA7GRRCTfNJuBmU0f9EEKIgzlkzKC4CoV t37Q== X-Gm-Message-State: AOAM5327JYBtNNXpExv49jUvyv3pSxfMdrgshCRF5xYGk1uMaZktFnuH i7+QYlzzd3AmrVJEvl/yxv+Ccudfa9qM2dl84zIq/V9QUaQ= X-Google-Smtp-Source: ABdhPJyNwrmjjyRpDaJmf3iT1YWM8AzN0ecDvIV0/B0m4eEK2F8FnfUJlYHKiKxxUD7T2mxSV8+ljZYi76omj5Hr2tc= X-Received: by 2002:aca:d648:: with SMTP id n69mr758475oig.178.1602081444022; Wed, 07 Oct 2020 07:37:24 -0700 (PDT) In-Reply-To: <2e85196a-bfd1-219c-b810-ec11cb034358@gmx.es> X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.io gmane.comp.tex.context:108925 Archived-At: --===============3947120497682087697== Content-Type: multipart/alternative; boundary="0000000000005f4e7705b115a73e" --0000000000005f4e7705b115a73e Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, 7 Oct 2020 at 15:04, Pablo Rodriguez 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 bookmark= s > > from XML the reference to the node is stored in TUC file > > > > ["titledata"]=3D{ > > ["label"]=3D"section", > > ["title"]=3D"\\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=3Dyes] > > As I reported before "expansion=3Dxml" was problematic for me (but it may > work for you, if "expansion=3Dyes" doesn=E2=80=99t). > > 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 --0000000000005f4e7705b115a73e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
On Wed, 7 Oct 2020 at 15:04, Pablo Ro= driguez <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 bookmar= ks
> from XML the reference to the node is stored in TUC file
>
> =C2=A0 ["titledata"]=3D{
> =C2=A0 =C2=A0["label"]=3D"section",
> =C2=A0 =C2=A0["title"]=3D"\\xmlatt {xml:name::4}{title}= "
>
> and this reference ends up in bookmarks. Any advice on how to change i= t
> to text in bookmarks?

Hi Jano,

I think I had a similar problem.

You may try:

=C2=A0 \setuphead
=C2=A0 =C2=A0 [section]
=C2=A0 =C2=A0 [expansion=3Dyes]

As I reported before "expansion=3Dxml" was problematic for me (bu= t it may
work for you, if "expansion=3Dyes" doesn=E2=80=99t).

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,=C2=A0problem solved and= =C2=A0wik= ified.

Jano

--0000000000005f4e7705b115a73e-- --===============3947120497682087697== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============3947120497682087697==--