Re: Inset display?

2003-10-21 Thread Martin Vermeer
On Mon, Oct 20, 2003 at 09:10:51PM +, Angus Leeming spake thusly: Martin, could you provide me with a synopsis of the current status please? I've read the flurry of mails and think I have a picture, but it'd be good to have this from the horse's mouth, so to speak. I see from your

Re: Latest cvs --- cursor behaviour

2003-10-21 Thread Martin Vermeer
On Mon, Oct 20, 2003 at 09:36:06PM +, Angus Leeming spake thusly: Many thanks, Martin, for giving us a working math display mode again. The attached lyx file demonstrates a couple of intersting cursor oddities. 1. It is impossible to position the cursor using the mouse after the

Re: [PATCH] Inverse search update.

2003-10-21 Thread Jose' Matos
On Monday 20 October 2003 19:27, Angus Leeming wrote: Alfredo Braunstein wrote: btw, how should we introduce source-latex only for view-dvi? a latexflavour? Your pet project surfaces again? Why not try and put a few thoughts down on e-paper about how it might be implemented and we can

Re: A lyx::stringstream containing font info?

2003-10-21 Thread Andre Poenitz
On Mon, Oct 20, 2003 at 10:06:58PM +, Angus Leeming wrote: I'm a bit pissed off with the way we handle fonts and strings. Good starting point. It seems to me that we are duplicating code in the inset metrics and draw functions. Only in the very inner block of code do things differ, one

Fonts

2003-10-21 Thread Andre Poenitz
text2.C:153 // Realize with the fonts of lesser depth. tmpfont.realize(outerFont(pit, ownerParagraphs())); tmpfont.realize(defaultfont_); text2.C:169 // Realize with the fonts of lesser depth. font.realize(outerFont(pit, ownerParagraphs()));

Re: Fonts

2003-10-21 Thread Jean-Marc Lasgouttes
Andre == Andre Poenitz [EMAIL PROTECTED] writes: Andre text2.C:153 Andre // Realize with the fonts of lesser depth. Andre tmpfont.realize(outerFont(pit, ownerParagraphs())); Andre tmpfont.realize(defaultfont_); Andre text2.C:169 Andre // Realize with the fonts of lesser depth. Andre

Re: [CRASH] with 1.4.0cvs (fwd)

2003-10-21 Thread Jean-Marc Lasgouttes
Alain == Alain Castera [EMAIL PROTECTED] writes: Alain Hi All. Alain I apologize to bore you again, but I got no reaction to this Alain message. Should I file a bug under bugzilla ? Or is it a Alain temporary effect of using cvs version ? Please file a bug. I am not able to look at it right

Re: A lyx::stringstream containing font info?

2003-10-21 Thread Angus Leeming
Andre Poenitz wrote: Is this just a wild flight of fancy, or does anybody else think that it's a sensible proposal? I think this could be handled on a case-by-case base by using some helper functions in the insets that really need it. Actually, I did some reading and I think I have stumbled

Re: LyX/Mac - beta testers wanted for new release

2003-10-21 Thread Angus Leeming
Ronald Florence wrote: I welcome beta testers for a new release of LyX/Mac. New features: - Inverse DVI search: if you use MacDviX with Preview - DVI, you can Option-Click in the DVI window and have LyX jump to the corresponding point in the source file. The feature should also

Re: A lyx::stringstream containing font info?

2003-10-21 Thread Andre Poenitz
On Tue, Oct 21, 2003 at 09:25:46AM +, Angus Leeming wrote: Andre Poenitz wrote: Is this just a wild flight of fancy, or does anybody else think that it's a sensible proposal? I think this could be handled on a case-by-case base by using some helper functions in the insets that

Re: A lyx::stringstream containing font info?

2003-10-21 Thread Angus Leeming
Angus Leeming wrote: std::ostream operator(std::ostream os, setFamily const sf) { os.iword(CName::GetAlloc()) = sf.family_; Ouch! That's os.iword(setFamily::getAlloc()) = sf.family_; return os; } } // namespace font -- Angus

Re: Inset display?

2003-10-21 Thread Martin Vermeer
On Tue, Oct 21, 2003 at 09:33:29AM +0300, Martin Vermeer spake thusly: On Mon, Oct 20, 2003 at 09:10:51PM +, Angus Leeming spake thusly: ... I have experimentally placed display() =true in footnote/marginnote and floatinsets. I think eventually we want to make all collapsable insets

Re: Inset display?

2003-10-21 Thread Andre Poenitz
On Tue, Oct 21, 2003 at 12:10:38PM +0300, Martin Vermeer wrote: Can this go in (as it is the polishing touch on the inset display patch)? Yes. Andre'

dvi search

2003-10-21 Thread Andre Poenitz
I somehow lost track: Is this in? If so, does it work with xdvi 22.40h (Stock SuSE 8.1)? If so, how? Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)

