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. :-) Now that see your point I don't know what to think, because you could have a parameter that not an id... Something like: if parameter contains '#': replace # by the appropriate counter and put that into id else: add the parameter to the content of id > -- > Martin Vermeer <[EMAIL PROTECTED]> The weather here is chilly, 8C that with wind chill goes to 4C. I have visited Dublin in the afternoon, and it was a bit unplesant. :-) Not that I'm complaining. ;-) -- José Abílio Matos LyX and docbook a perfect match. :-)