[NTG-context] authors in the toc

Rik Kabel context at rik.users.panix.com
Sat Apr 11 18:02:32 CEST 2015


On 2015-04-11 03:27, Wolfgang Schuster wrote:
>
>> Am 10.04.2015 um 19:33 schrieb Rik Kabel <context at rik.users.panix.com 
>> <mailto:context at 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 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.)
>
> You have to expand the whole content of the sort entry with
>
>   \expanded{\author[…]{…}}
>
> Wolfgang

Thank you for the fix. Wiki updated.

-- 
Rik
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20150411/5d445998/attachment-0001.html>


More information about the ntg-context mailing list