On 2015-04-11 03:27, Wolfgang Schuster wrote:

Am 10.04.2015 um 19:33 schrieb Rik Kabel <cont...@rik.users.panix.com <mailto:cont...@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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to