branch unfreezed

2010-05-20 Thread Jürgen Spitzmüller
The freeze is lifted.

Jürgen


LyX SVN and Geometry Package

2010-05-20 Thread Rob Oakes
Dear LyX Developers,

I just recently updated to the most recent SVN of LyX 2.  After doing
so, I've seen a huge increase in clashes with the geometry package.

It appears as though LyX is now adding
\usepackage[letterpaper]{geometry} to the preamble of all LyX documents,
including in instances where US letter is not the default.  Is there a
reason for this change or would it be alright to submit a patch that
reverts LyX to its previous behavior?  (In a run of six docs that I
tested, I was having option clash errors in four of them.)

Also, might it be possible to modify LyX's behavior so instead of
loading the package with specified options, as in:

\usepackage[letterpaper]{geometry}

might it instead use the \geometry macro to specify paper size and
margins:

\usepackage{geometry}
\geometry{letterpaper,hmargin=1.0in,vmargin=1.0in}

The latter approach would accomplish the same thing, but might avoid
conflicts with document classes that also use geometry.

Cheers,

Rob Oakes



RE: Decimal align in tables

2010-05-20 Thread e . leuven
 Your patch doesn't compile:
 This is only a typo (: needed instead of ?).

Yes

 But your patch causes more problems:

i cannot reproduce these crashes

 What is the LaTeX mechanism that 
you are using?

Essentially the one of table 2.20

 What can I enter in the align on decimal field?

The character on which you want the column to be aligned

 What does the align on decimal button in the toolbar?

It uses the, for now hardcoded, default alignment character '.'

ed.



Re: r34390 - in lyx-devel/trunk: lib/doc src

2010-05-20 Thread Pavel Sanda
Enrico Forestieri wrote:
 On Sun, May 09, 2010 at 09:24:56AM +0200, Pavel Sanda wrote:
 
  for...@lyx.org wrote:
   Author: forenr
   Date: Sun May  9 01:53:35 2010
   New Revision: 34390
   URL: http://www.lyx.org/trac/changeset/34390
   
   Log:
   Fix reverse search when the filename contains a forbidden character
   (including, but not only, spaces).
  
  thanks. also for branch?
 
 I think it is pretty safe and we already have a status.16x entry for
 problems with spaces in the temp dir as regards reverse search. Jürgen?


1.6.7? pavel


Re: [patch] fix for bug 2359

2010-05-20 Thread Jean-Marc Lasgouttes

Le 20 mai 10 à 03:22, Uwe Stöhr a écrit :

The attached bug fixes http://www.lyx.org/trac/ticket/2359 - it is  
no longer possible to insert a split environment to inline formulas.


The remaining problem is that the menu Insert-Math-Split is not  
disabled when the cursor is in an inline equation. How can this be  
done?


Here is an updated patch:

1/ do the test in InsetMathNest, where it belongs IMO (this can be  
discussed)


2/ get rid of the math-mode on things in menu definitions, since  
Text::dispatch does the right (?) thing

  (this can be discussed too)

Uwe, does this solve your concerns?

JMarc



bug2359-2.diff
Description: Binary data




[ANNOUNCE] LyX 1.6.6 is released

2010-05-20 Thread Jürgen Spitzmüller
Public release of LyX version 1.6.6
===

We are pleased to announce the release of LyX 1.6.6. This is the sixth
maintenance release in the 1.6.x series.

The release features a long list of fixes and improvements. Yet a number
of crashes, reported by our users or our automatic stability testing
program, were fixed. Moreover, LyX was improved in many details. It also
introduces new features, such as support for the enchant spell checking
backend and for aspell language varieties (such as old and new German
spelling in parallel).

A detailed list of changes is appended below, remaining known problems
are listed in the file RELEASE-NOTES.

Please note particularly that there's an unresolved bug (#6680) that might
crash LyX when using undo with the outliner opened. This bug only manifests
itself when LyX is compiled against Qt 4.6, so we encourage you to compile
LyX against Qt 4.5, if possible. Also note that LyX 1.6.6 behaves way better
with Qt 4.6 than its predecessors. So despite the aforementioned problem, we
urge all distributors who use Qt 4.6 to upgrade to this version.

All users are encouraged to upgrade to this version.

