Re: bibliographystyle

2001-08-15 Thread Herbert Voss

Herbert Voss wrote:
> 
> when i leave the field in the bib-gui for the bibliographystyle
> empty, lyx insert
> 
> \bibliographystyle{}
> 
> this is a not so bad behaviour when the documentclass
^^

i meant: not so good

Herbert


-- 
http://www.educat.hu-berlin.de/~voss/lyx/




bibliographystyle

2001-08-15 Thread Herbert Voss

when i leave the field in the bib-gui for the bibliographystyle 
empty, lyx insert

\bibliographystyle{}

this is a not so bad behaviour when the documentclass
has a predefined style, than latex produces error.

it's better, when lyx inserts nothing!

Herbert


-- 
http://www.educat.hu-berlin.de/~voss/lyx/





Re: InsetGraphics bugs

2001-08-15 Thread Baruch Even

* Garst R. Reese <[EMAIL PROTECTED]> [010815 15:00]:
> Graphics does not understand a weird file name (Old-Graphics does).

Care to give an example?

-- 
Baruch Even
http://baruch.ev-en.org/



Re: michael's bug list

2001-08-15 Thread Andre Poenitz

> > - "^" (for superscript) does not work in mathed; CTRL-space should insert
> >   a protected blank (but it doesn't)

The entity called WE decided that we won't have the same LFUN with
slightly different meanings in mathed and The Rest. So C- is not
anymore available anymore. It's M-m  for LFUN MATH_SPACE now.

> > - When entering a math formula, the red box is not drawn right in time:
> > Press CursorRight until the red box is visible -> you are already in
> > front of the second character
> 
> seems fixed.

Was fixed yesterday.

> > - Insert/Special character/Linebreak shows a very strange behaviour
> > within mathed especially if you change from math formula to display
> > formula afterwards; should this item be greyed?
> 
> well should it ? ;)

No. Why?

Andre'

-- 
André Pönitz . [EMAIL PROTECTED]



[noreply@sourceforge.net: [ lyxbugs-Bugs-438548 ] Cursor placement when exiting mathmode]

2001-08-15 Thread Andre Poenitz

> - Forwarded message from [EMAIL PROTECTED] -
> Group: None
> >Status: Closed
> >Resolution: Out of Date
> Priority: 5
> Submitted By: Eran Tromer (tromer)
> Assigned to: Andre Poenitz (apoenitz)
> Summary: Cursor placement when exiting mathmode
> 
> Initial Comment:
> When pressing  at the end of a math inset, the cursor appears to the left of 
>the inset 
> instead of its right. 
> 
> To reproduce, open a new document, type  C-m a , note cursor location.
> 
> Problems appears in current 1.2.0cvs (2001-07-04), was OK in 1.1.6fix2.


This cannot be fixed from inside src/mathed. We need a
"FINISHED_ANS_GO_RIGHT" return code for the local LFUN dispatchers.

 
> --
> 
> >Comment By: John Levon (movement)
> Date: 2001-08-15 11:11
> 
> Message:
> Logged In: YES 
> user_id=53034
> 
> This bug is out of date. Space in a math inset does nothing
> now.

It's  C-m  nowadays.

Andre'

-- 
André Pönitz . [EMAIL PROTECTED]



Re: tiny nit

2001-08-15 Thread Herbert Voss

John Levon wrote:
> 
> On Wed, Aug 15, 2001 at 09:27:07PM -0300, Garst R. Reese wrote:
> 
> > but it looks like it would be simpler to do:
> > Table List
> > Figure List

but remember:

lot, lof, loa 

therefore I prefer the list of xxx 

Herbert 


-- 
http://www.educat.hu-berlin.de/~voss/lyx/





[PATCH] support per-para line spacing

2001-08-15 Thread John Levon


this works OK for me !

thanks
john

-- 
"Not to laugh, not to lament, not to curse, but to understand."
- Spinoza

 paraline.diff.gz


[PATCH] float list naming

2001-08-15 Thread John Levon


as suggested by Garst.

thanks
john

-- 
"Not to laugh, not to lament, not to curse, but to understand."
- Spinoza


Index: src/ChangeLog
===
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/ChangeLog,v
retrieving revision 1.299
diff -u -r1.299 ChangeLog
--- src/ChangeLog   2001/08/13 21:46:19 1.299
+++ src/ChangeLog   2001/08/16 03:04:58
@@ -1,3 +1,7 @@
+2001-08-16  John Levon  <[EMAIL PROTECTED]>
+
+   * MenuBackend.C: use "Floatname List"
+
 2001-08-14  Dekel Tsur  <[EMAIL PROTECTED]>
 
