From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/90990 Path: news.gmane.org!not-for-mail From: Rik Kabel Newsgroups: gmane.comp.tex.context Subject: Re: authors in the toc Date: Sat, 11 Apr 2015 12:02:32 -0400 Message-ID: <55294598.5010509@rik.users.panix.com> References: <7157117C-6049-46B1-8B35-D8C86357D78E@gmail.com> <542D8E83.6020103@rik.users.panix.com> <5528095C.90006@rik.users.panix.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0347875668==" X-Trace: ger.gmane.org 1428768206 22037 80.91.229.3 (11 Apr 2015 16:03:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 11 Apr 2015 16:03:26 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Sat Apr 11 18:03:13 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 1YgxsF-0004je-KI for gctc-ntg-context-518@m.gmane.org; Sat, 11 Apr 2015 18:03:11 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E449C104A6 for ; Sat, 11 Apr 2015 18:03:10 +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 cCo1nXOcOE2T for ; Sat, 11 Apr 2015 18:03:09 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 92771101F9 for ; Sat, 11 Apr 2015 18:02:44 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 86398101FC for ; Sat, 11 Apr 2015 18:02:40 +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 UJpxYwqeTuHM for ; Sat, 11 Apr 2015 18:02:39 +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 7B926101F9 for ; Sat, 11 Apr 2015 18:02:39 +0200 (CEST) Original-Received: from mailbackend.panix.com (mailbackend.panix.com [166.84.1.89]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id t3BG2bcE006609 for ; Sat, 11 Apr 2015 18:02:38 +0200 Original-Received: from [192.168.201.10] (cpe-67-240-48-174.nycap.res.rr.com [67.240.48.174]) by mailbackend.panix.com (Postfix) with ESMTPSA id C3EE513B93 for ; Sat, 11 Apr 2015 12:02:35 -0400 (EDT) User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=166.84.1.89; country=US; region=New York; city=New York; latitude=40.7553; longitude=-73.9924; http://maps.google.com/maps?q=40.7553,-73.9924&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 03OeE2B1D - cacb39d608c3 - 20150411 Received-SPF: pass (filter3-ams.mf.surf.net: domain of context@rik.users.panix.com designates 166.84.1.89 as permitted sender) receiver=filter3-ams.mf.surf.net; client-ip=166.84.1.89; envelope-from=; helo=mailbackend.panix.com; identity=mailfrom X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.71 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:90990 Archived-At: This is a multi-part message in MIME format. --===============0347875668== Content-Type: multipart/alternative; boundary="------------040000060206020009090804" This is a multi-part message in MIME format. --------------040000060206020009090804 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable On 2015-04-11 03:27, Wolfgang Schuster wrote: > >> Am 10.04.2015 um 19:33 schrieb Rik Kabel > >: >> >> Another bump. The example on the wiki still fails. >> >> On 2014-10-02 13:42, Rik Kabel wrote: >>> On 2014-10-02 05:18, Wolfgang Schuster wrote: >>>> There is a example on the wiki. You have to set your own values=20 >>>> with the second argument of the \startchapter etc. command, to=20 >>>> display the entry in the roc you have to write your own layout=20 >>>> where you access it with the \structurelistuservariable command. >>>> >>>> http://wiki.contextgarden.net/Generate_Authorlist_from_Head_Content >>>> >>>> Wolfgang >>>> >>> This example fails for me using the current (2014-09-27) standalone=20 >>> beta and with TL14. The failure is that the list of authors is=20 >>> presented as a grid without contents. >>> >>> Changing any of the lines in the example that construct the table=20 >>> cells, such as >>> >>> \bTD \structureuservariable{author} \eTD >>> >>> to >>> >>> \bTD xx \structureuservariable{author} \eTD >>> >>> results in a table with the new text, but no user variable text,=20 >>> showing that the \structureuservariable commands are not returning=20 >>> any text in this example. >>> >>> Has something relevant changed since the example was prepared=20 >>> (2010-11 or earlier)? >>> >>> (A pointer to useful descriptions of \structureuservariable and=20 >>> \structurelistuservariable would also be welcome. In the wiki, the=20 >>> startsection command description describes the former, but I have=20 >>> come across no comprehensive description for either in the=20 >>> documentation.) > > You have to expand the whole content of the sort entry with > > \expanded{\author[=E2=80=A6]{=E2=80=A6}} > > Wolfgang Thank you for the fix. Wiki updated. --=20 Rik --------------040000060206020009090804 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
On 2015-04-11 03:27, Wolfgang Schuster wrote:

Am 10.04.2015 um 19:33 schrieb Rik Kabel <cont= ext@rik.users.panix.com>:

Another bump. The example on the wiki still fails.

On 2014-10-02 13:42, Rik Kabel wrote:
On 2014-10-02 05:18, Wolfgang Schuster wrote:
There is a example on the wiki. You hav= e to set your own values with the second argument of the \startchapter etc. command, to display the entry in the roc you have to write your own layout where you access it with the=C2=A0\structurelistuservariabl= e command.


Wolfgang

This example fails for me using the current (2014-09-27) standalone beta and with TL14. The failure is that the list of authors is presented as a grid without contents.<= br class=3D"">
Changing any of the lines in the example that construct the table cells, such as
\bTD \structureuservariable{author} \eTD
to
\bTD xx \structureuservariable{author} \eTD
results in a table with the new text, but no user variable text, showing that the \structureuservariable commands are not returning any text in this example.

Has something relevant changed since the example was prepared (2010-11 or earlier)?

(A pointer to useful descriptions of \structureuservariable and \structurelistuservariable would also be welcome. In the wiki, the startsection command description describes the former, but I have come across no comprehensive description for either in the documentation.)

You have to expand the whole content of the sort entry with

=C2=A0 \expanded{\author[=E2=80=A6]{=E2=80=A6}}

Wolfgang

Thank you for the fix. Wiki updated.

--
Rik
--------------040000060206020009090804-- --===============0347875668== 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= --===============0347875668==--