In case you are wondering what LyX is, here is what
http://www.lyx.org/ has to say on the subject:

   LyX is a document processor that encourages an approach to writing
   based on the structure of your documents, not their appearance. It
   is released under a Free Software/Open Source license.

   LyX is for people that write and want their writing to look great,
   right out of the box. No more endless tinkering with formatting
   details, 'finger painting' font attributes or futzing around with
   page boundaries. You just write. In the background, Prof. Knuth's
   legendary TeX typesetting engine makes you look good.

   On screen, LyX looks like any word processor; its printed output --
   or richly cross-referenced PDF, just as readily produced -- looks
   like nothing else. Gone are the days of industrially bland .docs,
   all looking similarly not-quite-right, yet coming out unpredictably
   different on different printer drivers. Gone are the crashes
   'eating' your dissertation the evening before going to press.

   LyX is stable and fully featured. It is a multi-platform, fully
   internationalized application running natively on Unix/Linux, the
   Macintosh and modern Windows platforms.

You can download LyX 1.6.6 here (the .bz2 are compressed with bzip2,
which yields smaller files):

ftp://ftp.lyx.org/pub/lyx/stable/1.6.x/lyx-1.6.6.tar.gz
ftp://ftp.lyx.org/pub/lyx/stable/1.6.x/lyx-1.6.6.tar.bz2
ftp://ftp.devel.lyx.org/pub/lyx/stable/lyx-1.6.6.tar.gz
ftp://ftp.devel.lyx.org/pub/lyx/stable/lyx-1.6.6.tar.bz2

and it should propagate shortly to the following mirrors (which will
also host the .bz2 versions):

ftp://ftp.lip6.fr/pub/lyx/stable/1.6.x/lyx-1.6.6.tar.gz
http://lyx.cybermirror.org/stable/1.6.x/lyx-1.6.6.tar.gz
ftp://gd.tuwien.ac.at/publishing/tex/lyx/stable/1.6.x/lyx-1.6.6.tar.gz
ftp://ftp.ntua.gr/pub/X11/LyX/stable/1.6.x/lyx-1.6.6.tar.gz

http://sunsite.icm.edu.pl/pub/unix/editors/lyx/stable/1.6.x/lyx-1.6.6.tar.gz
http://lyx.mirror.fr/stable/1.6.x/lyx-1.6.6.tar.gz

Prebuilt binaries (rpms for Linux distributions, Mac OS X and Windows
installers) should soon be available at:

ftp://ftp.lyx.org/pub/lyx/bin/1.6.6/

If you already have the sources of the previous release (1.6.4.2), you may
want to apply one of the following patches instead:

ftp://ftp.lyx.org/pub/lyx/stable/1.6.x/patch-1.6.6.gz
ftp://ftp.lyx.org/pub/lyx/stable/1.6.x/patch-1.6.6.bz2

If you find what you think is a bug in LyX 1.6.6, you may either
e-mail the LyX developers' mailing list (lyx-devel at lists.lyx.org),
or open a bug report at http://www.lyx.org/trac/

If you're having trouble using the new version of LyX, or have a
question, first check out http://www.lyx.org/help/. If you can't find
the answer there, e-mail the LyX users' list (lyx-users at lists.lyx.org).

Enjoy!

The LyX team.


What's new in version 1.6.6?


** Updates:
***

* DOCUMENT INPUT/OUTPUT

- LyX now supports SVG images when either the librsvg library or
  Inkscape (version 0.47 recommended) is installed (bug 3349).

- LaTeX import (tex2lyx) now recognizes the types of quotes dependent
  on the document language. (When importing e.g. a Spanish document,
  LyX will use comillas latinas as quotes.)

- Add support for Aspell language varieties. This enables proper support
  of German old and new spelling in parallel when aspell (library) is
  used (bug 4657).

- Add support for the enchant spellchecker (bug 6226). LyX needs to be
  compiled --with-enchant in order to use this feature.


* USER INTERFACE

- Checking all opened files for external change after updating from SVN
  repository (part of bug 5211).

