On Mon, 2004-10-25 at 21:55, Josà AbÃlio Oliveira Matos wrote:
> On Mon, Oct 25, 2004 at 05:15:39PM +0300, Martin Vermeer wrote:
> > > 
> > >   Then probably the first line inside the if should be instead:
> > >   
> > >   id += " " + bstyle->latexparam();
> > 
> > No no... rather, keep it as it is, but shift it to inside the second
> > if-statement, i.e., one line down.
> 
>   OK, looking to layout I see it:
>   "id = "s#""
> 
>   I thought that we weren't dealing with ids.
> 
> > I still feel you're making this too complicated :-)
> 
>   I'm sorry Martin but complicated is how the AGU dtd looks. ;-)
>   That idea of forcing automatic ids for every elements of a given type is
> crazy, I've never seen nothing like it. :-)

There's a first time for everything...

>   Now that see your point I don't know what to think, because you could have
> a parameter that not an id...

Yes, and this is actually used in other doc classes. (I admit it's a bit
messy)

>   Something like:
>   
>   if parameter contains '#':
>      replace # by the appropriate counter and put that into id
>   else:

      if not empty:

>       add the parameter to the content of id  

      else:
        see if the paragraph contains a label-type inset; if it does, 
        turn its contents into an 'id=' thingy (what you call "manual
        label" in your next post)

-- 
Martin Vermeer <[EMAIL PROTECTED]>

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to