[NTG-context] structureuservariable in ToC

Henning Hraban Ramm texml at fiee.net
Wed Jan 24 23:05:52 CET 2018


Am 2018-01-24 um 19:18 schrieb Wolfgang Schuster <schuster.wolfgang at gmail.com>:

>> Henning Hraban Ramm 24. Januar 2018 um 08:51
>> 
>> Thank you, now I have:
>> 
>> \define[1]\ChapterTocEntry{%
>> \doifnotempty{\structurelistuservariable{author}}{\structureuservariable{author}\crlf }%
>> #1%
>> \doifnotempty{\structurelistuservariable{subtitle}}{\crlf\structureuservariable{subtitle}}}
>> 
>> But author/subtitle still don’t show up in the ToC.
> Use the \doiftext check or replace \structurelistuservariable (which is never empty because
> it is tagged) with \rawstructurelistuservariable (which isn’t tagged and contains only the content
> of the variable).

Thank you so much! You saved my day/night/toc ;)


Grüßlinge, Hraban
---
http://www.fiee.net
http://wiki.contextgarden.net
GPG Key ID 1C9B22FD



More information about the ntg-context mailing list