ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Oliver Buerschaper <oliver.buerschaper@mpq.mpg.de>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Theorems, etc with ConTeXt
Date: Mon, 29 Jan 2007 17:38:57 +0100	[thread overview]
Message-ID: <F60AF973-7936-4323-A8B0-780F8BA480C8@mpq.mpg.de> (raw)
In-Reply-To: <alpine.WNT.0.81.0701190953270.3224@nqvgln>

Hi Aditya, hi Taco,

I would really love to see built-in support for theorems in ConTeXt!

I have been typesetting my diploma thesis (in mathematical physics)  
with ConTeXt and my experience has been that in some areas ConTeXt  
still needs to catch up a bit on LaTeX (especially on the AMS  
packages), although it has definitely come along way already ...

So far I have constructed my theorems etc. as enumerations on an  
adhoc basis and - surprise - noted a few glitches here and there.

1. For some environments I chose style=\it but this resulted in  
italic equation numbers as well. However, these numbers should always  
be typeset upright.

2. There is some odd behaviour concerning the options "right" and  
"stopper" which I mentioned on the list a while ago. I believe this  
is more an issue of descriptions/enumerations  than anything else but  
it would affect any theorem mechanism based on enumerations. Perhaps  
this can be looked into at the same time as you're trying to cook up  
generic theorems.

Have you found out anything about the end of proof markers yet? I  
haven't tried it out but how do the AMS folks handle this issue?  
Unfortunately, I don't have the TeX programming experience (yet) to  
start digging myself ...

Oliver



>> Hi Aditya,
>>
>> Aditya Mahajan wrote:
>>>
>>> 4. The theorem should have a title. The title should be optional.
>>>> Is partially implemented
>>
>> I used to work around that by defining a layer on top of the
>> enumerations that always define the enumeration's settings
>> on the fly. Quite inefficient, but it worked OK. Support in the
>> core would be much nicer, though.
>
> I will try to add this to as a patch to enumerations, and see how it
> works.
>
>>> The last things, that is the end of proof marker, is right now not
>>> possible in ConTeXt. There are a lot of things that need to be taken
>>> care of while having a end-of-proof marker: basically, you need to
>>> ensure that there is no page break between the proof and the marker.
>>> Also the marker needs to be moved up or down, depending on how the
>>> proof ends. At the very least, ConTeXt should have something that
>>> ensures that the end of proof marker does not go onto a page of its
>>> own.
>>
>> End of proof markers are a pain, and I see no easy solution.
>
> I saw a proof.tex for plain tex, which ensured that the end of the
> line marker stayed on the same page. No support for correct
> spacing for itemize and formula. The ntheorem package does that, but I
> do not fully understand the algorithm, so it may be harder to port. I
> will try a port of proof.tex if I can find it again.
>
> Aditya

  reply	other threads:[~2007-01-29 16:38 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-18 23:57 Aditya Mahajan
2007-01-19 10:03 ` Taco Hoekwater
2007-01-19 14:56   ` Aditya Mahajan
2007-01-29 16:38     ` Oliver Buerschaper [this message]
2007-01-29 21:38       ` Aditya Mahajan
2007-03-03  1:44       ` Aditya Mahajan
2007-03-06 10:26         ` Oliver Buerschaper
2007-03-06 15:42           ` Aditya Mahajan
2007-02-06  0:39   ` Aditya Mahajan

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=F60AF973-7936-4323-A8B0-780F8BA480C8@mpq.mpg.de \
    --to=oliver.buerschaper@mpq.mpg.de \
    --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).