From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/88824 Path: news.gmane.org!not-for-mail From: Rik Kabel Newsgroups: gmane.comp.tex.context Subject: Re: authors in the toc Date: Thu, 02 Oct 2014 13:42:27 -0400 Message-ID: <542D8E83.6020103@rik.users.panix.com> References: <7157117C-6049-46B1-8B35-D8C86357D78E@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1510792298==" X-Trace: ger.gmane.org 1412271799 2991 80.91.229.3 (2 Oct 2014 17:43:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 2 Oct 2014 17:43:19 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Thu Oct 02 19:43:14 2014 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 1XZkPJ-0005bh-E6 for gctc-ntg-context-518@m.gmane.org; Thu, 02 Oct 2014 19:43:13 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D907710236 for ; Thu, 2 Oct 2014 19:43:12 +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 3Nmg6Cn202RW for ; Thu, 2 Oct 2014 19:43:11 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 1D5A810242 for ; Thu, 2 Oct 2014 19:42:47 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E3F4410209 for ; Thu, 2 Oct 2014 19:42:42 +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 PCf8ug3ROKGU for ; Thu, 2 Oct 2014 19:42:41 +0200 (CEST) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id DDDCB101EC for ; Thu, 2 Oct 2014 19:42:41 +0200 (CEST) Original-Received: from mailbackend.panix.com (mailbackend.panix.com [166.84.1.89]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s92Hgdfg021557 for ; Thu, 2 Oct 2014 19:42:40 +0200 Original-Received: from [192.168.201.10] (cpe-67-240-55-150.nycap.res.rr.com [67.240.55.150]) by mailbackend.panix.com (Postfix) with ESMTP id B7C052E691 for ; Thu, 2 Oct 2014 13:42:38 -0400 (EDT) User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.1.2 In-Reply-To: <7157117C-6049-46B1-8B35-D8C86357D78E@gmail.com> 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: 0QMWhGDoL - 4dcafbea07ec - 20141002 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 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:88824 Archived-At: This is a multi-part message in MIME format. --===============1510792298== Content-Type: multipart/alternative; boundary="------------030708050000000902020207" This is a multi-part message in MIME format. --------------030708050000000902020207 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit On 2014-10-02 05:18, Wolfgang Schuster wrote: > There is a example on the wiki. You have 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 \structurelistuservariable command. > > http://wiki.contextgarden.net/Generate_Authorlist_from_Head_Content > > 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. 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.) -- Rik Kabel --------------030708050000000902020207 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
On 2014-10-02 05:18, Wolfgang Schuster wrote:
There is a example on the wiki. You have 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\structurelistuservariable 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.

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.)

--
Rik Kabel



--------------030708050000000902020207-- --===============1510792298== 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= --===============1510792298==--