- Add a Close All menu item to the menu (bug 

Re: 1.6.6 - Windows issue

2010-05-20 Thread Pavel Sanda
Uwe Stöhr wrote:
 What about Instantpreview in LyX 1.6.6 on Linux and Mac? Does it work for 
 all our documentation files. If so, does your LaTeX distribution contains a 
 file in the form of c70***.fd?

Vincent claimed to have some problem at the end of #6369. pavel


[patch] Re: LyX SVN and Geometry Package

2010-05-20 Thread Rob Oakes
Dear LyX Developers,

Attached is a simple patch which adds the PAPER_DEFAULT to the list of
options where the geometry package is *not* required.  This resolves the
geometry clashes I reported yesterday.

Cheers,

Rob


=== modified file 'src/BufferParams.cpp'
--- src/BufferParams.cpp	2010-05-20 14:31:40 +
+++ src/BufferParams.cpp	2010-05-20 14:33:26 +
@@ -1178,6 +1178,7 @@
 	// all paper sizes except of A4, A5, B5 and the US sizes need the
 	// geometry package
 	bool nonstandard_papersize = papersize != PAPER_USLETTER
+ papersize != PAPER_DEFAULT
 		 papersize != PAPER_USLEGAL
 		 papersize != PAPER_USEXECUTIVE
 		 papersize != PAPER_A4



Re: LyX does not insert an \\ when inserting a \Split\ environment

2010-05-20 Thread Paul A. Rubin

On 5/19/2010 8:31 PM, Uwe Stöhr wrote:


It seems that LyX 1.6.5 had a bug with the split environment that is
fixed in LyX 1.6.6 (http://www.lyx.org/trac/ticket/6700).



Uwe,

I just saw your comment on ticket 6700 indicating that you thought it 
impossible for the bug to exist.  Would a video showing how it occurs help?


I'll test 1.6.6 on the same machine (Win XP) in a few days to confirm 
that the bug is gone.


/Paul



LyX leaves empty file index in pwd

2010-05-20 Thread Guenter Milde
Dear LyXers,

since some time, I find strange files named index with no
content here and there in my directories.

Today I examined the problem and found out that my LyX
(LyX 1.6.5 (2009-12-05) from the Debian/testing package) leaves them
behind in the working directory.

How to reproduce: 

* go to a test directory
* open LyX
* close LyX
* list the files (e.g. `ls -l`)

Anyone else sees this problem?

It does not occur with my home-compiled LyX 2.0.0svn.

Günter

Günter



Re: LyX leaves empty file index in pwd

2010-05-20 Thread Pavel Sanda
Guenter Milde wrote:
 Anyone else sees this problem?

long known problem, check the thread Random leftover file in archives.
iirc Vincent tried to address this recently, so try again with 1.6.6.

pavel


Re: LyX does not insert an \\\\\\ when inserting a \\\Split\\\ environment

2010-05-20 Thread Uwe Stöhr

 Would a video showing how it occurs help?

Sure. Additionally, what is the entry for split in your stdmenus.inc file?

regards Uwe


Re: Spellcheck in 1.6.6 misses every second word

2010-05-20 Thread Uwe Stöhr

Am 20.05.2010 20:28, schrieb Sven Hoexter:


I don't see this (and I cannot imagine what could have caused this). Could you
post a test file?


Sure see the attached german one.

Round one:
Catches Deis, correct it to Dies, next word detected is eni.


Now I can reproduce it too. It only occurs after one corrected a word. 
When ignoring Deis, istt is correctly detected as next misspelled word.

Can you please report this as LyX bug?

thanks and regards
Uw


Re: Spellcheck in 1.6.6 misses every second word

2010-05-20 Thread Sven Hoexter
On Thu, May 20, 2010 at 08:52:09PM +0200, Uwe Stöhr wrote:

Hi,

 Can you please report this as LyX bug?

Done:
http://www.lyx.org/trac/ticket/6708

Sven
-- 
If God passed a mic to me to speak
I'd say stay in bed, world
Sleep in peace
   [The Cardigans - 03:45: No sleep]


Re: LyX does not insert an \\\\\\ when inserting a \\\Split\\\ environment

2010-05-20 Thread Uwe Stöhr

Am 20.05.2010 21:15, schrieb Paul A. Rubin:


Here's a link to the video (only about one minute, Flash format):
http://storemedia.vudat.msu.edu/public/display_package.php?src=download/rubin/name=split


I do the same as you and get the two columns. (Only tested here again 
with LyX 1.6.6.) Does it work for you in todays released LyX 1.6.6?


Btw. I like your video, how did you created it?


The entry in stdmenus.inc is:

Item Split Environment|S command-sequence math-mode on; math-insert
\split; tabular-feature append-column

You can see it in the status window if you freeze the video at the
correct point.


I don't get the info Can't change number of columns in 'equation'. It 
seems that you are using a special math option as default which causes 
the problem. Can you please send me the LyX file you used in your video?


(I'll later have a look at the LyX code that triggers this message and 
report back.)


thanks and regards
Uwe


Re: LyX does not insert an \\\\\\ when inserting a \\\Split\\\ environment

2010-05-20 Thread Paul A. Rubin

On 5/20/2010 1:02 PM, Uwe Stöhr wrote:

 Would a video showing how it occurs help?

Sure. Additionally, what is the entry for split in your stdmenus.inc 
file?


regards Uwe

Here's a link to the video (only about one minute, Flash format): 
http://storemedia.vudat.msu.edu/public/display_package.php?src=download/rubin/name=split 
http://storemedia.vudat.msu.edu/public/display_package.php?src=download/rubin/name=split.


The entry in stdmenus.inc is:

Item Split Environment|S command-sequence math-mode on; math-insert 
\split; tabular-feature append-column


You can see it in the status window if you freeze the video at the 
correct point.


Cheers,
Paul




Re: LyX does not insert an \\\\\\ when inserting a \\\Split\\\ environment

2010-05-20 Thread Uwe Stöhr

Am 21.05.2010 00:09, schrieb Paul A. Rubin:


how did you created it?

Camtasia Studio (http://www.techsmith.com/camtasia.asp). It's the
primary tool for screen captures at my school. (I believe the company
was started by some of our graduates.)


This is a very powerful tool, I like especially the cursor tool. Unfortunately 
it is too expensive.


Attached. I don't think there's anything special in the document, though
-- if I open it in 1.6.6 and add another display equation with Split,
the new equation is handled correctly.


So I'm going to mark bug 6700 as fixed in LyX 1.6.6.
I tested your file with LyX 1.6.5 and could not reproduce your problem - strange. But anyway, it 
works now for you.


regards Uwe


Re: [patch] Re: LyX SVN and Geometry Package

2010-05-20 Thread Uwe Stöhr

 Attached is a simple patch which adds the PAPER_DEFAULT to the list of
 options where the geometry package is *not* required.

Many thanks. I missed to add this when I revised LyX paper size handling.
I committed your patch.

regards Uwe


Re: [patch] fix for bug 2359

2010-05-20 Thread Uwe Stöhr

 Here is an updated patch:

 1/ do the test in InsetMathNest, where it belongs IMO (this can be discussed)

Fine with me.
I chose InsetMathHull because Georg proposed this in
http://www.lyx.org/trac/ticket/2359#comment:5

 2/ get rid of the math-mode on things in menu definitions, since 
Text::dispatch does the right
 (?) thing (this can be discussed too)

I cannot state if Text::dispatch does the right thing as I don't know this code 
well enough
However, this removal fixes the remaining issue: the split menu is now correctly disabled. It seems 
that we have a bug here: the menu disabling only works when the command is the first one in the menu 
sequence. I mean when we have this entry


Item Split Environment|S command-sequence math-insert \split; inset-modify 
tabular append-column

your patch works and the menu is disabled. The menu is not disabled when the 
entry is

Item Split Environment|S command-sequence math-display; math-insert \split; inset-modify tabular 
append-column


Should I report this as bug to our tracker?

 Uwe, does this solve your concerns?

Not completely because when you set the cursor outside of an equation and then use the menu 
Insert-Math-Split, you still get an inline equation with a split environment that causes a 
LaTeX-error.

In this case we need to create a displayed equation and then split.
This can be done with this line:
Item Split Environment|S command-sequence math-display; math-insert \split; inset-modify tabular 
append-column


Unfortunately this solution doesn't work because of the problem mentioned above and because of 
http://www.lyx.org/trac/ticket/6709


thanks and regards
Uwe

p.s. Can you please add version 1.6.6 in our bug tracker


branch unfreezed

2010-05-20 Thread Jürgen Spitzmüller
The freeze is lifted.

Jürgen


LyX SVN and Geometry Package

2010-05-20 Thread Rob Oakes
Dear LyX Developers,

I just recently updated to the most recent SVN of LyX 2.  After doing
so, I've seen a huge increase in clashes with the geometry package.

It appears as though LyX is now adding
\usepackage[letterpaper]{geometry} to the preamble of all LyX documents,
including in instances where US letter is not the default.  Is there a
reason for this change or would it be alright to submit a patch that
reverts LyX to its previous behavior?  (In a run of six docs that I
tested, I was having option clash errors in four of them.)

Also, might it be possible to modify LyX's behavior so instead of
loading the package with specified options, as in:

\usepackage[letterpaper]{geometry}

might it instead use the \geometry macro to specify paper size and
margins:

\usepackage{geometry}
\geometry{letterpaper,hmargin=1.0in,vmargin=1.0in}

The latter approach would accomplish the same thing, but might avoid
conflicts with document classes that also use geometry.

Cheers,

Rob Oakes



RE: Decimal align in tables

2010-05-20 Thread e . leuven
> Your patch doesn't compile:
> This is only a typo (: needed instead of ?).

Yes

> But your patch causes more problems:

i cannot reproduce these crashes

> What is the LaTeX mechanism that 
you are using?

Essentially the one of table 2.20

> What can I enter in the align on decimal field?

The character on which you want the column to be aligned

> What does the "align on decimal" button in the toolbar?

It uses the, for now hardcoded, default alignment character '.'

ed.



Re: r34390 - in lyx-devel/trunk: lib/doc src

2010-05-20 Thread Pavel Sanda
Enrico Forestieri wrote:
> On Sun, May 09, 2010 at 09:24:56AM +0200, Pavel Sanda wrote:
> 
> > for...@lyx.org wrote:
> > > Author: forenr
> > > Date: Sun May  9 01:53:35 2010
> > > New Revision: 34390
> > > URL: http://www.lyx.org/trac/changeset/34390
> > > 
> > > Log:
> > > Fix reverse search when the filename contains a forbidden character
> > > (including, but not only, spaces).
> > 
> > thanks. also for branch?
> 
> I think it is pretty safe and we already have a status.16x entry for
> problems with spaces in the temp dir as regards reverse search. Jürgen?


1.6.7? pavel


Re: [patch] fix for bug 2359

2010-05-20 Thread Jean-Marc Lasgouttes

Le 20 mai 10 à 03:22, Uwe Stöhr a écrit :

The attached bug fixes http://www.lyx.org/trac/ticket/2359 - it is  
no longer possible to insert a split environment to inline formulas.


The remaining problem is that the menu Insert->Math->Split is not  
disabled when the cursor is in an inline equation. How can this be  
done?


Here is an updated patch:

1/ do the test in InsetMathNest, where it belongs IMO (this can be  
discussed)


2/ get rid of the "math-mode on" things in menu definitions, since  
Text::dispatch does the right (?) thing

  (this can be discussed too)

Uwe, does this solve your concerns?

JMarc



bug2359-2.diff
Description: Binary data




[ANNOUNCE] LyX 1.6.6 is released

2010-05-20 Thread Jürgen Spitzmüller
Public release of LyX version 1.6.6
===

We are pleased to announce the release of LyX 1.6.6. This is the sixth
maintenance release in the 1.6.x series.

The release features a long list of fixes and improvements. Yet a number
of crashes, reported by our users or our automatic stability testing
program, were fixed. Moreover, LyX was improved in many details. It also
introduces new features, such as support for the enchant spell checking
backend and for aspell language varieties (such as old and new German
spelling in parallel).

A detailed list of changes is appended below, remaining known problems
are listed in the file RELEASE-NOTES.

Please note particularly that there's an unresolved bug (#6680) that might
crash LyX when using undo with the outliner opened. This bug only manifests
itself when LyX is compiled against Qt 4.6, so we encourage you to compile
LyX against Qt 4.5, if possible. Also note that LyX 1.6.6 behaves way better
with Qt 4.6 than its predecessors. So despite the aforementioned problem, we
urge all distributors who use Qt 4.6 to upgrade to this version.

All users are encouraged to upgrade to this version.

In case you are wondering what LyX is, here is what
http://www.lyx.org/ has to say on the subject:

   LyX is a document processor that encourages an approach to writing
   based on the structure of your documents, not their appearance. It
   is released under a Free Software/Open Source license.

   LyX is for people that write and want their writing to look great,
   right out of the box. No more endless tinkering with formatting
   details, 'finger painting' font attributes or futzing around with
   page boundaries. You just write. In the background, Prof. Knuth's
   legendary TeX typesetting engine makes you look good.

   On screen, LyX looks like any word processor; its printed output --
   or richly cross-referenced PDF, just as readily produced -- looks
   like nothing else. Gone are the days of industrially bland .docs,
   all looking similarly not-quite-right, yet coming out unpredictably
   different on different printer drivers. Gone are the crashes
   'eating' your dissertation the evening before going to press.

   LyX is stable and fully featured. It is a multi-platform, fully
   internationalized application running natively on Unix/Linux, the
   Macintosh and modern Windows platforms.

You can download LyX 1.6.6 here (the .bz2 are compressed with bzip2,
which yields smaller files):

ftp://ftp.lyx.org/pub/lyx/stable/1.6.x/lyx-1.6.6.tar.gz
ftp://ftp.lyx.org/pub/lyx/stable/1.6.x/lyx-1.6.6.tar.bz2
ftp://ftp.devel.lyx.org/pub/lyx/stable/lyx-1.6.6.tar.gz
ftp://ftp.devel.lyx.org/pub/lyx/stable/lyx-1.6.6.tar.bz2

and it should propagate shortly to the following mirrors (which will
also host the .bz2 versions):

ftp://ftp.lip6.fr/pub/lyx/stable/1.6.x/lyx-1.6.6.tar.gz
http://lyx.cybermirror.org/stable/1.6.x/lyx-1.6.6.tar.gz
ftp://gd.tuwien.ac.at/publishing/tex/lyx/stable/1.6.x/lyx-1.6.6.tar.gz
ftp://ftp.ntua.gr/pub/X11/LyX/stable/1.6.x/lyx-1.6.6.tar.gz

http://sunsite.icm.edu.pl/pub/unix/editors/lyx/stable/1.6.x/lyx-1.6.6.tar.gz
http://lyx.mirror.fr/stable/1.6.x/lyx-1.6.6.tar.gz

Prebuilt binaries (rpms for Linux distributions, Mac OS X and Windows
installers) should soon be available at:

ftp://ftp.lyx.org/pub/lyx/bin/1.6.6/

If you already have the sources of the previous release (1.6.4.2), you may
want to apply one of the following patches instead:

ftp://ftp.lyx.org/pub/lyx/stable/1.6.x/patch-1.6.6.gz
ftp://ftp.lyx.org/pub/lyx/stable/1.6.x/patch-1.6.6.bz2

If you find what you think is a bug in LyX 1.6.6, you may either
e-mail the LyX developers' mailing list (lyx-devel  lists.lyx.org),
or open a bug report at http://www.lyx.org/trac/

If you're having trouble using the new version of LyX, or have a
question, first check out http://www.lyx.org/help/. If you can't find
the answer there, e-mail the LyX users' list (lyx-users  lists.lyx.org).

Enjoy!

The LyX team.


What's new in version 1.6.6?


** Updates:
***

* DOCUMENT INPUT/OUTPUT

- LyX now supports SVG images when either the librsvg library or
  Inkscape (version 0.47 recommended) is installed (bug 3349).

- LaTeX import (tex2lyx) now recognizes the types of quotes dependent
  on the document language. (When importing e.g. a Spanish document,
  LyX will use comillas latinas as quotes.)

- Add support for Aspell language varieties. This enables proper support
  of German old and new spelling in parallel when "aspell (library)" is
  used (bug 4657).

- Add support for the enchant spellchecker (bug 6226). LyX needs to be
  compiled --with-enchant in order to use this feature.


* USER INTERFACE

- Checking all opened files for external change after updating from SVN
  repository (part of bug 5211).

- Add a Close All menu item to the menu (bug 740).


Re: 1.6.6 - Windows issue

2010-05-20 Thread Pavel Sanda
Uwe Stöhr wrote:
> What about Instantpreview in LyX 1.6.6 on Linux and Mac? Does it work for 
> all our documentation files. If so, does your LaTeX distribution contains a 
> file in the form of c70***.fd?

Vincent claimed to have some problem at the end of #6369. pavel


[patch] Re: LyX SVN and Geometry Package

2010-05-20 Thread Rob Oakes
Dear LyX Developers,

Attached is a simple patch which adds the PAPER_DEFAULT to the list of
options where the geometry package is *not* required.  This resolves the
geometry clashes I reported yesterday.

Cheers,

Rob


=== modified file 'src/BufferParams.cpp'
--- src/BufferParams.cpp	2010-05-20 14:31:40 +
+++ src/BufferParams.cpp	2010-05-20 14:33:26 +
@@ -1178,6 +1178,7 @@
 	// all paper sizes except of A4, A5, B5 and the US sizes need the
 	// geometry package
 	bool nonstandard_papersize = papersize != PAPER_USLETTER
+&& papersize != PAPER_DEFAULT
 		&& papersize != PAPER_USLEGAL
 		&& papersize != PAPER_USEXECUTIVE
 		&& papersize != PAPER_A4



Re: LyX does not insert an \"&\" when inserting a \"Split\" environment

2010-05-20 Thread Paul A. Rubin

On 5/19/2010 8:31 PM, Uwe Stöhr wrote:


It seems that LyX 1.6.5 had a bug with the split environment that is
fixed in LyX 1.6.6 (http://www.lyx.org/trac/ticket/6700).



Uwe,

I just saw your comment on ticket 6700 indicating that you thought it 
impossible for the bug to exist.  Would a video showing how it occurs help?


I'll test 1.6.6 on the same machine (Win XP) in a few days to confirm 
that the bug is gone.


/Paul



LyX leaves empty file "index" in pwd

2010-05-20 Thread Guenter Milde
Dear LyXers,

since some time, I find strange files named "index" with no
content here and there in my directories.

Today I examined the problem and found out that my LyX
(LyX 1.6.5 (2009-12-05) from the Debian/testing package) leaves them
behind in the working directory.

How to reproduce: 

* go to a test directory
* open LyX
* close LyX
* list the files (e.g. `ls -l`)

Anyone else sees this problem?

It does not occur with my home-compiled LyX 2.0.0svn.

Günter

Günter



Re: LyX leaves empty file "index" in pwd

2010-05-20 Thread Pavel Sanda
Guenter Milde wrote:
> Anyone else sees this problem?

long known problem, check the thread "Random leftover file" in archives.
iirc Vincent tried to address this recently, so try again with 1.6.6.

pavel


Re: LyX does not insert an \\\"&\\\" when inserting a \\\"Split\\\" environment

2010-05-20 Thread Uwe Stöhr

> Would a video showing how it occurs help?

Sure. Additionally, what is the entry for split in your stdmenus.inc file?

regards Uwe


Re: Spellcheck in 1.6.6 misses every second word

2010-05-20 Thread Uwe Stöhr

Am 20.05.2010 20:28, schrieb Sven Hoexter:


I don't see this (and I cannot imagine what could have caused this). Could you
post a test file?


Sure see the attached german one.

Round one:
Catches "Deis", correct it to "Dies", next word detected is "eni".


Now I can reproduce it too. It only occurs after one corrected a word. 
When ignoring "Deis", "istt" is correctly detected as next misspelled word.

Can you please report this as LyX bug?

thanks and regards
Uw


Re: Spellcheck in 1.6.6 misses every second word

2010-05-20 Thread Sven Hoexter
On Thu, May 20, 2010 at 08:52:09PM +0200, Uwe Stöhr wrote:

Hi,

> Can you please report this as LyX bug?

Done:
http://www.lyx.org/trac/ticket/6708

Sven
-- 
If God passed a mic to me to speak
I'd say stay in bed, world
Sleep in peace
   [The Cardigans - 03:45: No sleep]


Re: LyX does not insert an \\\"&\\\" when inserting a \\\"Split\\\" environment

2010-05-20 Thread Uwe Stöhr

Am 20.05.2010 21:15, schrieb Paul A. Rubin:


Here's a link to the video (only about one minute, Flash format):
http://storemedia.vudat.msu.edu/public/display_package.php?src=download/rubin/=split


I do the same as you and get the two columns. (Only tested here again 
with LyX 1.6.6.) Does it work for you in todays released LyX 1.6.6?


Btw. I like your video, how did you created it?


The entry in stdmenus.inc is:

Item "Split Environment|S" "command-sequence math-mode on; math-insert
\split; tabular-feature append-column"

You can see it in the status window if you freeze the video at the
correct point.


I don't get the info "Can't change number of columns in 'equation'". It 
seems that you are using a special math option as default which causes 
the problem. Can you please send me the LyX file you used in your video?


(I'll later have a look at the LyX code that triggers this message and 
report back.)


thanks and regards
Uwe


Re: LyX does not insert an \\\"&\\\" when inserting a \\\"Split\\\" environment

2010-05-20 Thread Paul A. Rubin

On 5/20/2010 1:02 PM, Uwe Stöhr wrote:

> Would a video showing how it occurs help?

Sure. Additionally, what is the entry for split in your stdmenus.inc 
file?


regards Uwe

Here's a link to the video (only about one minute, Flash format): 
http://storemedia.vudat.msu.edu/public/display_package.php?src=download/rubin/=split 
.


The entry in stdmenus.inc is:

Item "Split Environment|S" "command-sequence math-mode on; math-insert 
\split; tabular-feature append-column"


You can see it in the status window if you freeze the video at the 
correct point.


Cheers,
Paul




Re: LyX does not insert an \\\"&\\\" when inserting a \\\"Split\\\" environment

2010-05-20 Thread Uwe Stöhr

Am 21.05.2010 00:09, schrieb Paul A. Rubin:


how did you created it?

Camtasia Studio (http://www.techsmith.com/camtasia.asp). It's the
primary tool for screen captures at my school. (I believe the company
was started by some of our graduates.)


This is a very powerful tool, I like especially the cursor tool. Unfortunately 
it is too expensive.


Attached. I don't think there's anything special in the document, though
-- if I open it in 1.6.6 and add another display equation with Split,
the new equation is handled correctly.


So I'm going to mark bug 6700 as fixed in LyX 1.6.6.
I tested your file with LyX 1.6.5 and could not reproduce your problem - strange. But anyway, it 
works now for you.


regards Uwe


Re: [patch] Re: LyX SVN and Geometry Package

2010-05-20 Thread Uwe Stöhr

> Attached is a simple patch which adds the PAPER_DEFAULT to the list of
> options where the geometry package is *not* required.

Many thanks. I missed to add this when I revised LyX paper size handling.
I committed your patch.

regards Uwe


Re: [patch] fix for bug 2359

2010-05-20 Thread Uwe Stöhr

> Here is an updated patch:
>
> 1/ do the test in InsetMathNest, where it belongs IMO (this can be discussed)

Fine with me.
I chose InsetMathHull because Georg proposed this in
http://www.lyx.org/trac/ticket/2359#comment:5

> 2/ get rid of the "math-mode on" things in menu definitions, since 
Text::dispatch does the right
> (?) thing (this can be discussed too)

I cannot state if Text::dispatch does the right thing as I don't know this code 
well enough
However, this removal fixes the remaining issue: the split menu is now correctly disabled. It seems 
that we have a bug here: the menu disabling only works when the command is the first one in the menu 
sequence. I mean when we have this entry


Item "Split Environment|S" "command-sequence math-insert \split; inset-modify 
tabular append-column"

your patch works and the menu is disabled. The menu is not disabled when the 
entry is

Item "Split Environment|S" "command-sequence math-display; math-insert \split; inset-modify tabular 
append-column"


Should I report this as bug to our tracker?

> Uwe, does this solve your concerns?

Not completely because when you set the cursor outside of an equation and then use the menu 
Insert->Math->Split, you still get an inline equation with a split environment that causes a 
LaTeX-error.

In this case we need to create a displayed equation and then split.
This can be done with this line:
Item "Split Environment|S" "command-sequence math-display; math-insert \split; inset-modify tabular 
append-column"


Unfortunately this solution doesn't work because of the problem mentioned above and because of 
http://www.lyx.org/trac/ticket/6709


thanks and regards
Uwe

p.s. Can you please add version 1.6.6 in our bug tracker