Re: [BUG] lyx1.1.6pre3 stops PS rendering

2001-01-10 Thread Ben Stanley
John Levon wrote: > On Tue, 9 Jan 2001, Ben Stanley wrote: > > > John Levon wrote: > > > > > On Wed, 3 Jan 2001, Ben Stanley wrote: > > > > > > > > > > > Hi, > > > > > > > > I tried out 1.1.6pre3 briefly, and noticed that the old bug to do with > > > > preview postscript images is still there...

Re: Precedence parenthesis (or not) (was Re: Tabular issues)

2001-01-10 Thread Allan Rae
On Wed, 10 Jan 2001, Asger K. Alstrup Nielsen wrote: > On 9 Jan 2001, Lars Gullik Bjønnes wrote: > > - () mithout meaning hides () that are really needed. > > Parenthesis are needed if the author feels they are needed. And then, they > are really needed. It's as simply as that. > > Come on,

Re: 1.1.6pre3 crash on opening doc - update

2001-01-10 Thread Ben Cazzolato
JM > Ben> (gdb) frame 6 #6 0x81d3111 in GetExtension (name=@0x84b3d18) at > Ben> filetools.C:985 985 in filetools.C (gdb) print *(name.rep) $1 = > Ben> {sz = 0, ref = 3019, res = 1, s = 0x836e988 ""} (gdb) > > Ben> Does this help? > > Yes, it did really. Another question: do you have an empty i

Re: 1.1.6pre3 crash on opening doc - update

2001-01-10 Thread Ben Cazzolato
Allan > I suspect he was trying the newfound trick of leaving off the extension > from the figure to try to support generation of PDF and ps from the one > file (since pdflatex prefers png files and we still insist on writing the > extension into the file). Not that I'm aware of. The file was w

Precedence parenthesis (or not) (was Re: Tabular issues)

2001-01-10 Thread Asger K. Alstrup Nielsen
On 9 Jan 2001, Lars Gullik Bjønnes wrote: > I will remove () that has no value when I see them. > > - two points: > - () without meaning kindo shows that the coder does not know the > precedence rules I'm sure you don't know all of them well enough to securely disambiguify any gi

Re: Bug in citation dialog

2001-01-10 Thread Asger K. Alstrup Nielsen
[Extending the ButtonController to be a generic controller, which can handle activation and deactivation of elements in the GUI according to when different criteria are valid.] It is an admirable goal to pursuit, but my experience is that it is fairly difficult to design a truly generic Controll

Re: table insets

