Re: [patch] counters 2

2003-09-16 Thread Jean-Marc Lasgouttes
> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: Andre> Would work, but I _really_ don't see the benefit compared to Andre> the current working solution The really interesting part is not with sections (which I did not complain about) but rather chapters. We have somehow to switch from

Re: [patch] counters 2

2003-09-15 Thread Andre Poenitz
On Mon, Sep 15, 2003 at 11:46:27AM +0200, Lars Gullik Bjønnes wrote: > Andre Poenitz <[EMAIL PROTECTED]> writes: > > | So far I've only seen proposals that make the layout files bigger. > > And why is that bad in itself? It is not. But if you replace a working short version with a not-yet-impl

Re: [patch] counters 2

2003-09-15 Thread Alfredo Braunstein
Andre Poenitz wrote: > [BTW what's the official way to create one, I use M-x appendix, but I > doubt that's the newbie version?] Document->Start appendix here > I have a general aversion against physically removing items from menus. > [I.e. greying out is fine with me, but not removing] You neve

Re: [patch] counters 2

2003-09-15 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> (and I do not really care about the syntax for this, but "$$foo" Lars> might have some problems since it is not quite clear where the Lars> variable name ends. $$foobar) Sure. I do not know of a good syntax either :) Lars> | I

Re: [patch] counters 2

2003-09-15 Thread Lars Gullik Bjønnes
Andre Poenitz <[EMAIL PROTECTED]> writes: | So far I've only seen proposals that make the layout files bigger. And why is that bad in itself? We are after all trying to be more explicit and to remove hardcoded stuff from the core. -- Lgb

Re: [patch] counters 2

2003-09-15 Thread Andre Poenitz
On Mon, Sep 15, 2003 at 11:34:22AM +0200, Lars Gullik Bjønnes wrote: > Andre Poenitz <[EMAIL PROTECTED]> writes: > > | Implementationwise this is handled by a single 'if' in the core. Can't > | get much easier than that as there is a difference. > > then we stick witht the single counter idea. >

Re: [patch] counters 2

2003-09-15 Thread Lars Gullik Bjønnes
Andre Poenitz <[EMAIL PROTECTED]> writes: | On Mon, Sep 15, 2003 at 11:06:45AM +0200, Jean-Marc Lasgouttes wrote: >> Andre> This would work in this case but not differ much from what we >> Andre> have. Moreover, I cannot imagine how to make this work with >> >> [appendix example] >> >> Andre> H

Re: [patch] counters 2

2003-09-15 Thread Lars Gullik Bjønnes
Andre Poenitz <[EMAIL PROTECTED]> writes: | Implementationwise this is handled by a single 'if' in the core. Can't | get much easier than that as there is a difference. then we stick witht the single counter idea. | The only real option I see here is to have separate Styles for 'Section | in App

Re: [patch] counters 2

2003-09-15 Thread Andre Poenitz
On Mon, Sep 15, 2003 at 11:06:45AM +0200, Jean-Marc Lasgouttes wrote: > Andre> This would work in this case but not differ much from what we > Andre> have. Moreover, I cannot imagine how to make this work with > > [appendix example] > > Andre> How would you do that? > > What about > >Count

Re: [patch] counters 2

2003-09-15 Thread Andre Poenitz
On Mon, Sep 15, 2003 at 11:05:22AM +0200, Lars Gullik Bjønnes wrote: > Andre Poenitz <[EMAIL PROTECTED]> writes: > > | Ok, I figured out you might mean something like > | > | Counter > | Name theorem > | LabelString"\arabic{theorem}" > | End

Re: [patch] counters 2

2003-09-15 Thread Andre Poenitz
On Mon, Sep 15, 2003 at 11:00:56AM +0200, Jean-Marc Lasgouttes wrote: > Andre> Imagine a counter 'theorem' used for both theorems and > Andre> definitions (i.e. standard AMS article behaviour). What should > Andre> the counter's 'String' look like? > > Andre> 'Theorem \arabic{theorem}:' ? > And

Re: [patch] counters 2

2003-09-15 Thread Jean-Marc Lasgouttes
> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: Andre> This would work in this case but not differ much from what we Andre> have. Moreover, I cannot imagine how to make this work with [appendix example] Andre> How would you do that? What about Counter Name

Re: [patch] counters 2

2003-09-15 Thread Lars Gullik Bjønnes
Andre Poenitz <[EMAIL PROTECTED]> writes: | Ok, I figured out you might mean something like | | Counter | Name theorem | LabelString"\arabic{theorem}" | End | | Style Theorem | LabelStyle Counter |

Re: [patch] counters 2

2003-09-15 Thread Jean-Marc Lasgouttes
> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: Andre> On Sat, Sep 13, 2003 at 11:26:24PM +0200, Jean-Marc Lasgouttes Andre> wrote: >> > "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: >> Andre> On Fri, Sep 12, 2003 at 06:40:57PM +0200, Jean-Marc Lasgouttes Andre> wrote: What

Re: [patch] counters 2

2003-09-15 Thread Lars Gullik Bjønnes
Andre Poenitz <[EMAIL PROTECTED]> writes: | On Mon, Sep 15, 2003 at 10:11:31AM +0200, Lars Gullik Bjønnes wrote: >> | We should make a policy that '80% good patches' can go in >> | without too much nitpicking during the development phase. >> >> and what usually happens is that 80% ends up being

Re: [patch] counters 2

2003-09-15 Thread Andre Poenitz
On Mon, Sep 15, 2003 at 10:32:50AM +0200, Andre' Poenitz wrote: > Please fill in the following template for me to see what exactly it > would look like. > > Currently we have > > Counter > Name theorem > End > > Style Theorem > LabelSty