Re: A lyx::stringstream containing font info?

2003-10-21 Thread Angus Leeming
Andre Poenitz wrote: On Tue, Oct 21, 2003 at 09:25:46AM +, Angus Leeming wrote: Andre Poenitz wrote: Is this just a wild flight of fancy, or does anybody else think that it's a sensible proposal? I think this could be handled on a case-by-case base by using some helper functions

Re: dvi search

2003-10-21 Thread Alfredo Braunstein
Andre Poenitz wrote: I somehow lost track: Is this in? Partially. There's a patch waiting for approval (support for sockets on qt and shell variables fiddling). And you still have to define latex --source-specials as your latex-dvi converter (if supported) or manually

Re: dvi search

2003-10-21 Thread Angus Leeming
Andre Poenitz wrote: I somehow lost track: Is this in? Yes. If so, does it work with xdvi 22.40h (Stock SuSE 8.1)? If so, how? Andre' You need two things. 1. Either a latex compiler that understands the --src-specials flag or the srcltx package. Here, my latex does not understand the

Re: LyX/Mac - beta testers wanted for new release

2003-10-21 Thread Jean-Marc Lasgouttes
Angus == Angus Leeming [EMAIL PROTECTED] writes: Angus Ronald, what's going on here! Are you backporting João's stuff Angus to the 1.3.x branch? If that is the case, I am 100% against Angus this 'new release'. Actually he is using the code against 1.3.x send a long time ago by Joao. Angus It

Re: LyX/Mac - beta testers wanted for new release

2003-10-21 Thread Angus Leeming
On Tuesday 21 October 2003 9:10 am, Jean-Marc Lasgouttes wrote: Angus == Angus Leeming [EMAIL PROTECTED] writes: Angus Ronald, what's going on here! Are you backporting João's stuff Angus to the 1.3.x branch? If that is the case, I am 100% against Angus this 'new release'. Actually he is

Re: A lyx::stringstream containing font info?

2003-10-21 Thread Andre Poenitz
On Tue, Oct 21, 2003 at 10:04:44AM +, Angus Leeming wrote: My main point is that the metrics and draw routines repeat large blocks of code Only in a few cases in which we could have a local helper function which is called from both. Unless I miss the point completely... and that my

Re: dvi search

2003-10-21 Thread Andre Poenitz
On Tue, Oct 21, 2003 at 10:11:06AM +, Angus Leeming wrote: Andre Poenitz wrote: I somehow lost track: Is this in? Yes. If so, does it work with xdvi 22.40h (Stock SuSE 8.1)? If so, how? Andre' You need two things. 1. Either a latex compiler that understands the

Re: A lyx::stringstream containing font info?

2003-10-21 Thread Angus Leeming
Andre Poenitz wrote: On Tue, Oct 21, 2003 at 10:04:44AM +, Angus Leeming wrote: My main point is that the metrics and draw routines repeat large blocks of code Only in a few cases in which we could have a local helper function which is called from both. Unless I miss the point

Re: dvi search

2003-10-21 Thread Angus Leeming
Andre Poenitz wrote: The buttons present me with a choice of immediate crash or full freeze. So it sort of works, but not really automatic, nor robust... Be fair, André. It's new code and I'm sure that its author would welcome prescriptions to make it fail... -- Angus

Optional arguments to elsart styles.

2003-10-21 Thread Jose' Matos
How about this Jean-Marc? diff -u -p -r1.8 elsart.layout --- lib/layouts/elsart.layout 13 Oct 2003 09:50:09 - 1.8 +++ lib/layouts/elsart.layout 21 Oct 2003 10:50:21 - @@ -122,6 +122,7 @@ Style Author ParSep0 Align Center

Re: dvi search

2003-10-21 Thread Alfredo Braunstein
Andre Poenitz wrote: The buttons present me with a choice of immediate crash or full freeze. So it sort of works, but not really automatic, nor robust... But there is also a bug in the core it seems... The dialog appears because of a full path/only name problem. It doesn't if the full path is

Re: A lyx::stringstream containing font info?

