From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/91863 Path: news.gmane.org!not-for-mail From: Christoph Reller Newsgroups: gmane.comp.tex.context Subject: Expansion in bookmarks Date: Wed, 8 Jul 2015 16:18:13 +0200 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2113155476==" X-Trace: ger.gmane.org 1436365270 6056 80.91.229.3 (8 Jul 2015 14:21:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 8 Jul 2015 14:21:10 +0000 (UTC) To: ntg-context Original-X-From: ntg-context-bounces@ntg.nl Wed Jul 08 16:20:54 2015 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZCqDW-0003IS-Lw for gctc-ntg-context-518@m.gmane.org; Wed, 08 Jul 2015 16:20:54 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C18D110203 for ; Wed, 8 Jul 2015 16:20:52 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id FA5YurmCwjSo for ; Wed, 8 Jul 2015 16:20:51 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 209811027B for ; Wed, 8 Jul 2015 16:20:13 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D5C40101FB for ; Wed, 8 Jul 2015 16:20:07 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id kzJRXlorZIYZ for ; Wed, 8 Jul 2015 16:20:07 +0200 (CEST) Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net [192.87.102.71]) by balder.ntg.nl (Postfix) with ESMTP id AAB58101FC for ; Wed, 8 Jul 2015 16:18:34 +0200 (CEST) Original-Received: from mail-wi0-x229.google.com (mail-wi0-x229.google.com [IPv6:2a00:1450:400c:c05::229]) by filter3-ams.mf.surf.net (8.14.4/8.14.4/Debian-4) with ESMTP id t68EIXp0024060 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NOT) for ; Wed, 8 Jul 2015 16:18:33 +0200 Original-Received: by widjy10 with SMTP id jy10so218595755wid.1 for ; Wed, 08 Jul 2015 07:18:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=YLZgzj9PAWObmtHQ2qAWOUEONlKbW8+NTS7xB7g15Fo=; b=jDb55QYAQr8mqkd7y8rMbTAvWwNs0IeU3J4KQk23I+sGhr21Yfz49O8pxljFB8y3UA fn0+MrSSEfMQEq+LyonL8RFK/euyy6dsebu+kuipnz4UyBQwkVQNx8V55AQkKsdw9+9L 6bj0CPXgdFq/ogffz0a88gzkShe57bcwYKze40/SspKQ/pl/h+GGAdn1elLUb8wNVlWR ivcv1V3FcSHLXjKO4J7XpvoV9kag43G0FOIy+xlFG2AXqCyrLIwewHoIHV/AfszGCsf8 M5UbIoqkps/EKv10vcJqj44SM/BVTiduZ4fxb2G9QjperkIE0k2AuxpXungPHQBhbeiL 7EQQ== X-Received: by 10.180.74.73 with SMTP id r9mr69112387wiv.84.1436365113288; Wed, 08 Jul 2015 07:18:33 -0700 (PDT) Original-Received: by 10.27.12.217 with HTTP; Wed, 8 Jul 2015 07:18:13 -0700 (PDT) X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2a00:1450:400c:c05::229; country=BE; region=Brussels Capital; city=Brussels; latitude=50.8466; longitude=4.3528; http://maps.google.com/maps?q=50.8466,4.3528&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 03ONOixAD - c12935446cd3 - 20150708 (trained as not-spam) Received-SPF: pass (filter3-ams.mf.surf.net: domain of christoph.reller@gmail.com designates 2a00:1450:400c:c05::229 as permitted sender) receiver=filter3-ams.mf.surf.net; client-ip=2a00:1450:400c:c05::229; envelope-from=; helo=mail-wi0-x229.google.com; identity=mailfrom X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 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.org gmane.comp.tex.context:91863 Archived-At: --===============2113155476== Content-Type: multipart/alternative; boundary=f46d043c7b8e586e8a051a5dd04e --f46d043c7b8e586e8a051a5dd04e Content-Type: text/plain; charset=UTF-8 Dear all! I want to define a command that is to be used in a section title. Also I want to use \autoinsertnextspace with this command. In the following MWE, why do \This and \AName not work, while \TEX does work? I appreciate any feedback, Christoph MWE: \setupinteraction[state=start] \setupinteractionscreen[option=bookmark] \placebookmarks[section][section] \def\What{This\autoinsertnextspace} \definesorting[Name] \setupsorting[Name][next=\autoinsertnextspace] \Name[AName]{Knuth} \usemodule[abr-01] \setupsorting[logo][next=\autoinsertnextspace] \starttext \startsection[title={\What is puzzling}]\stopsection \startsection[title={\AName is puzzling}]\stopsection \startsection[title={\TEX is puzzling}]\stopsection \stoptext --f46d043c7b8e586e8a051a5dd04e Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Dear all!

I want to define a command th= at is to be used in a section title. Also I want to use \autoinsertnextspac= e with this command. In the following MWE, why do \This and \AName not work= , while \TEX does work?

I appreciate any feedback,=
Christoph

MWE:

\setupinteraction[state=3Dstart]
\setupinteractionscreen[op= tion=3Dbookmark]
\placebookmarks[section][section]

=
\def\What{This\autoinsertnextspace}

\de= finesorting[Name]
\setupsorting[Name][next=3D\autoinsertnextspace= ]
\Name[AName]{Knuth}

\usemodule[abr-01]=
\setupsorting[logo][next=3D\autoinsertnextspace]

<= /div>
\starttext
\startsection[title=3D{\What is puzzling}]\s= topsection
\startsection[title=3D{\AName is puzzling}]\stopsectio= n
\startsection[title=3D{\TEX is puzzling}]\stopsection
\stoptext

--f46d043c7b8e586e8a051a5dd04e-- --===============2113155476== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============2113155476==--