Re: [patch] counters 2

2003-09-15 Thread Andre Poenitz
On Mon, Sep 15, 2003 at 10:11:31AM +0200, Lars Gullik Bjønnes wrote: > | We should make a policy that '80% good patches' can go in > | without too much nitpicking during the development phase. > > and what usually happens is that 80% ends up being 100% of the work > done... If the direction is r

Re: [patch] counters 2

2003-09-15 Thread Lars Gullik Bjønnes
Andre Poenitz <[EMAIL PROTECTED]> writes: | On Sat, Sep 13, 2003 at 11:26:24PM +0200, Jean-Marc Lasgouttes wrote: >> > "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: >> >> Andre> On Fri, Sep 12, 2003 at 06:40:57PM +0200, Jean-Marc Lasgouttes >> Andre> wrote: What else do you want? >> >>

Re: [patch] counters 2

2003-09-15 Thread Lars Gullik Bjønnes
[EMAIL PROTECTED] (Lars Gullik Bjønnes) writes: | Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: > | | - I think the appearance of the counter should be defined in the label | | like latex does, because this is good encapsulation. If I redefine | | chapters to use roman numbers, I should not

Re: [patch] counters 2

2003-09-15 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | - I think the appearance of the counter should be defined in the label | like latex does, because this is good encapsulation. If I redefine | chapters to use roman numbers, I should not have to modify the | section layout. Actually, it is th

Re: [patch] counters 2

2003-09-15 Thread Andre Poenitz
On Sat, Sep 13, 2003 at 11:26:24PM +0200, Jean-Marc Lasgouttes wrote: > > "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: > > Andre> On Fri, Sep 12, 2003 at 06:40:57PM +0200, Jean-Marc Lasgouttes > Andre> wrote: What else do you want? > >> Nothing. It's friday. > > Andre> Fine. > > In

Re: [patch] counters 2

2003-09-13 Thread Jean-Marc Lasgouttes
> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: Andre> On Fri, Sep 12, 2003 at 06:40:57PM +0200, Jean-Marc Lasgouttes Andre> wrote: What else do you want? >> Nothing. It's friday. Andre> Fine. In case you're interested: - I like 95% of this patch. We need something like that. - I t

Re: [patch] counters 2

2003-09-12 Thread Martin Vermeer
On Fri, Sep 12, 2003 at 07:14:08PM +0200, Andre Poenitz spake thusly: ... > 'Final' patch attached for the curious. > > Note that most of the infrastructure for 'living' itemize bullets is > also there > > Andre' This is what I envisaged (more or less; not the template idea, great!) but

Re: [patch] counters 2

2003-09-12 Thread Andre Poenitz
On Fri, Sep 12, 2003 at 06:40:57PM +0200, Jean-Marc Lasgouttes wrote: > Andre> What else do you want? > > Nothing. It's friday. Fine. 'Final' patch attached for the curious. Note that most of the infrastructure for 'living' itemize bullets is also there Andre' Index: lib/layouts/article.l

Re: [patch] counters 2

2003-09-12 Thread Jean-Marc Lasgouttes
> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: Andre> What else do you want? Nothing. It's friday. I have to go now, but I'll answer in a saner manner monday. JMarc

Re: [patch] counters 2

2003-09-12 Thread Andre Poenitz
On Fri, Sep 12, 2003 at 06:28:33PM +0200, Jean-Marc Lasgouttes wrote: > > "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: > > Andre> In this case, the section label string should be defined as > > Andre> Chapter: "Chapter \arabic{chapter}" > Andre> Section: "\arabic{chapter}.\arabic{s

Re: [patch] counters 2

2003-09-12 Thread Jean-Marc Lasgouttes
> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: Andre> In this case, the section label string should be defined as Andre> Chapter: "Chapter \arabic{chapter}" Andre> Section: "\arabic{chapter}.\arabic{section}" Andre> Subsection: "@[EMAIL PROTECTED]" Andre> Subsubsection: "@[EMAIL

Re: [patch] counters 2

2003-09-12 Thread Andre Poenitz
On Fri, Sep 12, 2003 at 05:31:06PM +0200, Jean-Marc Lasgouttes wrote: > > "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: > > Andre> Not my invention. > > Andre> But \Alpha is fine with me. > > Unfortunately, LaTeX uses \alph and \Alph because \alpha means > something else... So what

Re: [patch] counters 2

2003-09-12 Thread Jean-Marc Lasgouttes
> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: Andre> Not my invention. Andre> But \Alpha is fine with me. Unfortunately, LaTeX uses \alph and \Alph because \alpha means something else... >> Also what does the @Section@ thing do? Return the whole >> Labelstring? Andre> Of the 'Sec

Re: [patch] counters 2

2003-09-12 Thread Andre Poenitz
On Fri, Sep 12, 2003 at 05:01:25PM +0200, Jean-Marc Lasgouttes wrote: > > "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: > > Andre> This seems to work except for \itemize. > > Andre> I don't see how this worked before and I don't see how I broke > Andre> this. > > What is this \Latin t

Re: [patch] counters 2

2003-09-12 Thread Jean-Marc Lasgouttes
> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: Andre> This seems to work except for \itemize. Andre> I don't see how this worked before and I don't see how I broke Andre> this. What is this \Latin thing? Shouldn't it be \Alph? If you use latex syntax, you might as well keep the macro

[patch] counters 2

2003-09-12 Thread Andre Poenitz
This seems to work except for \itemize. I don't see how this worked before and I don't see how I broke this. Any ideas? Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson or B. Franklin or both...) ? 1.dif