Re: lyx-devel src/: ChangeLog output_docbook.C sgml.C src/inse ...

2004-10-29 Thread José Abílio Oliveira Matos
On Fri, Oct 29, 2004 at 12:51:04PM +0300, Martin Vermeer wrote: > Beautiful piece of work, José. Looks so much cleaner now. Thanks, :-) -- José Abílio Matos LyX and docbook a perfect match. :-)

Re: lyx-devel src/: ChangeLog output_docbook.C sgml.C src/inse ...

2004-10-29 Thread José Abílio Oliveira Matos
On Fri, Oct 29, 2004 at 11:00:03AM +0100, Angus Leeming wrote: > > Actually, José, I think that you can simplify insetcharstyle.C even > further: > > int InsetCharStyle::linuxdoc(Buffer const & buffer, std::ostream & os, > OutputParams const & params) const > { >

Re: lyx-devel src/: ChangeLog output_docbook.C sgml.C src/inse ...

2004-10-29 Thread Angus Leeming
Martin Vermeer wrote: > Beautiful piece of work, José. Looks so much cleaner now. > On Thu, 2004-10-28 at 20:10, [EMAIL PROTECTED] wrote: Actually, José, I think that you can simplify insetcharstyle.C even further: int InsetCharStyle::linuxdoc(Buffer const & buffer, std::ostream & os,

Re: lyx-devel src/: ChangeLog output_docbook.C sgml.C src/inse ...

2004-10-29 Thread Martin Vermeer
Beautiful piece of work, JosÃ. Looks so much cleaner now. On Thu, 2004-10-28 at 20:10, [EMAIL PROTECTED] wrote: ... - Martin -- Martin Vermeer <[EMAIL PROTECTED]> signature.asc Description: This is a digitally signed message part

Re: lyx-devel src/: ChangeLog output_docbook.C

2004-10-28 Thread Martin Vermeer
On Thu, 2004-10-28 at 12:53, Josà AbÃlio Oliveira Matos wrote: > On Thu, Oct 28, 2004 at 09:42:29AM +0300, Martin Vermeer wrote: > > > > I don't remember, and I don't seem to have the AGU-Article dtd anymore. > > I think that I still have a copy that you sent me. :-) > > > Note that also the s

Re: lyx-devel src/: ChangeLog output_docbook.C

2004-10-28 Thread José Abílio Oliveira Matos
On Thu, Oct 28, 2004 at 09:42:29AM +0300, Martin Vermeer wrote: > > I don't remember, and I don't seem to have the AGU-Article dtd anymore. I think that I still have a copy that you sent me. :-) > Note that also the sectioning counter names differ from their LaTeX > names. Are you sure you und

Re: lyx-devel src/: ChangeLog output_docbook.C

2004-10-27 Thread Martin Vermeer
On Wed, 2004-10-27 at 23:20, Josà AbÃlio Oliveira Matos wrote: > On Tue, Oct 26, 2004 at 10:49:29AM +0300, Martin Vermeer wrote: > > > > > Using pseudo code the it would be: > > > > > > Is there any label in paragraph? > > > (Yes) then use it > > > (No) else include the automatical

Re: lyx-devel src/: ChangeLog output_docbook.C

2004-10-27 Thread José Abílio Oliveira Matos
On Tue, Oct 26, 2004 at 10:49:29AM +0300, Martin Vermeer wrote: > > > Using pseudo code the it would be: > > > > Is there any label in paragraph? > > (Yes) then use it > > (No) else include the automatically generated. > > ...with # substitution if appropriate. > > That's p

Re: lyx-devel src/: ChangeLog output_docbook.C