* buffer.C (parseSingleLyXformat2Token): Do not generate errors
diff -u -r1.31 MenuBackend.C
--- src/MenuBackend.C   2001/08/06 19:12:44 1.31
+++ src/MenuBackend.C   2001/08/16 03:05:01
@@ -366,8 +366,7 @@
int const action =  lyxaction
.getPseudoAction(LFUN_FLOAT_LIST,
 cit->second.type());
-   string label = _("List of ");
-   label += cit->second.name();
+   string const label = cit->second.name() + _(" List");
tomenu.add(MenuItem(MenuItem::Command,
label, action));
}
diff -u -r1.188 ChangeLog
--- src/insets/ChangeLog2001/08/14 07:37:46 1.188
+++ src/insets/ChangeLog2001/08/16 03:05:58
@@ -1,3 +1,7 @@
+2001-08-16  John Levon  <[EMAIL PROTECTED]>
+
+   * insetfloatlist.C: use "FloatName List" 
+ 
 2001-08-14  Juergen Vigna  <[EMAIL PROTECTED]>
 
* insetert.C (edit): forgot to set status_ in edit calls!
diff -u -r1.7 insetfloatlist.C
--- src/insets/insetfloatlist.C 2001/08/06 19:12:18 1.7
+++ src/insets/insetfloatlist.C 2001/08/16 03:06:01
@@ -16,7 +16,7 @@
 {
string const guiName = floatList[float_type]->second.name();
if (!guiName.empty()) {
-   string const res = _("List of ") + guiName;
+   string const res = guiName + _(" List");
return res;
}
return _("ERROR nonexistant float type!");



Re: tiny nit

2001-08-15 Thread John Levon

On Thu, Aug 16, 2001 at 12:00:19AM -0300, Garst R. Reese wrote:

> John Levon wrote:
> > > Table List
> > > Figure List
> > 
> > I've done this.
> That was fast. Thanks.

btw, the reason the dialog doesn't come up is that there is no
GUI implementation for the floatlist types (yet).

I'll send a patch soon for the naming thing.

john

-- 
"Not to laugh, not to lament, not to curse, but to understand."
- Spinoza



Re: tiny nit

2001-08-15 Thread Garst R. Reese

John Levon wrote:
> > Table List
> > Figure List
> 
> I've done this.
That was fast. Thanks.
Garst



Re: tiny nit

2001-08-15 Thread John Levon

On Wed, Aug 15, 2001 at 09:27:07PM -0300, Garst R. Reese wrote:

> but it looks like it would be simpler to do:
> Table List
> Figure List

I've done this.

john

-- 
"Not to laugh, not to lament, not to curse, but to understand."
- Spinoza



tiny nit

2001-08-15 Thread Garst R. Reese

Apart from the fact that clicking on them seems to do nothing,
List of Table
List of Figure
would be better English as:
List of Tables
List of Figures
but it looks like it would be simpler to do:
Table List
Figure List
which would also be correct and save 3 bytes.

Garst



Re: 1.2.0 bugs

2001-08-15 Thread John Levon

On Wed, Aug 15, 2001 at 10:58:32PM +0200, Herbert Voss wrote:

> http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg26025.html

thanks. now #451362 on sourceforge.

regards
john

-- 
"Not to laugh, not to lament, not to curse, but to understand."
- Spinoza



Re: 1.2.0 bugs

2001-08-15 Thread Herbert Voss

John Levon wrote:

> Not included are the numerous Mathed things (dekel/eran's lists), bugs against
> Baruch's code, and Michael's purify reports.
> 
> What else is there that needs to be entered ?

this bug is always present:

http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg26025.html

Herbert


-- 
http://www.educat.hu-berlin.de/~voss/lyx/




[PATCH] new maths matrix

2001-08-15 Thread John Levon


thanks
john

-- 
"Not to laugh, not to lament, not to curse, but to understand."
- Spinoza


Index: src/frontends/xforms/ChangeLog
===
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/frontends/xforms/ChangeLog,v
retrieving revision 1.126
diff -u -r1.126 ChangeLog
--- src/frontends/xforms/ChangeLog  2001/08/15 16:30:24 1.126
+++ src/frontends/xforms/ChangeLog  2001/08/15 20:59:49
@@ -1,3 +1,10 @@
+2001-08-15  John Levon  <[EMAIL PROTECTED]>
+
+   * combox.h: fix source doc
+
+   * form_math_matrix.C: 
+   * forms/form_math_matrix.fd: new layout
+ 
 2001-08-15  Angus Leeming  <[EMAIL PROTECTED]>
 
* forms/form_character.fd: small adjustment to the position of John's
Index: src/frontends/xforms/combox.h
===
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/frontends/xforms/combox.h,v
retrieving revision 1.1
diff -u -r1.1 combox.h
--- src/frontends/xforms/combox.h   2001/03/16 12:08:12 1.1
+++ src/frontends/xforms/combox.h   2001/08/15 20:59:49
@@ -94,8 +94,10 @@
/// Remove the objects from the form they are in. 
void remove();
 
-   /**  Assign a callback to this object. The callback should be a void
-function with a int and a void pointer as parameters.
+   /** 
+* Assign a callback to this object. The callback should be a void
+* function with a int, a void pointer, and a Combox pointer as 
+* parameters.
*/
void setcallback(FL_COMBO_CB, void *);

Index: src/frontends/xforms/form_maths_matrix.C
===
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/frontends/xforms/form_maths_matrix.C,v
retrieving revision 1.1
diff -u -r1.1 form_maths_matrix.C
--- src/frontends/xforms/form_maths_matrix.C2001/03/19 15:38:22 1.1
+++ src/frontends/xforms/form_maths_matrix.C2001/08/15 20:59:49
@@ -22,17 +22,17 @@
   FL_OBJECT *obj;
   FD_form_maths_matrix *fdui = new FD_form_maths_matrix;
 
-  fdui->form = fl_bgn_form(FL_NO_BOX, 280, 170);
+  fdui->form = fl_bgn_form(FL_NO_BOX, 295, 183);
   fdui->form->u_vdata = this;
-  obj = fl_add_box(FL_UP_BOX, 0, 0, 280, 170, "");
-  fdui->slider_rows = obj = fl_add_valslider(FL_HOR_NICE_SLIDER, 10, 30, 160, 30, 
_("Rows"));
+  obj = fl_add_box(FL_UP_BOX, 0, 0, 295, 183, "");
+  fdui->slider_rows = obj = fl_add_valslider(FL_VERT_NICE_SLIDER, 10, 30, 32, 140, 
+_("Rows"));
 fl_set_object_lsize(obj, FL_NORMAL_SIZE);
 fl_set_object_lalign(obj, FL_ALIGN_TOP);
 fl_set_object_callback(obj, C_FormBaseDeprecatedInputCB, 0);
 fl_set_slider_precision(obj, 0);
 fl_set_slider_bounds(obj, 1, 20);
  fl_set_slider_return(obj, FL_RETURN_END_CHANGED);
-  fdui->slider_columns = obj = fl_add_valslider(FL_HOR_NICE_SLIDER, 10, 90, 160, 30, 
_("Columns "));
+  fdui->slider_columns = obj = fl_add_valslider(FL_HOR_NICE_SLIDER, 54, 28, 214, 30, 
+_("Columns "));
 fl_set_object_lsize(obj, FL_NORMAL_SIZE);
 fl_set_object_lalign(obj, FL_ALIGN_TOP);
 fl_set_object_callback(obj, C_FormBaseDeprecatedInputCB, 0);
@@ -41,7 +41,7 @@
  fl_set_slider_return(obj, FL_RETURN_END_CHANGED);
   {
 char const * const dummy = N_("Vertical align|#V");
-fdui->choice_valign = obj = fl_add_choice(FL_NORMAL_CHOICE, 180, 30, 90, 30, 
idex(_(dummy)));
+fdui->choice_valign = obj = fl_add_choice(FL_NORMAL_CHOICE, 56, 86, 90, 30, 
+idex(_(dummy)));
 fl_set_button_shortcut(obj, scex(_(dummy)), 1);
   }
 fl_set_object_boxtype(obj, FL_FRAME_BOX);
@@ -50,25 +50,25 @@
 fl_set_object_callback(obj, C_FormBaseDeprecatedInputCB, 0);
   {
 char const * const dummy = N_("Horizontal align|#H");
-fdui->input_halign = obj = fl_add_input(FL_NORMAL_INPUT, 180, 90, 90, 30, 
idex(_(dummy)));
+fdui->input_halign = obj = fl_add_input(FL_NORMAL_INPUT, 174, 86, 90, 30, 
+idex(_(dummy)));
 fl_set_button_shortcut(obj, scex(_(dummy)), 1);
   }
 fl_set_object_lsize(obj, FL_NORMAL_SIZE);
 fl_set_object_lalign(obj, FL_ALIGN_TOP);
 fl_set_object_callback(obj, C_FormBaseDeprecatedInputCB, 0);
-  fdui->button_ok = obj = fl_add_button(FL_RETURN_BUTTON, 10, 130, 80, 30, _("OK  "));
+  fdui->button_ok = obj = fl_add_button(FL_RETURN_BUTTON, 44, 140, 80, 30, _("OK  "));
 fl_set_object_lsize(obj, FL_NORMAL_SIZE);
 fl_set_object_callback(obj, C_FormBaseDeprecatedOKCB, 0);
   {
 char const * const dummy = N_("Apply|#A");
-fdui->button_apply = obj = fl_add_button(FL_NORMAL_BUTTON, 100, 130, 80, 30, 
idex(_(dummy)));
+fdui->button_apply = obj = fl_add_button(FL_NORMAL_BUTTON, 126, 140, 80, 30, 
+idex(_(dummy)));
 fl_set_button_shortcut(obj, scex(_(dummy)), 1);
   }
 fl_set_object_lsize(obj, FL_NORMAL_SIZE);
 fl_set_object_callback(obj, C_FormBaseDeprecatedApplyCB, 0);
   {
 char const * const dummy = N_("Cancel|^[");
-fdui->button_

[PATCH] little fixes

2001-08-15 Thread John Levon


thanks
john

-- 
"Not to laugh, not to lament, not to curse, but to understand."
- Spinoza


Index: src/ChangeLog
===
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/ChangeLog,v
retrieving revision 1.299
diff -u -r1.299 ChangeLog
--- src/ChangeLog   2001/08/13 21:46:19 1.299
+++ src/ChangeLog   2001/08/15 20:51:58
@@ -1,3 +1,15 @@
+2001-08-15  John Levon  <[EMAIL PROTECTED]>
+
+   * LyxAction.C: add internal LFUN_CITATION_INSERT
+
+   * LyXView.C: actually apply fix
+
+   * bufferlist.C: fix open non-existent file
+ 
+   * lyxfind.C: fix indentation
+ 
+   * lyxfunc.C: remove unneeded assert, fix typo
+ 
 2001-08-14  Dekel Tsur  <[EMAIL PROTECTED]>
 
* buffer.C (parseSingleLyXformat2Token): Do not generate errors
Index: src/LyXAction.C
===
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/LyXAction.C,v
retrieving revision 1.98
diff -u -r1.98 LyXAction.C
--- src/LyXAction.C 2001/08/03 18:28:03 1.98
+++ src/LyXAction.C 2001/08/15 20:52:02
@@ -153,6 +153,7 @@
  ReadOnly },
{ LFUN_CITATION_CREATE, "citation-insert",
  N_("Insert citation"), Noop },
+   { LFUN_CITATION_INSERT, "", "internal only", Noop },
{ LFUN_EXEC_COMMAND, "command-execute", "", NoBuffer },
{ LFUN_PREFIX, "command-prefix",
  N_("Execute command"), NoBuffer },
Index: src/LyXView.C
===
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/LyXView.C,v
retrieving revision 1.57
diff -u -r1.57 LyXView.C
--- src/LyXView.C   2001/08/03 18:28:03 1.57
+++ src/LyXView.C   2001/08/15 20:52:02
@@ -235,6 +235,7 @@
setWindowTitle(title);
last_title = title;
}
+   last_title = title;
 }
 
 
