Re: [PATCH] Docbook equation element with elements

2004-10-22 Thread Andre Poenitz
On Mon, Oct 18, 2004 at 04:14:19PM +, Andreas Vox wrote: > Andre Poenitz <[EMAIL PROTECTED]> writes: > > > This is guaranteed to work in any Standard conforming C or C++ compiler. > > That's why I prefer Java! ;-) Well. I prefer getting my work done. Tastes are different, an so are religions

Re: [PATCH] Docbook equation element with elements

2004-10-18 Thread Andreas Vox
Andre Poenitz <[EMAIL PROTECTED]> writes: > This is guaranteed to work in any Standard conforming C or C++ compiler. That's why I prefer Java! ;-) A similar method in Java gives tostr(12345) = "4950515253". But "" + 12345 works, and Integer.toString(12345, 10). Ciao /Andreas

Re: [PATCH] Docbook equation element with elements

2004-10-18 Thread Andre Poenitz
On Sun, Oct 17, 2004 at 01:09:41PM +, Andreas Vox wrote: > Andre Poenitz <[EMAIL PROTECTED]> writes: > > > On Sun, Oct 17, 2004 at 12:26:40AM +0200, Andreas Vox wrote: > > > | + result += "0123456789" [ (i / digit) % 10 ]; > > > > Why not > > result += '0' + (i / digit) % 10 > >

Re: [PATCH] Docbook equation element with elements

2004-10-17 Thread Andreas Vox
Andre Poenitz <[EMAIL PROTECTED]> writes: > On Sun, Oct 17, 2004 at 12:26:40AM +0200, Andreas Vox wrote: > | + result += "0123456789" [ (i / digit) % 10 ]; > > Why not > result += '0' + (i / digit) % 10 > ? Because that is my general pattern for translating chars. It works in al

Re: [PATCH] Docbook equation element with elements

2004-10-17 Thread Andre Poenitz
On Sun, Oct 17, 2004 at 12:26:40AM +0200, Andreas Vox wrote: > Groan -- again! | Index: src/mathed//ChangeLog | === | RCS file: /cvs/lyx/lyx-devel/src/mathed/ChangeLog,v | retrieving revision 1.443 | diff -u -p -r1.443 ChangeLog | --

Re: [PATCH] Docbook equation element with elements

2004-10-17 Thread José Abílio Oliveira Matos
On Sun, Oct 17, 2004 at 12:52:48AM +0200, Lars Gullik Bjønnes wrote: > > Any possiblity to get the patches a text/plain instead of > octet-stream? (if possible) Mutt doesn't complain, and later patch strips the \r's. :-) > -- > Lgb -- José Abílio Matos LyX and docbook a perfect match.

Re: [PATCH] Docbook equation element with elements

2004-10-17 Thread José Abílio Oliveira Matos
On Sun, Oct 17, 2004 at 12:26:40AM +0200, Andreas Vox wrote: > > Groan -- again! > > /Andreas > > +string const asString(unsigned long i) { > + string result; > + unsigned long digit = 1; > + while ( digit < i ) { > + digit *= 10; > + } > + for (digit /= 10; dig

Re: [PATCH] Docbook equation element with elements

2004-10-17 Thread José Abílio Oliveira Matos
On Sat, Oct 16, 2004 at 11:39:35PM +0200, Andreas Vox wrote: > Hi XMLers! > > Here's a small patch which adds to > all > elements. This should fix bug #1714 > The file itself is not generated, I hope that the bug reporter and the > bug owner > will help me with that ;-) Certainly I will,

Re: [PATCH] Docbook equation element with elements

2004-10-16 Thread Lars Gullik Bjønnes
Andreas Vox <[EMAIL PROTECTED]> writes: | Am 16.10.2004 um 23:39 schrieb Andreas Vox: > >> Hi XMLers! >> >> Here's a small patch which adds >> to all >> elements. This should fix bug #1714 >> The file itself is not generated, I hope that the bug reporter and >> the bug owner >> will help me wit

Re: [PATCH] Docbook equation element with elements

2004-10-16 Thread Andreas Vox
Am 16.10.2004 um 23:39 schrieb Andreas Vox: Hi XMLers! Here's a small patch which adds to all elements. This should fix bug #1714 The file itself is not generated, I hope that the bug reporter and the bug owner will help me with that ;-) /Andreas Groan -- again! /Andreas patch-db-graphic D

Re: [PATCH] Docbook equation element with elements

2004-10-16 Thread Angus Leeming
Andreas Vox wrote: > Hi XMLers! > > Here's a small patch which adds to > all elements. This should fix bug #1714 > The file itself is not generated, I hope that the bug reporter and the > bug owner will help me with that ;-) > > Andreas No patch attached... -- Angus