2003-10-21 Thread Andre Poenitz
On Tue, Oct 21, 2003 at 11:41:41AM +0100, Angus Leeming wrote: What problem are you trying to solve that's not solvable by locally factoring out some common code from metrics() and draw() in a few fat insets? Have I answered this question with the above? Sort of. I _really_ would like

Re: dvi search

2003-10-21 Thread Andre Poenitz
On Tue, Oct 21, 2003 at 11:45:45AM +0100, Angus Leeming wrote: Andre Poenitz wrote: The buttons present me with a choice of immediate crash or full freeze. So it sort of works, but not really automatic, nor robust... Be fair, André. I did not complain. Andre'

Re: A lyx::stringstream containing font info?

2003-10-21 Thread Angus Leeming
Andre Poenitz wrote: On Tue, Oct 21, 2003 at 11:41:41AM +0100, Angus Leeming wrote: What problem are you trying to solve that's not solvable by locally factoring out some common code from metrics() and draw() in a few fat insets? Have I answered this question with the above? Sort of.

Re: Optional arguments to elsart styles.

2003-10-21 Thread Jean-Marc Lasgouttes
Jose' == Jose' Matos [EMAIL PROTECTED] writes: Jose' How about this Jean-Marc? Well the optional arguments to \author and \address seem to work as a \label/\ref pair... I think this is a bit abusing the 'short title' inset (and that people will get confused if they put strange things in

Re: Inset display?

2003-10-21 Thread Martin Vermeer
On Tue, Oct 21, 2003 at 10:57:55AM +0200, Andre Poenitz spake thusly: On Tue, Oct 21, 2003 at 12:10:38PM +0300, Martin Vermeer wrote: Can this go in (as it is the polishing touch on the inset display patch)? Yes. Andre' It's in. - Martin pgp0.pgp Description: PGP signature

Re: dvi search

2003-10-21 Thread Joao Luis Meloni Assirati
Hello, On Tue, 21 Oct 2003, Andre Poenitz wrote: How do I start lyxclient manually if I want to go to a certain line? lyxclient -g newfile16.lyx 13 brings up a 'document is already loaded, want to switch' dialog. -g is an alias to LFUN_GOTOFILEROW. My inverse search patch just extended

Re: dvi search

2003-10-21 Thread Andre Poenitz
On Tue, Oct 21, 2003 at 11:49:44AM -0200, Joao Luis Meloni Assirati wrote: Hello, On Tue, 21 Oct 2003, Andre Poenitz wrote: How do I start lyxclient manually if I want to go to a certain line? lyxclient -g newfile16.lyx 13 brings up a 'document is already loaded, want to switch'

Assert trigged with last version.

2003-10-21 Thread Jose' Matos
Hi, as you know I am using the latest cvs version to test the back-converter. I have trouble with undo, almost all undos will lead to a crash. Now, after updating since last morning, so just with Martin's patch, I get this, opening a file that I have been working on:

Re: Assert trigged with last version.

2003-10-21 Thread Martin Vermeer
On Tue, Oct 21, 2003 at 04:17:37PM +0100, Jose' Matos spake thusly: Hi, as you know I am using the latest cvs version to test the back-converter. I have trouble with undo, almost all undos will lead to a crash. Now, after updating since last morning, so just with

Re: Assert trigged with last version.

2003-10-21 Thread Martin Vermeer
On Tue, Oct 21, 2003 at 04:17:37PM +0100, Jose' Matos spake thusly: Now, after updating since last morning, so just with Martin's patch, I get this, opening a file that I have been working on: (gdb) run Starting program: /home/jamatos/lyx/lyx-devel/src/lyx-xforms text not

Re: Assert trigged with last version.

2003-10-21 Thread Jose' Matos
On Tuesday 21 October 2003 17:03, Martin Vermeer wrote: Assertion triggered in InsetOld* Paragraph::getInset(int) by failing check pos size() in file paragraph.C:296 Just to make sure: does this include this afternoons's commit? Yes, and it happens not matter the frontend I am using (as

Re: dvi search

2003-10-21 Thread Joao Luis Meloni Assirati
On Tue, 21 Oct 2003, Andre Poenitz wrote: Why don't you let xdvi do it's job instead of trying manually? Because it does not work, i.e. the cursor does not move. No error message whatsoever. As xdvi does work with EDITOR=vi I figured it might be a problem with teh lyxclient - LyX

Re: dvi search