Index: src/bufferlist.C
===
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/bufferlist.C,v
retrieving revision 1.64
diff -u -r1.64 bufferlist.C
--- src/bufferlist.C2001/08/06 19:12:45 1.64
+++ src/bufferlist.C2001/08/15 20:52:04
@@ -350,6 +350,12 @@
// File information about normal file
FileInfo fileInfo2(s);
 
+   if (!fileInfo2.exist()) {
+   WriteAlert(_("Error!"), _("Cannot open file"), 
+   MakeDisplayPath(s));
+   return 0;
+   }
+ 
// Check if emergency save file exists and is newer.
e += OnlyFilename(s) + ".emergency";
FileInfo fileInfoE(e);
Index: src/lyxfind.C
===
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/lyxfind.C,v
retrieving revision 1.14
diff -u -r1.14 lyxfind.C
--- src/lyxfind.C   2001/08/13 11:27:53 1.14
+++ src/lyxfind.C   2001/08/15 20:52:04
@@ -104,7 +104,7 @@
bv->update(bv->getLyXText(), 
BufferView::SELECT|BufferView::FITCUR|BufferView::CHANGE);
++replace_count;
if (!once)
- found = LyXFind(bv, searchstr, fw, false, casesens, matchwrd);
+   found = LyXFind(bv, searchstr, fw, false, casesens, matchwrd);
} while (!once && replaceall && found);

