ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Yury G. Kudryashov" <urkud@ya.ru>
To: ntg-context@ntg.nl
Subject: configure descriptions in place
Date: Fri, 18 Jun 2010 13:04:51 +0400	[thread overview]
Message-ID: <hvfcrk$24s$1@dough.gmane.org> (raw)

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
___________________________________________________________________________________


                 reply	other threads:[~2010-06-18  9:04 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='hvfcrk$24s$1@dough.gmane.org' \
    --to=urkud@ya.ru \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).