2003-10-21 Thread Andre Poenitz
On Tue, Oct 21, 2003 at 01:59:03PM -0200, Joao Luis Meloni Assirati wrote: On Tue, 21 Oct 2003, Andre Poenitz wrote: Why don't you let xdvi do it's job instead of trying manually? Because it does not work, i.e. the cursor does not move. No error message whatsoever. As xdvi does work

Grmpf

2003-10-21 Thread Andre Poenitz
- if (point == last || chunkwidth = width - left) - point = (pos i) ? i - 1 : i; - break; + if (point == last || chunkwidth = width - left) { + if (pos i) { +

Warning with inset box.

2003-10-21 Thread Jose' Matos
Hi Martin, it is me again. ;-) I added the support for minipage convertions to lyx2lyx, but I did not considered the default values of those values not defined in the 1.3 version. Because of it I get: $src/lyx InsetBox::Read: Missing 'hor_pos'-tag!c InsetBox::Read:

Re: Warning with inset box.

2003-10-21 Thread Andre Poenitz
On Tue, Oct 21, 2003 at 06:17:24PM +0100, Jose' Matos wrote: Do you, and others, think that I should set the default values of the missing parameter? This adds a bit bloat to the .lyx but is on sthe safe side, isn't it? I'd rather have lyx2lyx on the safe side. The bloat should

Re: Warning with inset box.

2003-10-21 Thread Jose' Matos
On Tuesday 21 October 2003 18:25, Andre Poenitz wrote: On Tue, Oct 21, 2003 at 06:17:24PM +0100, Jose' Matos wrote: Do you, and others, think that I should set the default values of the missing parameter? This adds a bit bloat to the .lyx but is on sthe safe side, isn't it? Yep.

Re: Warning with inset box.

2003-10-21 Thread Angus Leeming
Jose' Matos wrote: Also with lyxl2lyx it does not need to be that way, as I can add the different previous value if the defaults changes in the new version. This would make easier to read LyX files. Do this. We do it elsewhere. (graphics, tabular, ...) If it's documented, it's safe. --

Configuring the makefile

2003-10-21 Thread Kostantino
Hi. In the INSTALL file I read: --enable-optimization=VALUE enables you to set optimization to a higher level as the default (-O), for example --enable-optimization=-O3. So I give the following configure command: ./configure --with-frontend=qt --enable-optimization=-O3 but after the make

Re: Warning with inset box.

2003-10-21 Thread Jose' Matos
On Tuesday 21 October 2003 18:17, Jose' Matos wrote: Hi Martin, it is me again. ;-) Because of it I get: $src/lyx [several warnings] InsetCollapsable::Read: Missing collapsed! This one is weird since colapsed is there. So something fishy is going on. :-) -- José Abílio LyX

Re: Configuring the makefile

2003-10-21 Thread Garst R. Reese
Kostantino wrote: Hi. In the INSTALL file I read: --enable-optimization=VALUE enables you to set optimization to a higher level as the default (-O), for example --enable-optimization=-O3. So I give the following configure command: ./configure --with-frontend=qt

Re: Configuring the makefile

2003-10-21 Thread John Levon
On Tue, Oct 21, 2003 at 07:36:57PM +0200, Kostantino wrote: but after the make command I read: g++: unrecognised option '-03' You typed zero-three -03 instead of oh-three -O3. See ? regards john -- Khendon's Law: If the same point is made twice by the same person, the thread is

Re: Assert trigged with last version.

2003-10-21 Thread Martin Vermeer
On Tue, Oct 21, 2003 at 04:54:07PM +0100, Jose' Matos spake thusly: On Tuesday 21 October 2003 17:03, Martin Vermeer wrote: Assertion triggered in InsetOld* Paragraph::getInset(int) by failing check pos size() in file paragraph.C:296 Just to make sure: does this include this

Re: Configuring the makefile

2003-10-21 Thread Garst R. Reese
John Levon wrote: On Tue, Oct 21, 2003 at 07:36:57PM +0200, Kostantino wrote: but after the make command I read: g++: unrecognised option '-03' You typed zero-three -03 instead of oh-three -O3. See ? Oh! Good spotting John. I can't believe how stupid IBM was to put the 0

Re: Grmpf

2003-10-21 Thread Martin Vermeer
On Tue, Oct 21, 2003 at 07:17:22PM +0200, Andre Poenitz spake thusly: - if (point == last || chunkwidth = width - left) - point = (pos i) ? i - 1 : i; - break; + if (point == last || chunkwidth = width

Re: Assert trigged with last version.

2003-10-21 Thread Angus Leeming
Martin Vermeer wrote: +bool display() const { return false; } + Why do you need these? The function defaults to false (inset.h). -- Angus

Re: Assert trigged with last version.

2003-10-21 Thread Lars Gullik Bjønnes
Martin Vermeer [EMAIL PROTECTED] writes: | Index: text.C | === | RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/text.C,v | retrieving revision 1.467 | diff -u -p -r1.467 text.C | --- text.C21 Oct 2003 13:04:13 - 1.467 |

latest lyx crashes on Help-Introduction

2003-10-21 Thread Kayvan A. Sylvan
text not available! no text in cache! Assertion triggered in InsetOld* Paragraph::getInset(int) by failing check pos size() in file ../../lyx/src/paragraph.C:296 Aborted (core dumped) -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura

Re: Assert trigged with last version.

2003-10-21 Thread Martin Vermeer
On Tue, Oct 21, 2003 at 11:45:12PM +, Angus Leeming spake thusly: Martin Vermeer wrote: +bool display() const { return false; } + Why do you need these? The function defaults to false (inset.h). ... but these inherit from InsetCommand, which sets it to true (correctly for

Re: Inset display?

2003-10-21 Thread Martin Vermeer
On Mon, Oct 20, 2003 at 09:10:51PM +, Angus Leeming spake thusly: > > Martin, could you provide me with a synopsis of the current status > please? I've read the flurry of mails and think I have a picture, but > it'd be good to have this from the horse's mouth, so to speak. > > I see from

Re: Latest cvs --- cursor behaviour

2003-10-21 Thread Martin Vermeer
On Mon, Oct 20, 2003 at 09:36:06PM +, Angus Leeming spake thusly: > > Many thanks, Martin, for giving us a working math display mode again. > > The attached lyx file demonstrates a couple of intersting cursor > oddities. > > 1. It is impossible to position the cursor using the mouse after

Re: [PATCH] Inverse search update.

2003-10-21 Thread Jose' Matos
On Monday 20 October 2003 19:27, Angus Leeming wrote: > Alfredo Braunstein wrote: > > btw, how should we introduce source-latex only for view->dvi? a > > latexflavour? > > Your pet project surfaces again? Why not try and put a few thoughts > down on e-paper about how it might be implemented and we

Re: A lyx::stringstream containing font info?

2003-10-21 Thread Andre Poenitz
On Mon, Oct 20, 2003 at 10:06:58PM +, Angus Leeming wrote: > I'm a bit pissed off with the way we handle fonts and strings. Good starting point. > It seems to me that we are duplicating code in the inset metrics and > draw functions. Only in the very inner block of code do things > differ,

Fonts

2003-10-21 Thread Andre Poenitz
text2.C:153 // Realize with the fonts of lesser depth. tmpfont.realize(outerFont(pit, ownerParagraphs())); tmpfont.realize(defaultfont_); text2.C:169 // Realize with the fonts of lesser depth. font.realize(outerFont(pit, ownerParagraphs()));

Re: Fonts

2003-10-21 Thread Jean-Marc Lasgouttes
> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: Andre> text2.C:153 Andre> // Realize with the fonts of lesser depth. Andre> tmpfont.realize(outerFont(pit, ownerParagraphs())); Andre> tmpfont.realize(defaultfont_); Andre> text2.C:169 Andre> // Realize with the fonts of lesser

Re: [CRASH] with 1.4.0cvs (fwd)

2003-10-21 Thread Jean-Marc Lasgouttes
> "Alain" == Alain Castera <[EMAIL PROTECTED]> writes: Alain> Hi All. Alain> I apologize to bore you again, but I got no reaction to this Alain> message. Should I file a bug under bugzilla ? Or is it a Alain> temporary effect of using cvs version ? Please file a bug. I am not able to look

Re: A lyx::stringstream containing font info?

2003-10-21 Thread Angus Leeming
Andre Poenitz wrote: >> Is this just a wild flight of fancy, or does anybody else think >> that it's a sensible proposal? > > I think this could be handled on a case-by-case base by using some > helper functions in the insets that really need it. Actually, I did some reading and I think I have

Re: LyX/Mac - beta testers wanted for new release

2003-10-21 Thread Angus Leeming
Ronald Florence wrote: > I welcome beta testers for a new release of LyX/Mac. New features: > > - Inverse DVI search: if you use MacDviX with Preview -> DVI, you > can Option-Click in the DVI window and have LyX jump to the > corresponding point in the source file. The feature should

Re: A lyx::stringstream containing font info?

2003-10-21 Thread Andre Poenitz
On Tue, Oct 21, 2003 at 09:25:46AM +, Angus Leeming wrote: > Andre Poenitz wrote: > >> Is this just a wild flight of fancy, or does anybody else think > >> that it's a sensible proposal? > > > > I think this could be handled on a case-by-case base by using some > > helper functions in the

Re: A lyx::stringstream containing font info?

2003-10-21 Thread Angus Leeming
Angus Leeming wrote: > std::ostream & operator<<(std::ostream & os, setFamily const & sf) > { > os.iword(CName::GetAlloc()) = sf.family_; Ouch! That's os.iword(setFamily::getAlloc()) = sf.family_; > return os; > } > > } // namespace font > > -- Angus

Re: Inset display?

2003-10-21 Thread Martin Vermeer
On Tue, Oct 21, 2003 at 09:33:29AM +0300, Martin Vermeer spake thusly: > > On Mon, Oct 20, 2003 at 09:10:51PM +, Angus Leeming spake thusly: ... > I have experimentally placed display() =true in footnote/marginnote > and floatinsets. I think eventually we want to make all collapsable >

Re: Inset display?

2003-10-21 Thread Andre Poenitz
On Tue, Oct 21, 2003 at 12:10:38PM +0300, Martin Vermeer wrote: > Can this go in (as it is the polishing touch on the inset display > patch)? Yes. Andre'

dvi search

2003-10-21 Thread Andre Poenitz
I somehow lost track: Is this in? If so, does it work with xdvi 22.40h (Stock SuSE 8.1)? If so, how? Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)

Re: A lyx::stringstream containing font info?

2003-10-21 Thread Angus Leeming
Andre Poenitz wrote: > On Tue, Oct 21, 2003 at 09:25:46AM +, Angus Leeming wrote: >> Andre Poenitz wrote: >> >> Is this just a wild flight of fancy, or does anybody else think >> >> that it's a sensible proposal? >> > >> > I think this could be handled on a case-by-case base by using >> >

Re: dvi search

2003-10-21 Thread Alfredo Braunstein
Andre Poenitz wrote: > I somehow lost track: Is this in? Partially. There's a patch waiting for approval (support for sockets on qt and shell variables fiddling). And you still have to define latex --source-specials as your latex->dvi converter (if supported) or manually

Re: dvi search

2003-10-21 Thread Angus Leeming
Andre Poenitz wrote: > > I somehow lost track: Is this in? Yes. > If so, does it work with xdvi 22.40h (Stock SuSE 8.1)? > If so, how? > Andre' You need two things. 1. Either a latex compiler that understands the --src-specials flag or the srcltx package. Here, my latex does not understand

Re: LyX/Mac - beta testers wanted for new release

2003-10-21 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> Ronald, what's going on here! Are you backporting João's stuff Angus> to the 1.3.x branch? If that is the case, I am 100% against Angus> this 'new release'. Actually he is using the code against 1.3.x send a long time ago by Joao.

Re: LyX/Mac - beta testers wanted for new release

2003-10-21 Thread Angus Leeming
On Tuesday 21 October 2003 9:10 am, Jean-Marc Lasgouttes wrote: > > "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: > > Angus> Ronald, what's going on here! Are you backporting João's stuff > Angus> to the 1.3.x branch? If that is the case, I am 100% against > Angus> this 'new release'. >

Re: A lyx::stringstream containing font info?

2003-10-21 Thread Andre Poenitz
On Tue, Oct 21, 2003 at 10:04:44AM +, Angus Leeming wrote: > My main point is that the metrics and draw routines repeat large > blocks of code Only in a few cases in which we could have a local helper function which is called from both. Unless I miss the point completely... > and that my

Re: dvi search

2003-10-21 Thread Andre Poenitz
On Tue, Oct 21, 2003 at 10:11:06AM +, Angus Leeming wrote: > Andre Poenitz wrote: > > > > > I somehow lost track: Is this in? > > Yes. > > > If so, does it work with xdvi 22.40h (Stock SuSE 8.1)? > > If so, how? > > Andre' > > You need two things. > 1. Either a latex compiler that

Re: A lyx::stringstream containing font info?

2003-10-21 Thread Angus Leeming
Andre Poenitz wrote: > On Tue, Oct 21, 2003 at 10:04:44AM +, Angus Leeming wrote: >> My main point is that the metrics and draw routines repeat large >> blocks of code > > Only in a few cases in which we could have a local helper function > which is called from both. Unless I miss the point

Re: dvi search

2003-10-21 Thread Angus Leeming
Andre Poenitz wrote: > The buttons present me with a choice of immediate crash or full > freeze. So it "sort of works", but not really automatic, nor > robust... Be fair, André. It's new code and I'm sure that its author would welcome prescriptions to make it fail... -- Angus

Optional arguments to elsart styles.

2003-10-21 Thread Jose' Matos
How about this Jean-Marc? diff -u -p -r1.8 elsart.layout --- lib/layouts/elsart.layout 13 Oct 2003 09:50:09 - 1.8 +++ lib/layouts/elsart.layout 21 Oct 2003 10:50:21 - @@ -122,6 +122,7 @@ Style Author ParSep0 Align Center

Re: dvi search

2003-10-21 Thread Alfredo Braunstein
Andre Poenitz wrote: > The buttons present me with a choice of immediate crash or full freeze. > So it "sort of works", but not really automatic, nor robust... But there is also a bug in the core it seems... The dialog appears because of a full path/only name problem. It doesn't if the full

Re: A lyx::stringstream containing font info?

2003-10-21 Thread Andre Poenitz
On Tue, Oct 21, 2003 at 11:41:41AM +0100, Angus Leeming wrote: > > What problem are you trying to solve that's not solvable by locally > > factoring out some common code from metrics() and draw() in a few > > fat insets? > > Have I answered this question with the above? Sort of. > I _really_

Re: dvi search

2003-10-21 Thread Andre Poenitz
On Tue, Oct 21, 2003 at 11:45:45AM +0100, Angus Leeming wrote: > Andre Poenitz wrote: > > The buttons present me with a choice of immediate crash or full > > freeze. So it "sort of works", but not really automatic, nor > > robust... > > Be fair, André. I did not complain. Andre'

Re: A lyx::stringstream containing font info?

2003-10-21 Thread Angus Leeming
Andre Poenitz wrote: > On Tue, Oct 21, 2003 at 11:41:41AM +0100, Angus Leeming wrote: >> > What problem are you trying to solve that's not solvable by >> > locally factoring out some common code from metrics() and draw() >> > in a few fat insets? >> >> Have I answered this question with the

Re: Optional arguments to elsart styles.

2003-10-21 Thread Jean-Marc Lasgouttes
> "Jose'" == Jose' Matos <[EMAIL PROTECTED]> writes: Jose'> How about this Jean-Marc? Well the optional arguments to \author and \address seem to work as a \label/\ref pair... I think this is a bit abusing the 'short title' inset (and that people will get confused if they put strange things

Re: Inset display?

2003-10-21 Thread Martin Vermeer
On Tue, Oct 21, 2003 at 10:57:55AM +0200, Andre Poenitz spake thusly: > > On Tue, Oct 21, 2003 at 12:10:38PM +0300, Martin Vermeer wrote: > > Can this go in (as it is the polishing touch on the inset display > > patch)? > > Yes. > > Andre' It's in. - Martin pgp0.pgp Description: PGP

Re: dvi search

2003-10-21 Thread Joao Luis Meloni Assirati
Hello, On Tue, 21 Oct 2003, Andre Poenitz wrote: > How do I start lyxclient manually if I want to go to a certain line? > > lyxclient -g newfile16.lyx 13 > > brings up a 'document is already loaded, want to switch' dialog. -g is an alias to LFUN_GOTOFILEROW. My inverse search patch just

Re: dvi search

2003-10-21 Thread Andre Poenitz
On Tue, Oct 21, 2003 at 11:49:44AM -0200, Joao Luis Meloni Assirati wrote: > > Hello, > > On Tue, 21 Oct 2003, Andre Poenitz wrote: > > > How do I start lyxclient manually if I want to go to a certain line? > > > > lyxclient -g newfile16.lyx 13 > > > > brings up a 'document is already loaded,

Assert trigged with last version.

2003-10-21 Thread Jose' Matos
Hi, as you know I am using the latest cvs version to test the back-converter. I have trouble with undo, almost all undos will lead to a crash. Now, after updating since last morning, so just with Martin's patch, I get this, opening a file that I have been working on:

Re: Assert trigged with last version.

2003-10-21 Thread Martin Vermeer
On Tue, Oct 21, 2003 at 04:17:37PM +0100, Jose' Matos spake thusly: > Hi, > as you know I am using the latest cvs version to test the back-converter. > > I have trouble with undo, almost all undos will lead to a crash. > > Now, after updating since last morning, so just with

Re: Assert trigged with last version.

2003-10-21 Thread Martin Vermeer
On Tue, Oct 21, 2003 at 04:17:37PM +0100, Jose' Matos spake thusly: > Now, after updating since last morning, so just with Martin's patch, I get > this, opening a file that I have been working on: > > (gdb) run > Starting program: /home/jamatos/lyx/lyx-devel/src/lyx-xforms > text not

Re: Assert trigged with last version.

2003-10-21 Thread Jose' Matos
On Tuesday 21 October 2003 17:03, Martin Vermeer wrote: > > Assertion triggered in InsetOld* Paragraph::getInset(int) by failing > > check "pos < size()" in file paragraph.C:296 > > Just to make sure: does this include this afternoons's commit? Yes, and it happens not matter the frontend I am

Re: dvi search

2003-10-21 Thread Joao Luis Meloni Assirati
On Tue, 21 Oct 2003, Andre Poenitz wrote: > > Why don't you let xdvi do it's job instead > > of trying manually? > > Because it does not work, i.e. the cursor does not move. No error > message whatsoever. As xdvi does work with EDITOR=vi I figured it might > be a problem with teh lyxclient <->

Re: dvi search

2003-10-21 Thread Andre Poenitz
On Tue, Oct 21, 2003 at 01:59:03PM -0200, Joao Luis Meloni Assirati wrote: > On Tue, 21 Oct 2003, Andre Poenitz wrote: > > > > Why don't you let xdvi do it's job instead > > > of trying manually? > > > > Because it does not work, i.e. the cursor does not move. No error > > message whatsoever. As

Grmpf

2003-10-21 Thread Andre Poenitz
- if (point == last || chunkwidth >= width - left) - point = (pos < i) ? i - 1 : i; - break; + if (point == last || chunkwidth >= width - left) { + if (pos < i) { +

Warning with inset box.

2003-10-21 Thread Jose' Matos
Hi Martin, it is me again. ;-) I added the support for minipage convertions to lyx2lyx, but I did not considered the default values of those values not defined in the 1.3 version. Because of it I get: $src/lyx InsetBox::Read: Missing 'hor_pos'-tag!c InsetBox::Read:

Re: Warning with inset box.

2003-10-21 Thread Andre Poenitz
On Tue, Oct 21, 2003 at 06:17:24PM +0100, Jose' Matos wrote: > Do you, and others, think that I should set the default values of > the missing parameter? This adds a bit bloat to the .lyx but is on sthe safe side, isn't it? I'd rather have lyx2lyx on the safe side. The bloat should

Re: Warning with inset box.

2003-10-21 Thread Jose' Matos
On Tuesday 21 October 2003 18:25, Andre Poenitz wrote: > On Tue, Oct 21, 2003 at 06:17:24PM +0100, Jose' Matos wrote: > > Do you, and others, think that I should set the default values of > > the missing parameter? > > This adds a bit bloat to the .lyx but is on sthe safe side, isn't it?

Re: Warning with inset box.

2003-10-21 Thread Angus Leeming
Jose' Matos wrote: > Also with lyxl2lyx it does not need to be that way, as I can add > the different previous value if the defaults changes in the > new version. This would make easier to read LyX files. Do this. We do it elsewhere. (graphics, tabular, ...) If it's documented, it's safe.

Configuring the makefile

2003-10-21 Thread Kostantino
Hi. In the INSTALL file I read: --enable-optimization=VALUE enables you to set optimization to a higher level as the default (-O), for example --enable-optimization=-O3. So I give the following configure command: ./configure --with-frontend=qt --enable-optimization=-O3 but after the make

Re: Warning with inset box.

2003-10-21 Thread Jose' Matos
On Tuesday 21 October 2003 18:17, Jose' Matos wrote: > Hi Martin, > it is me again. ;-) > Because of it I get: > $src/lyx [several warnings] > InsetCollapsable::Read: Missing collapsed! This one is weird since colapsed is there. So something fishy is going on. :-) -- José Abílio

Re: Configuring the makefile

2003-10-21 Thread Garst R. Reese
Kostantino wrote: > > Hi. > In the INSTALL file I read: > > --enable-optimization=VALUE enables you to set optimization >to a higher level as the default (-O), for example > --enable-optimization=-O3. > > So I give the following configure command: > > ./configure --with-frontend=qt

  1   2   >