if (bv->focus())
Index: src/lyxfunc.C
===
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/lyxfunc.C,v
retrieving revision 1.253
diff -u -r1.253 lyxfunc.C
--- src/lyxfunc.C   2001/08/05 22:12:00 1.253
+++ src/lyxfunc.C   2001/08/15 20:52:08
@@ -910,8 +910,6 @@
}
}
 
-   lyx::Assert(action != LFUN_SELECT_FILE_SYNC);
-
switch (action) {

case LFUN_ESCAPE:
@@ -1864,7 +1864,7 @@
owner->message(str.str().c_str());
} else {
ostringstream str;
-   str << _("Could not open docuent") << ' ' << disp_fn;
+   str << _("Could not open document") << ' ' << disp_fn;
owner->message(str.str().c_str());
}
 }



[PATCH][RESEND] menu names

2001-08-15 Thread John Levon


please apply

thanks
john

-- 
"Not to laugh, not to lament, not to curse, but to understand."
- Spinoza


Index: lib/ChangeLog
===
RCS file: /usr/local/lyx/cvsroot/lyx-devel/lib/ChangeLog,v
retrieving revision 1.86
diff -u -r1.86 ChangeLog
--- lib/ChangeLog   2001/08/13 13:52:40 1.86
+++ lib/ChangeLog   2001/08/15 19:55:51
@@ -1,3 +1,7 @@
+2001-08-15  John Levon  <[EMAIL PROTECTED]>
+
+   * ui/default.ui: sanitise math/tabular entries
+ 
 2001-07-25  André Pönitz <[EMAIL PROTECTED]>
 
