ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* configure descriptions in place
@ 2010-06-18  9:04 Yury G. Kudryashov
  0 siblings, 0 replies; only message in thread
From: Yury G. Kudryashov @ 2010-06-18  9:04 UTC (permalink / raw)
  To: ntg-context

Hi!

I have some lemmas with title, others without titles; some theorems should 
be numbered, others (e.g. cites from other articles) shouldn't. Is there any 
way to achieve this except for the following?

\defineenumeration[theorem][...]
\defineenumeration[exttheorem][theorem][number=no]

What do you think about the following syntax:

\definedescription[mydesc]

And after that

\startmydesc[label]
\stopmydesc

or

\startmydesc[title=yes][label]{md:a}
\stopmydesc

I think that it should not be hard to implement using \doifassignment, but I 
don't want to work on the patch that will be never accepted upstream.

P.S.: What about my patch for strc-ref that fixes 
\definereferenceformat[inlem][text=Lemma] ignoring text=?

___________________________________________________________________________________
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
___________________________________________________________________________________


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

only message in thread, other threads:[~2010-06-18  9:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-18  9:04 configure descriptions in place Yury G. Kudryashov

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).