2004-10-26 Thread Martin Vermeer
On Tue, 2004-10-26 at 10:37, Josà AbÃlio Oliveira Matos wrote: > On Tue, Oct 26, 2004 at 08:36:17AM +0300, Martin Vermeer wrote: > > > > As I understand it, the manual label overrides any automatic one. So in > > this case the previous paragraph would have label para150 and the next > > para152 (a

Re: lyx-devel src/: ChangeLog output_docbook.C

2004-10-26 Thread José Abílio Oliveira Matos
On Tue, Oct 26, 2004 at 08:36:17AM +0300, Martin Vermeer wrote: > > As I understand it, the manual label overrides any automatic one. So in > this case the previous paragraph would have label para150 and the next > para152 (and these change dynamically as you add and remove paragraphs) > but the l

Re: lyx-devel src/: ChangeLog output_docbook.C

2004-10-25 Thread Martin Vermeer
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

Re: lyx-devel src/: ChangeLog output_docbook.C

2004-10-25 Thread Martin Vermeer
On Tue, 2004-10-26 at 01:00, Josà AbÃlio Oliveira Matos wrote: > On Mon, Oct 25, 2004 at 05:15:39PM +0300, Martin Vermeer wrote: > > > > I still feel you're making this too complicated :-) > > Mais au contraire, mon cher ami. ;-) > > [This started as an simple answer and ended as a rant. Y

Re: lyx-devel src/: ChangeLog output_docbook.C

2004-10-25 Thread José Abílio Oliveira Matos
On Mon, Oct 25, 2004 at 05:15:39PM +0300, Martin Vermeer wrote: > > I still feel you're making this too complicated :-) Mais au contraire, mon cher ami. ;-) [This started as an simple answer and ended as a rant. You have been warned... ;-)] ids are attributes that are allowed in every ele

Re: lyx-devel src/: ChangeLog output_docbook.C

2004-10-25 Thread José Abílio Oliveira Matos
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. O

Re: lyx-devel src/: ChangeLog output_docbook.C

2004-10-25 Thread Martin Vermeer
On Mon, 2004-10-25 at 16:39, Josà AbÃlio Oliveira Matos wrote: > On Mon, Oct 25, 2004 at 04:13:23PM +0300, Martin Vermeer wrote: > > > > At least this looks correct now... but can't you (referring to before > > this proposed patch) just place the counters thingy *inside* the second > > if-statemen

Re: lyx-devel src/: ChangeLog output_docbook.C

2004-10-25 Thread José Abílio Oliveira Matos
On Mon, Oct 25, 2004 at 04:13:23PM +0300, Martin Vermeer wrote: > > At least this looks correct now... but can't you (referring to before > this proposed patch) just place the counters thingy *inside* the second > if-statement? Again, what do I miss? > > Like this > > if (!bstyle->latexp

Re: lyx-devel src/: ChangeLog output_docbook.C

2004-10-25 Thread Martin Vermeer
On Mon, 2004-10-25 at 15:38, Josà AbÃlio Oliveira Matos wrote: > On Mon, Oct 25, 2004 at 03:25:50PM +0300, Martin Vermeer wrote: > > > > Wrong fix I think. > > > > What if style->latexparam() is non-empty, but does not contain a '#'? > > > > :-) > > I think that we need to agree on a common s

Re: lyx-devel src/: ChangeLog output_docbook.C

2004-10-25 Thread José Abílio Oliveira Matos
On Mon, Oct 25, 2004 at 03:25:50PM +0300, Martin Vermeer wrote: > > Wrong fix I think. > > What if style->latexparam() is non-empty, but does not contain a '#'? > > :-) I think that we need to agree on a common syntax for string substitution and place that on openTag. :-) Second try, somet

Re: lyx-devel src/: ChangeLog output_docbook.C

2004-10-25 Thread Martin Vermeer
On Mon, 2004-10-25 at 16:20, [EMAIL PROTECTED] wrote: > CVSROOT: /usr/local/lyx/cvsroot > Module name: lyx-devel > Repository: lyx-devel/src/ > Changes by: [EMAIL PROTECTED] 04/10/25 13:20:02 > > Modified files: > lyx-devel/src/: ChangeLog output_docboo