* bind/math.bind:
Index: lib/ui/default.ui
===
RCS file: /usr/local/lyx/cvsroot/lyx-devel/lib/ui/default.ui,v
retrieving revision 1.62
diff -u -r1.62 default.ui
--- lib/ui/default.ui   2001/08/03 10:32:18 1.62
+++ lib/ui/default.ui   2001/08/15 19:55:51
@@ -139,10 +139,10 @@
Item "V.Align Center|n" "tabular-feature valign-center"
Item "V.Align Bottom|V" "tabular-feature valign-bottom"
Separator
-   Item "Append Row|A" "tabular-feature append-row"
-   Item "Append Column|u" "tabular-feature append-column"
-   Separator
+   Item "Add Row|A" "tabular-feature append-row"
Item "Delete Row|w" "tabular-feature delete-row"
+   Separator
+   Item "Add Column|u" "tabular-feature append-column"
Item "Delete Column|D" "tabular-feature delete-column"
 End
 
@@ -174,6 +174,7 @@
Separator
Item "Add Row" "math-row-insert"
Item "Delete Row" "math-row-delete"
+   Separator
Item "Add Column" "math-column-insert"
Item "Delete Column" "math-column-delete"
 End



1.2.0 bugs

2001-08-15 Thread John Levon


At

https://sourceforge.net/tracker/index.php?group_id=15212&atid=115212

are the bugs in the bugtracker that I think need to be fixed for 1.2.0final.

