Re: [patch] remove spurious insetexternal warning

2004-10-27 Thread Georg Baum
Angus Leeming wrote: Georg Baum wrote: from the external inset. sanitizeLatexOption() was called with the input [,,,]. The last regex was then called with ], and this lead to the warning message. A possible fix is attached. It does also fix the first warning message in

Re: [patch] remove spurious insetexternal warning

2004-10-27 Thread Angus Leeming
Georg Baum wrote: The real problem being that the regex is insufficient for the use case? Yes. Misunderstanding on my side: what[0] is the whole match, and not the first submatch. I altered the last regex (see attached patch, which goes in right now). static boost::regex const -

Re: Bug 1687: request for help.

2004-10-27 Thread Angus Leeming
José Abílio Oliveira Matos wrote: On Mon, Oct 25, 2004 at 09:39:52PM +, Andreas Vox wrote: You could ask someone with a 64bit box for help! ;-P That would be nice. :-) Sorry, I have my nasty day again, José. At our institute we ordered a couple of Athlon64s which should arrive

Re: Bug 1687: request for help.

2004-10-27 Thread José Abílio Oliveira Matos
On Wed, Oct 27, 2004 at 05:36:08PM +0100, Angus Leeming wrote: José, Just for info: I use 1.3.x all the time on a 64bit Alpha machine and have never had the problem described in this bug report. Thanks Angus, that information is useful. I will contact the guy who has this problems

Re: Bug 1687: request for help.

2004-10-27 Thread José Abílio Oliveira Matos
On Wed, Oct 27, 2004 at 05:36:08PM +0100, Angus Leeming wrote: José, Just for info: I use 1.3.x all the time on a 64bit Alpha machine and have never had the problem described in this bug report. Just to be sure, could you export an empty document to docbook and see if it crashes lyx? --

Trouble converting to LaTeX.. error says reLyX -f

2004-10-27 Thread Kevin Martin
Hi, I am trying to convert from lyx to LaTeX and back again. I keep getting this error message. I've tried it with multiple files... I also tried reinstalling the program. The same error shows up when importing or exporting... otherwise the program seems to work fine. I looked at the bug

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 precisely

Re: [patch] remove spurious insetexternal warning

2004-10-27 Thread Georg Baum
Am Mittwoch, 27. Oktober 2004 14:02 schrieb Angus Leeming: static boost::regex const - back(^(.*[^,])(,*[]] *)$); + back(^(.*[^,])?(,*)([]] *)$); Well done... H. Are we being too intricate here? Surely this will work also because boost::regex is,

Re: [patch] remove spurious insetexternal warning

2004-10-27 Thread Angus Leeming
Georg Baum wrote: Am Mittwoch, 27. Oktober 2004 14:02 schrieb Angus Leeming: static boost::regex const - back(^(.*[^,])(,*[]] *)$); + back(^(.*[^,])?(,*)([]] *)$); Well done... H. Are we being too intricate here? Surely this will work also because

Re: Bug 1687: request for help.

2004-10-27 Thread Angus Leeming
José Abílio Oliveira Matos wrote: On Wed, Oct 27, 2004 at 05:36:08PM +0100, Angus Leeming wrote: José, Just for info: I use 1.3.x all the time on a 64bit Alpha machine and have never had the problem described in this bug report. Just to be sure, could you export an empty document to

Re: Trouble converting to LaTeX.. error says reLyX -f

2004-10-27 Thread Angus Leeming
Kevin Martin wrote: Hi, I am trying to convert from lyx to LaTeX and back again. I keep getting this error message. I've tried it with multiple files... I also tried reinstalling the program. The same error shows up when importing or exporting... otherwise the program

Re: [patch] remove spurious insetexternal warning

2004-10-27 Thread Georg Baum
Angus Leeming wrote: > Georg Baum wrote: >> from the external inset. sanitizeLatexOption() was called with the input >> "[,,,]". The last regex was then called with "]", and this lead to the >> warning message. A possible fix is attached. It does also fix the first >> warning message in

Re: [patch] remove spurious insetexternal warning

2004-10-27 Thread Angus Leeming
Georg Baum wrote: >> The real problem being that the regex is insufficient for the use >> case? > > Yes. Misunderstanding on my side: what[0] is the whole match, and > not the first submatch. I altered the last regex (see attached > patch, which goes in right now). static boost::regex

Re: Bug 1687: request for help.

2004-10-27 Thread Angus Leeming
José Abílio Oliveira Matos wrote: > On Mon, Oct 25, 2004 at 09:39:52PM +, Andreas Vox wrote: >> >> You could ask someone with a 64bit box for help! ;-P > > That would be nice. :-) > >> Sorry, I have my nasty day again, José. At our institute we ordered >> a couple of Athlon64s which

Re: Bug 1687: request for help.

2004-10-27 Thread José Abílio Oliveira Matos
On Wed, Oct 27, 2004 at 05:36:08PM +0100, Angus Leeming wrote: > > José, Just for info: I use 1.3.x all the time on a 64bit Alpha > machine and have never had the problem described in this bug report. Thanks Angus, that information is useful. I will contact the guy who has this problems

Re: Bug 1687: request for help.

2004-10-27 Thread José Abílio Oliveira Matos
On Wed, Oct 27, 2004 at 05:36:08PM +0100, Angus Leeming wrote: > > José, Just for info: I use 1.3.x all the time on a 64bit Alpha > machine and have never had the problem described in this bug report. Just to be sure, could you export an empty document to docbook and see if it crashes lyx? >

Trouble converting to LaTeX.. error says reLyX -f

2004-10-27 Thread Kevin Martin
Hi,   I am trying to convert from lyx to LaTeX and back again. I keep getting this error message. I've tried it with multiple files... I also tried reinstalling the program. The same error shows up when importing or exporting... otherwise the program seems to work fine. I looked at the

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

Re: [patch] remove spurious insetexternal warning

2004-10-27 Thread Georg Baum
Am Mittwoch, 27. Oktober 2004 14:02 schrieb Angus Leeming: > static boost::regex const > - back("^(.*[^,])(,*[]] *)$"); > + back("^(.*[^,])?(,*)([]] *)$"); > > Well done... H. > > Are we being too intricate here? Surely this will work also because >

Re: [patch] remove spurious insetexternal warning

2004-10-27 Thread Angus Leeming
Georg Baum wrote: > Am Mittwoch, 27. Oktober 2004 14:02 schrieb Angus Leeming: >> static boost::regex const >> - back("^(.*[^,])(,*[]] *)$"); >> + back("^(.*[^,])?(,*)([]] *)$"); >> >> Well done... H. >> >> Are we being too intricate here? Surely this

Re: Bug 1687: request for help.

2004-10-27 Thread Angus Leeming
José Abílio Oliveira Matos wrote: > On Wed, Oct 27, 2004 at 05:36:08PM +0100, Angus Leeming wrote: >> >> José, Just for info: I use 1.3.x all the time on a 64bit Alpha >> machine and have never had the problem described in this bug report. > > Just to be sure, could you export an empty

Re: Trouble converting to LaTeX.. error says reLyX -f

2004-10-27 Thread Angus Leeming
Kevin Martin wrote: > Hi, > I am trying to convert from lyx to LaTeX and back again. I keep > getting this error message. I've tried it with multiple files... I > also tried reinstalling the program. The same error shows up when > importing or exporting... otherwise the