ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* How to put descriptionheads into the index?
@ 2008-09-15 19:08 Holzminister
  0 siblings, 0 replies; only message in thread
From: Holzminister @ 2008-09-15 19:08 UTC (permalink / raw)
  To: ntg-context

Hi!

Let's assume I have a description like the one in the wiki:

>>>
\startdescr{Para}
  This is a shorter item label, and some text that talks about it.
  The text is wrapped into a paragraph, with successive lines indented.
\stopdescr
>>>

Now I want to have "Para" in my index. I tried something like

>>>
\definedescription[descr][
  command={\index{#1}}]
>>>

But that puts only a "descr" into the index. Is there another automated
way to achieve my wanted effect?


Thanks in advance,
Eyke
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-09-15 19:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-15 19:08 How to put descriptionheads into the index? Holzminister

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).