On Sat, Dec 19, 2020 at 10:43 PM Christoph Reller <
christoph.rel...@gmail.com> wrote:

> Hans Hagen <j.ha...@xs4all.nl> schrieb am Sa., 19. Dez. 2020, 19:16:
>
>> Actually, what you want is:
>>
>> \definedescription[desc]
>> \starttext
>>      \startdesc[title={Long title},reference=foo,referencetext={Short
>> Title}]
>>          \input jojomayer
>>      \stopdesc
>>      \about[foo]
>> \stoptext
>>
>> So I'll add that (after all, occasionally we need to add some
>> functionality in order to indicate progress.)
>
>
> Great! That would be a good solution for me.
> Thanks,
> Christoph
>

Thank you for the implementation, Hans!

 A small issue: When omitting the referencetext, then the shown text is now
something like "248>desc:referencetext".

MWE:
\definedescription[desc]
\starttext
\startdesc[title=Long title, reference=foo]%, referencetext=Short title]
  \input jojomayer
\stopdesc
\about[foo]
\stoptext

For backward compatibility, it might be better to use the title as a
default for the reference test.

Cheers,
Christoph
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to