2001-01-10 Thread Dekel Tsur
On Wed, Jan 10, 2001 at 05:03:19PM +, John Levon wrote: > which has a rendering bug, namely if you click on a different cell of a > fixed width column, the red box around the cell inset isn't removed from > the old cell. > > I couldn't reproduce the old bug though > (http://sourceforge.net/bu

Re: The only good bug is a dead bug (1.1.5fix3, status update #2)

2001-01-10 Thread Jean-Marc Lasgouttes
> "John" == John Levon <[EMAIL PROTECTED]> writes: >> - crash when changing layout >> http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg13171.html John> In 1.1.6 I can only get crashes from this by saving (either John> save, or save-while-quitting, or emergency save). A pure virtual Joh

Patch

2001-01-10 Thread Dekel Tsur
* src/insets/insettext.C (LocalDispatch): Add handling of LFUN_BREAKPARAGRAPHKEEPLAYOUT. patch.gz

Re: table insets

2001-01-10 Thread John Levon
On Wed, 10 Jan 2001, Dekel Tsur wrote: > On Wed, Jan 10, 2001 at 04:45:21PM +0100, Lars Gullik Bjønnes wrote: > > John Levon <[EMAIL PROTECTED]> writes: > > > > | are enumerate, list, etc. intentionally disabled in cell insets in a table > > | ? > > > > yes, I belive so. > > No, you can have t

Re: table insets

2001-01-10 Thread Dekel Tsur
On Wed, Jan 10, 2001 at 04:45:21PM +0100, Lars Gullik Bj&resh;nnes wrote: > John Levon <[EMAIL PROTECTED]> writes: > > | are enumerate, list, etc. intentionally disabled in cell insets in a table > | ? > > yes, I belive so. No, you can have them if you have a fixed width column.

Re: table insets

2001-01-10 Thread Lars Gullik Bjønnes
John Levon <[EMAIL PROTECTED]> writes: | are enumerate, list, etc. intentionally disabled in cell insets in a table | ? yes, I belive so. Lgb

table insets

2001-01-10 Thread John Levon
are enumerate, list, etc. intentionally disabled in cell insets in a table ? thanks john -- "It is well to remember, my son, that the entire population of the universe, with one trifling exception, is composed of others." - John Andrew Holmes

Re: lyxformat 2,17

2001-01-10 Thread Lars Gullik Bjønnes
Ralf Corsepius <[EMAIL PROTECTED]> writes: | Having set LANG=german, lyx-1.1.6pre3 and lyx-devel/head-branch | generate: | | #LyX 1.1 created this file. For more info see http://www.lyx.org/ | \lyxformat 2,17 | \textclass article | \language english | | Having set LANG=C: | #LyX 1.1 created thi

Re: Tabular issues

2001-01-10 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | > "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: | | Lars> I think we should go for lowercase. | | I think so... Now, who will do the change if Juergen is not available? should be easy enough.. .I'll do it. Lgb

Re: Tabular issues

2001-01-10 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> I think we should go for lowercase. I think so... Now, who will do the change if Juergen is not available? JMarc

Re: Tabular issues

2001-01-10 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | > "Dekel" == Dekel Tsur <[EMAIL PROTECTED]> writes: | | Dekel> On Mon, Jan 08, 2001 at 05:07:32PM +0100, Jean-Marc Lasgouttes | Dekel> wrote: | >> What about the fact that keyword are in mixed-case? Is this | >> considered good xml practice?

Re: Tabular issues

2001-01-10 Thread Jean-Marc Lasgouttes
> "Dekel" == Dekel Tsur <[EMAIL PROTECTED]> writes: Dekel> On Mon, Jan 08, 2001 at 05:07:32PM +0100, Jean-Marc Lasgouttes Dekel> wrote: >> What about the fact that keyword are in mixed-case? Is this >> considered good xml practice? I seem to remember that xml is >> case-sensitive. Dekel> Sin

Re: Tabular issues

2001-01-10 Thread Dekel Tsur
On Mon, Jan 08, 2001 at 05:07:32PM +0100, Jean-Marc Lasgouttes wrote: > What about the fact that keyword are in mixed-case? Is this considered > good xml practice? I seem to remember that xml is case-sensitive. Since we just changed the new tabular format, and we have two read methods for the new

Re: rfind and lyxstring

2001-01-10 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> I think I prefere this, yours with a small minor change. This is exactly what I commited! I knew you would prefer it :) JMarc

Re: rfind and lyxstring

2001-01-10 Thread Jean-Marc Lasgouttes
> "Dekel" == Dekel Tsur <[EMAIL PROTECTED]> writes: Dekel> This works, but I would write I commited something like what you wrote, and it seems to work. Dekel> And for lyxstring::rfind(lyxstring const & a, size_type) I Dekel> would write if (rep->sz < a.length()) return npos; ... Dekel> Ac

Re: rfind and lyxstring

2001-01-10 Thread Lars Gullik Bjønnes
Dekel Tsur <[EMAIL PROTECTED]> writes: | On Wed, Jan 10, 2001 at 11:54:36AM +0100, Lars Gullik Bjønnes wrote: | > Then I end up with something like: | > | > size_type const sz = rep->sz; | > if (!sz) return npos; | > | > size_type ii = min(sz - 1, i); | > for (int t = ii

Compilation problem using xlC

2001-01-10 Thread Kian H Low
  --  Kian H Low Chemical Engineering, UCL, Torrington Place, London WC1E 7JE U.K. 020 76793836 / 020 85208975(H)  http://www.chemeng.ucl.ac.uk/   Hi, Has anyone compiled Lyx 1.1.5 using cc/xlC for AIX 4.3.2? Configuration is okay but for compilation I keep getting 'Unable to retrieve message

Re: rfind and lyxstring

2001-01-10 Thread Dekel Tsur
On Wed, Jan 10, 2001 at 11:54:36AM +0100, Lars Gullik Bj&resh;nnes wrote: > Then I end up with something like: > > size_type const sz = rep->sz; > if (!sz) return npos; > > size_type ii = min(sz - 1, i); > for (int t = ii; t <= 0; --t) {

small patch to FormPrint

2001-01-10 Thread Angus Leeming
Adds a Browse button, so that user can choose file to print to more easily. A patch.diff.bz2

lyx-1.1.6pre3 bug: crash on formula in table

2001-01-10 Thread Ulrich Günther
lyx-1.1.6pre3 xforms 0.88 Start a new table, insert a formula into a table field (C-m) -> crash! lyx: SIGSEGV signal caught Sorry, you have found a bug in LyX. If possible, please read 'Known bugs' under the Help menu and then send us a full bug report. Thanks! lyx: Attempting to save document

Re: Bug in citation dialog

2001-01-10 Thread Angus Leeming
Allan Rae <[EMAIL PROTECTED]> wrote: > > To fix this bug we need to extend the ButtonController a little. However, > > this demonstrates the power of > > Asger's Model/View/Controller separation; the bug is present in many > > dialogs but correct the controller and all the GUI's benefit. Ok, I kn

Re: rfind and lyxstring

2001-01-10 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | cxx makes a very resonable objection: | | cxx: Warning: ../../../lyx-devel/src/support/lyxstring.C, line 1031: pointless | comparison of unsigned integer with zero | for (size_type t = ii; t >= 0; --t) { | -

Re: 1.1.6pre3 crash on opening doc - update

2001-01-10 Thread Allan Rae
On 10 Jan 2001, Jean-Marc Lasgouttes wrote: > > "Allan" == Allan Rae <[EMAIL PROTECTED]> writes: > > Allan> I suspect he was trying the newfound trick of leaving off the > Allan> extension from the figure to try to support generation of PDF > Allan> and ps from the one file (since pdflatex pr

Re: rfind and lyxstring

2001-01-10 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> None om my compiler uses lyxstring anymore so I'd be grateful if Lars> someone could test the current cvs. cxx makes a very resonable objection: cxx: Warning: ../../../lyx-devel/src/support/lyxstring.C, line 1031: pointless

Re: 1.1.6pre3 crash on opening doc - update

2001-01-10 Thread Jean-Marc Lasgouttes
> "Allan" == Allan Rae <[EMAIL PROTECTED]> writes: Allan> I suspect he was trying the newfound trick of leaving off the Allan> extension from the figure to try to support generation of PDF Allan> and ps from the one file (since pdflatex prefers png files and Allan> we still insist on writing

Re: 1.1.6pre3 crash on opening doc - update

2001-01-10 Thread Allan Rae
On 10 Jan 2001, Jean-Marc Lasgouttes wrote: > > "Ben" == Ben Cazzolato <[EMAIL PROTECTED]> writes: > > Ben> (gdb) frame 6 #6 0x81d3111 in GetExtension (name=@0x84b3d18) at > Ben> filetools.C:985 985 in filetools.C (gdb) print *(name.rep) $1 = > Ben> {sz = 0, ref = 3019, res = 1, s = 0x836e988

rfind and lyxstring

2001-01-10 Thread Lars Gullik Bjønnes
None om my compiler uses lyxstring anymore so I'd be grateful if someone could test the current cvs. Lgb

Re: 1.1.6pre3 crash on opening doc - update

2001-01-10 Thread Jean-Marc Lasgouttes
> "Ben" == Ben Cazzolato <[EMAIL PROTECTED]> writes: Ben> (gdb) frame 6 #6 0x81d3111 in GetExtension (name=@0x84b3d18) at Ben> filetools.C:985 985 in filetools.C (gdb) print *(name.rep) $1 = Ben> {sz = 0, ref = 3019, res = 1, s = 0x836e988 ""} (gdb) Ben> Does this help? Yes, it did really.

Re: 1.1.6pre3 crash on opening doc - update

2001-01-10 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> "...; t >= 0; ..." should be correct. Yes, it seems reasonable. JMarc

Re: 1.1.6pre3 crash on opening doc - update

2001-01-10 Thread Lars Gullik Bjønnes
[EMAIL PROTECTED] (Lars Gullik Bjønnes) writes: | lyxstring::size_type lyxstring::rfind(value_type c, size_type i) const | { | size_type ii = min(rep->sz - 1, i); | for (size_type t = ii; t != 0; --t) { | if (rep->s[t] == c) return t; | } | return npos;

Re: 1.1.6pre3 crash on opening doc - update

2001-01-10 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | > "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: | | Lars> Ben Cazzolato <[EMAIL PROTECTED]> writes: | JM, | | | Lars> > Could you do something like | > | > frame 6 | > print | Lars> *(name.rep) | > | > I'd be interested to see wh

Re: 1.1.6pre3 crash on opening doc - update

2001-01-10 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> Ben Cazzolato <[EMAIL PROTECTED]> writes: | JM, | | Lars> > Could you do something like | > | > frame 6 | > print Lars> *(name.rep) | > | > I'd be interested to see what the string Lars> from which the extension | > sought is.

Re: Crash bug in LyX 1.1.6pre3

2001-01-10 Thread Lars Gullik Bjønnes
Ben Stanley <[EMAIL PROTECTED]> writes: | Lyx crashed all by itself while I was off doing something else (on another | desktop). Here's the stack trace from the core dump: Yes, a crash in XForms. What 0.89 version are you using? (look in the header file for the subversion number) Lgb

Re: 1.1.6pre3 crash on opening doc - update

2001-01-10 Thread Lars Gullik Bjønnes
Ben Cazzolato <[EMAIL PROTECTED]> writes: | JM, | | > Could you do something like | > | > frame 6 | > print *(name.rep) | > | > I'd be interested to see what the string from which the extension | > sought is. I suspect that rfind is to blame, however. | | | (gdb) frame 6 | #6 0x81d3111 in G