ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: David Antos <antos@ics.muni.cz>
Subject: Re: How to get a PhD with ConTeXt (+ hard work ;) )
Date: Mon, 6 Nov 2006 16:23:25 +0100	[thread overview]
Message-ID: <20061106152325.GA17960@erik.fi.muni.cz> (raw)
In-Reply-To: <856341E5-81DA-4028-AAC9-0E50A88B05D0@mpq.mpg.de>

On Mon, Nov 06, 2006 at 02:57:51PM +0100, Oliver Buerschaper wrote:
> May I ask a newbie question? How did you create the lemmas?

Hello,

today, lemmas can be based on description/enumeration mechanism (I believe
it's been in ConTeXt since circa January 2006).

Descriptions now accept parameter title=yes. Using that, you can provide a
title to the description. Have a look into core-des.tex.

> I found a mysterious "startlemma" in core-des.tex via the ConTeXt
> garden source browser but

Naturally, the example of lemma definition is commented out ;)

Copy 
\defineenumeration[lemma][title=yes, titlestyle=\bs, list=lemma]
into your document and try to use
\startlemma{title of the lemma}
blah blah
\stoplemma

Check parameters of descriptions in the manual, you can find some options
related to the title mechanism.

Yours,
D.A.

P.S.: I've achieved the same functionality by means of ugly hacks that
depend on ConTeXt version strongly.  That's why I don't send you my
configuration.

-- 
Some perverse mathematicians use brackets backwards, to denote
``open intervals.''
-- Donald Knuth, The TeXbook

  reply	other threads:[~2006-11-06 15:23 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-26 21:50 Renaud AUBIN
2006-10-27  6:25 ` luigi scarso
2006-10-27  8:36   ` Renaud AUBIN
2006-10-27  9:18 ` Hans Hagen
2006-10-27  9:45   ` Renaud AUBIN
2006-10-27 11:05     ` Hans Hagen
2006-10-27 11:21       ` Renaud AUBIN
2006-10-29 19:56 ` David Antos
2006-11-06 13:57   ` Oliver Buerschaper
2006-11-06 15:23     ` David Antos [this message]
2006-11-13 10:08       ` Oliver Buerschaper
2006-11-12  5:33 ` Mojca Miklavec
2006-11-13 18:24   ` Renaud AUBIN
2006-11-14  0:00     ` Mojca Miklavec
2006-11-14 12:55       ` Hans Hagen
2006-11-14 13:20         ` <module authors> Contextgarden modules and TeXLive deadline Taco Hoekwater
2006-11-15 21:28       ` How to get a PhD with ConTeXt (+ hard work ;) ) Renaud AUBIN
2006-10-27  8:14 M.J. Kallen
2006-10-27  8:30 ` Johan Sandblom
2006-10-27  8:33 ` Renaud AUBIN

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=20061106152325.GA17960@erik.fi.muni.cz \
    --to=antos@ics.muni.cz \
    --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).