Not included are the numerous Mathed things (dekel/eran's lists), bugs against
Baruch's code, and Michael's purify reports.

What else is there that needs to be entered ?

thanks
john

-- 
"Not to laugh, not to lament, not to curse, but to understand."
- Spinoza



michael's bug list

2001-08-15 Thread John Levon


Michael, *, please comment. Michael, please add bug numbers to your bug list (thanks)

> - "^" (for superscript) does not work in mathed; CTRL-space should insert
>   a protected blank (but it doesn't)

^ works for me now. ctrl-space is #451291

> - When editing a math formula and plain text, the following console
>   message appeared: ERROR (Paragraph::GetInset): Inset does not exist: 0

more details on how to reproduce please.

> - Menu item "Insert/Special Character/Superscript" should be disabled in mathed
>   since it does not have the desired effect.

#451292

> - If I start LyX in my document directory, LyX should offer the current directory 
>   as default location in the "Open..." dialog. But it always shows the home 
>   directory instead.

this is perhaps contentious, but I agree.

#451293


> - When entering a math formula, the red box is not drawn right in time: Press
>   CursorRight until the red box is visible -> you are already in front of the
>   second character

seems fixed.

> - LyX crashes when _reading_ a file that is part of my PhD
>   (sorry I cannot give it to you at this stage :-().
>   Have a look at your comment in LyXText::appendParagraph
> 
>   FMR: Free memory read

still there ?

> - Insert a 5x5 table into the first cell of an empty 5x5 table
>   in an otherwise empty document
> 
>   FMR: Free memory read

still there ?

> - malloc and delete do not cooperate!
> 
>   FMM: Freeing mismatched memory

still there ?

> - When loading an old (1.1.6) document, the status of newly created
>   ERT insets is not initialized

fixed yes ?

> - The scroll button of the mouse does not work with insets; the problem
>   seems to occur if the cursor is set right after an inset (BTW: pressing
>   CursorDown repetitively works! I thought this is equivalent???)

I don't have a scrollwheel, can't test.

> - Does configure really support "--with-included-gettext"? It is not
>   listed in the summary at the end of the configure run
>   (but "--with-included-string" is).

anyone ?

> configure.in: 969: required file `config/ltconfig' not found
>   This happens with Mandrake Linux 7.2 and SUN Sparc Solaris (latest libtool)
>   Despite the fact that it does not hurt: Why does this happen?

pass.

> - Bug in case-INsensitive find & replace: Replace "a" by "z" stepwisely; 
>   LyX highlights capital A's but it does _not_ replace them.

fixed.

> - Searching _backwards_ in the "find & replace" dialog does not work with
>   minipages; go to the end of document "foo.lyx" and search backwards for 
>   word "pfui" which is not in the document -> the table is scanned twice!  

can I have foo.lyx please ?

> - Insert a table into a table into a table. Then undo the last insertion
>-> the table cell size is not updated correctly

#451273

> - Insert/Special character/Linebreak shows a very strange behaviour within 
>   mathed especially if you change from math formula to display formula 
>   afterwards; should this item be greyed?

well should it ? ;)

> - Is it possible to make a menu grey if all subitems are grey (as it is the
>   case with Insert/Floats when you are editing a math formula)?



> - Insert an ERT inside a text paragraph, delete it, undo the deletion
>   and undo once again 
> 
>   FMR: Free memory read

still there ?

> - Add a note to an empty document; add three lines of text into the note;
>   cut some of the text (in all lines); undo the operation -> note is not
>   drawn correctly ("past the end of the document")

#451286 (I think)

> - Add a footnote to an empty document then add some text into the footnote;
>   undo all operations (-> empty doc again), then redo all operations
>   -> the footnote reappears but the text inside the footnote is lost

#451296

in fact, the text is pasted /after/ the footnote. deleting the footnote at
that point has very strange behaviour, and I got a crash.

> - Nested tables result in inaccurate cursor placement (cursor is placed
>   a few pixels too high; after first redraw it is correct). 
>   In addition, sometimes a vertical bar among the
>   whole table is wiped out (not redrawn after set to brackground?)

cannot reproduce this. more details please !

> - Insert a table into a table cell. Then insert another table
>   in the inserted table but this time forget to place the cursor inside
>   the red box of the cell -> infinite loop

I can't reproduce this now.

> - Spell checker hangs on my document (ask for details if
>   all other bugs have been fixed :-))



> - Uninitialized memory read/Error in mathed with regard to istream 
>   (see console message)

? do you mean input stream is not well ?

> - The splash screen still hides some initial dialogs; please implement 
>   it as a background picture that is shown when no document is opened

unlikely to fix before 1.2.0. #451297

> - Remove those creatures from the splash screen for a more professional
>   look'n'feel; will the LyX mascot be polished a little bit as

Re: Nasty collapsible inset bug

2001-08-15 Thread Dekel Tsur

On Wed, Aug 15, 2001 at 08:24:15PM +0100, John Levon wrote:
> On Sat, Aug 11, 2001 at 09:42:11PM +0300, Dekel Tsur wrote:
> 
> > Start a new document, create a right aligned paragraph, and then insert
> > a collapsible inset (footnote/note/ert etc.), and LyX will go into an
> > infinite rendering loop...
> 
> this seems fixed. is it ?

Yes.



Re: Nasty collapsible inset bug

2001-08-15 Thread John Levon

On Sat, Aug 11, 2001 at 09:42:11PM +0300, Dekel Tsur wrote:

> Start a new document, create a right aligned paragraph, and then insert
> a collapsible inset (footnote/note/ert etc.), and LyX will go into an
> infinite rendering loop...

this seems fixed. is it ?

john

-- 
"Not to laugh, not to lament, not to curse, but to understand."
- Spinoza



insets extending to the edge of work area

2001-08-15 Thread John Levon


I thought this had been fixed to lave some space at the right hand side ?

It doesn't in current CVS !

john

-- 
"Not to laugh, not to lament, not to curse, but to understand."
- Spinoza



xforms inputCB

2001-08-15 Thread John Levon


how the bally hell do you get the key pressed from an InputCB ?

I need input_search is FormCitation to only search if I've pressed return !

john

-- 
"Not to laugh, not to lament, not to curse, but to understand."
- Spinoza



Re: ERT - PopUp-menu

2001-08-15 Thread John Levon

On Tue, Aug 07, 2001 at 01:44:55PM +0200, Juergen Vigna wrote:

> 
> On 07-Aug-2001 Herbert Voss wrote:
> > open the popup menu of an ert with right mouse
> > button and close it. on screen you get a new empty 
> > line! this only happens when you do nothing in the
> > popup menu!
> 
> Could you specify? I cannot reproduce this!

This happens when the ERT inset is in Collapsed state only.

confirmed.

john

-- 
"Not to laugh, not to lament, not to curse, but to understand."
- Spinoza



Artwork 15.Aug2001

2001-08-15 Thread Reinhard Stepanek

As suggested by Herbert, the "tex-mode" button is now also available in red.

http://mailbox.univie.ac.at/Reinhard.Stepanek/lyx/lyx_artwork_icons.html

Juergen Vigna wrote:
[snip]
 > had a look at your lyx-banner page and while the first one is nice it
 >as IMO to much colors. Is it possible to have it with fewer colors, but
 >oldint the blue, yellow, red? If that is possible (maybe colors n < 32)
 >hen I would propose this rerendered banner for 1.2.0.
[snip]

I tried it in 30 and 16 colors.
I would prefer the version with 30 colors. The antialiasing effect is 
better there.
24 colors or so wouldn't make any difference to the version with 16 colors 
refering to antialiasing.

http://mailbox.univie.ac.at/Reinhard.Stepanek/lyx/lyx_artwork_banner.html

Have fun!Reinhard




Re: Collection of compiler warnings

2001-08-15 Thread Angus Leeming

On Friday 27 July 2001 18:31, Lars Gullik Bjønnes wrote:
> Michael Schmitt <[EMAIL PROTECTED]> writes:
> 
> | Hi,
> | 
> | below find a list of all compiler warnings reported by g++ 2.95.3.
> 
> And these are the only real warnings.
> 
> | insetgraphics.C:264: warning: initialization to `int' from `float'
> | insetref.C:37: warning: unused parameter `class BufferView * bv'
> | ControlCharacter.C:193: warning: enumeration value `LATEX_TOGGLE' not 
handled in switch
> | FormMathsPanel.C:244: warning: enumeration value `MM_DOTS' not handled in 
switch

Am I correct to say that LaTeX is no longer a font property and that I can 
therefore remove LATEX_TOGGLE from the helper enum in the frontends?

namespace character {
///
enum FONT_STATE {
///
IGNORE,
///
EMPH_TOGGLE,
///
UNDERBAR_TOGGLE,
///
NOUN_TOGGLE,
///
LATEX_TOGGLE,
///
INHERIT
};
}

It is used to fill the Misc choice item in the Character dialog (Latex mode), 
but isn't actually acted upon, hence the warning posted by Michael, above:

void ControlCharacter::setBar(character::FONT_STATE val)
{
switch (val) {
case character::IGNORE:
font_->setEmph(LyXFont::IGNORE);
font_->setUnderbar(LyXFont::IGNORE);
font_->setNoun(LyXFont::IGNORE);
break;

case character::EMPH_TOGGLE:
font_->setEmph(LyXFont::TOGGLE);
break;

case character::UNDERBAR_TOGGLE:
font_->setUnderbar(LyXFont::TOGGLE);
break;

case character::NOUN_TOGGLE:
font_->setNoun(LyXFont::TOGGLE);
break;

case character::INHERIT:
font_->setEmph(LyXFont::INHERIT);
font_->setUnderbar(LyXFont::INHERIT);
font_->setNoun(LyXFont::INHERIT);
break;
}
}

Angus




Problem with math bindings

2001-08-15 Thread Dekel Tsur

The math bindings do not work: for example M-m f generates 'rac' on screen.
The corresponding line in math.bind is
 \bind "M-m f"  "math-insert \frac"

The problem is that the \ is considered as an escape char so we actually bind
"math-insert frac" to M-m f.
Of course, we can use
 \bind "M-m f"  "math-insert \\frac"
but this is ugly.

One possible solution is to consider the \ char as a normal character if the
next character is not \ or ".
I've attached a patch for this.

Changelog:

2001-08-15  Dekel Tsur  <[EMAIL PROTECTED]>

* lyxlex_pimpl.C (next): Treat \ as normal char if not followed by "
or \.

 patch.gz


Re: before the first pre (follow up)

2001-08-15 Thread Garst R. Reese

"Garst R. Reese" wrote:
> 
> Insert a 9 x 9 cm .eps file in a figure float.
> The red box extends off the right side of the screen.
This does not happen if I centre the paragraph.
> The .eps figure is not centred and does not have a consistent placing.
Nor this.
> A short caption is centred on the page.
> A long caption starts at the left edge of figure (OK)
> All of this is true with both Old-Graphics and Graphics
> Graphics does not render in LyX (known bug)
> Graphics does not understand a weird file name (Old-Graphics does).
> Garst



You'll Profit If You Read This, It's HOT!!

2001-08-15 Thread doebg


Lowest Rates on the Internet.



Process Credit Cards From Any Country In Real-Time, and Receive the Funds Generated By 
Your Sales in 24 hours from Any Where!!!



http://www.boziklight.com";> Click Here 
for more information or to apply.



mailto:[EMAIL PROTECTED]";> Click Here 
to remove yourself from our list.






Re: math bug in cvs

2001-08-15 Thread Andre Poenitz

> (if I understands this correctly)... yes why not.
> 
> ...but to avoid rewriting anything in the parser, output it into a
> ostringstream and pass that to the parser just as usual.

That would be the simple solution. Indeed.

Andre'

-- 
André Pönitz . [EMAIL PROTECTED]



Re: math bug in cvs

2001-08-15 Thread Andre Poenitz

> | reading this formula with 1.2.0 gives always the message
> | that the file may be corrupted (truncated). 
> | so far so good, but lyx ignores all the text behind 
> | this formula.
> 
> so the formula parser does not read (and remove) the \end_inset...

It ignores after its own end everything up to the next \end_inset.

I think the only comparatively safe way is to have the lexer reading into a
vector up to an \end_inset and let the "real parser" operate on
this thing. So an \end_inset cannot be ignored by some wierd structure the
parser does not understand...

Maybe I should simply do that.

Andre'

-- 
André Pönitz . [EMAIL PROTECTED]



Re: math bug in cvs

2001-08-15 Thread Andre Poenitz

> sure! but it was lyx which allowed the user to do that! 
> and btw: it's no problem to run this with latex! means
> it's allowed latex stuff ...

Ok. I did not know that, so this has to be fixed indeed.

> > It would be pretty difficult to parse bad input, given that it's already a
> > pain to parse correct input...
> 
> this is another question. why do you have environments
> \begin_inset TYPE
> \end_inset
> 
> when you never stop parsing TYPE with reaching \end_inset???

That's how the outside world does insets. The math parser reads from a $,
\[, \begin{eqnarray} to the corresponding end token. In this case the end
token gets swallowed when the parser tries to read the second but last cell
of the eqnarray which it expects to be terminated by a & and nothing else.

> > It is not. Actually, it does not even fit well into the scheme, since it
> > contains an underscore which is usually not allowed in latex macro names...
> 
> I don't know if I understand well: you mean, that all
> lyx1.1.6 and older files can't be read with 1.2.0 when 
> they have this little unimportant bug in a formula

I don't know that either ;-)

Andre'

-- 
André Pönitz . [EMAIL PROTECTED]



Re: math bug in cvs

2001-08-15 Thread Herbert Voss

Andre Poenitz wrote:
> 
> > 1.1.6fix3:
> > in an equnarray you can delete the lower right cell.
> > the formula than looks like
> >
> > \begin_inset Formula \begin{eqnarray*}
> > 11 & 21 & 31\\
> > 21 & 22 & 23\\
> > 31 & 32 <- missing cell!
> > \end{eqnarray*}
> >
> > \end_inset
> >
> But that's no well formed LaTeX, even if 1.1.6 allows you to create such
> beasts.

sure! but it was lyx which allowed the user to do that! 
and btw: it's no problem to run this with latex! means
it's allowed latex stuff ...

> It would be pretty difficult to parse bad input, given that it's already a
> pain to parse correct input...

this is another question. why do you have environments
\begin_inset TYPE
\end_inset

when you never stop parsing TYPE with reaching \end_inset???

> > I suppose, that "\end_inset" is not a real delimiter
> > for parsing formulas.
> 
> It is not. Actually, it does not even fit well into the scheme, since it
> contains an underscore which is usually not allowed in latex macro names...

I don't know if I understand well: you mean, that all
lyx1.1.6 and older files can't be read with 1.2.0 when 
they have this little unimportant bug in a formula

Herbert


-- 
http://www.educat.hu-berlin.de/~voss/lyx/