Re: Some questions relating to Cursor & MathAtom

2010-06-14 Thread Vincent van Ravesteijn
> * Conceptually what is an anchor in a Cursor? The anchor is the starting point of a selection. If you have selected the word "hello" starting from the 'h' to the 'o', the anchor is positioned at 'h' and the cursor at 'o'. > * What does it mean for an inset to be "locked" ? I've no idea, but ac

Re: Navigate to last paragraph of section

2010-06-14 Thread Guenter Milde
On 2010-06-14, Rob Oakes wrote: > Specifically, I'd like to create an LFUN that allows me to quickly place = > the cursor at the end of the last paragraph of the current section = > (e.g., the paragraph before another section at the same toclevel). I = > initially thought that I could use some of

Re: solved problem descried in bug report(ticket:6766) which related utf8-encoding text in lstlisting environment

2010-06-14 Thread Jürgen Spitzmüller
l.f.hwang wrote: > as discussed above, it seems to be the latex package lstlisting handle > utf8-enocoded text well. as I using Xetex now so it possible Xetex has > some effort for it,but I have the time to research it. Unfortunately not. Listings cannot handle multibyte characters yet. Maybe XeT

Re: Upload cygwin binary to ftp.lyx.org.

2010-06-14 Thread Jürgen Spitzmüller
Bo Peng wrote: > The official cygwin port of lyx has not been updated for a long time > (mostly due to its lack of a qt4 port). I gathered some courage and > built a cygwin binary for lyx 1.6.6. Can someone help me upload it to > ftp://ftp.lyx.org/pub/lyx/bin/1.6.6.1/cygwin? I tried but could not >

Re: Upload cygwin binary to ftp.lyx.org.

2010-06-14 Thread Liviu Andronic
(off-topic) On Mon, Jun 14, 2010 at 9:09 AM, Jürgen Spitzmüller wrote: > What do you mean by "official"? We do have a cygwin port for 1.6.6.1 from > Enrico here: > > ftp://ftp.lyx.org/pub/lyx/bin/1.6.6.1/ > I am curious: what would be the interest of using Cygwin when Windows binaries are readily

Re: [Patch] New version of Keytest.

2010-06-14 Thread Jean-Marc LASGOUTTES
John McCabe-Dansted writes: > I don't think we have discussed what the benefit of having keystest > in-tree is. LyX can run without keytest, and keytest can be applied to > software other than LyX, so it is not strongly coupled to LyX, and > splitting it off would be a possibility. I am thinking o

Re: [Patch] New version of Keytest.

2010-06-14 Thread Jean-Marc LASGOUTTES
John McCabe-Dansted writes: > I understand that with SVN you can easily give me access just to the > keytest directory. Should we do that? I don't think there is much > benefit to giving me write access out side that directory as I think > at this stage I should run everything outside keytest past

Re: Upload cygwin binary to ftp.lyx.org.

2010-06-14 Thread Bo Peng
> What do you mean by "official"? We do have a cygwin port for 1.6.6.1 from > Enrico here: > > ftp://ftp.lyx.org/pub/lyx/bin/1.6.6.1/ Official means that users can use the cygwin setup tool to install lyx, which is much easier. It has to use cygwin/qt4 so it uses X instead of qt4/win32. In this se

Re: Upload cygwin binary to ftp.lyx.org.

2010-06-14 Thread Bo Peng
> I am curious: what would be the interest of using Cygwin when Windows > binaries are readily available? For Linux users (who have to use windows), cygwin provides an integrated working environment that can be more comfortable to use. For example, they can have a real shell with bash, subversion,

Re: Wish to understand DocIterator class + Willing to Volunteer to document LyX internals

2010-06-14 Thread Pavel Sanda
Sidharth Kshatriya wrote: > > I find the source code very lightly commented unfortunately. Even if every > > class had a 3-4 lines describing what it did, it would have been great. It > > would be wonderful if some more human commenting of each class were part of > > the goals of the 2.0 version.

Re: spreadsheet capability?

2010-06-14 Thread Helge Hafting
On 29. mai 2010 01:56, Pavel Sanda wrote: Liviu Andronic wrote: On Fri, May 28, 2010 at 8:23 PM, Guenter Milde wrote: However, the Gnumeric spreadsheet has a LaTeX export feature, so one could possibly write an "external inset" wrapper for it. Apparently there is a patch [1] by Helge Hafting

Re: show the lyx code

2010-06-14 Thread Helge Hafting
On 07. juni 2010 13:45, Vincent van Ravesteijn wrote: Well why not instead of displaying the "latex source" display directly the LyX source and allow it to be edited and then to be reloaded. Would such a solution be easier to implement? Why would anyone want to edit the LyX source (in LyX) ?

Re: Some questions relating to Cursor & MathAtom

2010-06-14 Thread Richard Heck
On 6/14/10 3:12 AM, Vincent van Ravesteijn wrote: * What does it mean for an inset to be "locked" ? I've no idea, but according to the comment: "/// returns whether changing mode during latex export is forbidden". I.e., whether we can switch between math mode and text mode. Confusin

Re: Navigate to last paragraph of section

2010-06-14 Thread Richard Heck
On 6/14/10 3:23 AM, Guenter Milde wrote: On 2010-06-14, Rob Oakes wrote: Specifically, I'd like to create an LFUN that allows me to quickly place = the cursor at the end of the last paragraph of the current section = (e.g., the paragraph before another section at the same toclevel). I = in

Re: Upload cygwin binary to ftp.lyx.org.

2010-06-14 Thread Jürgen Spitzmüller
Bo Peng wrote: > Official means that users can use the cygwin setup tool to install > lyx, which is much easier. It has to use cygwin/qt4 so it uses X > instead of qt4/win32. In this sense, this version will be less useful > than Enrico's. So does it make sense to have your version _besides_ Enric

Possible branch-inset improvements

2010-06-14 Thread Pavel Sanda
hi, would you find it a good idea to enhance branch insets in the following way ? 1. add possibility to define pre-post latex commands for a branch which would be inserted just before/after each branch inset? 2. different collapsed branches can't be visually distinguished. what about using

Re: Possible branch-inset improvements

2010-06-14 Thread Vincent van Ravesteijn
> would you find it a good idea to enhance branch insets in the following > way ? > > 1. add possibility to define pre-post latex commands for a branch >   which would be inserted just before/after each branch inset? > No. > 2. different collapsed branches can't be visually distinguished. >   wha

Re: Some questions relating to Cursor & MathAtom

2010-06-14 Thread Andre Poenitz
On Mon, Jun 14, 2010 at 09:12:51AM +0200, Vincent van Ravesteijn wrote: > > * Conceptually what is an anchor in a Cursor? > > The anchor is the starting point of a selection. If you have selected > the word "hello" starting from the 'h' to the 'o', the anchor is > positioned at 'h' and the cursor

Re: Navigate to last paragraph of section

2010-06-14 Thread Rob Oakes
Dear Vincent, Guenter and Richard, Thank you for the recommendations and feedback. Following your suggestions, I made several changes that have resolved a few of the problems (specifically, the LFUN no longer crashes LyX every time it gets clicked on). I still make use of a for loop to find t

Re: r34656 - lyx-devel/trunk/src

2010-06-14 Thread Vincent van Ravesteijn
Op 14-6-2010 21:33, sw...@lyx.org schreef: Author: switt Date: Mon Jun 14 21:33:43 2010 New Revision: 34656 URL: http://www.lyx.org/trac/changeset/34656 + return 0 == m.config ? 0 : to_aspell_speller(m.e_speller); return m.config ? to_aspell_speller(m.e_speller) : 0; ?? Vincent

Re: r34656 - lyx-devel/trunk/src

2010-06-14 Thread Stephan Witt
Am 14.06.2010 um 21:40 schrieb Vincent van Ravesteijn: > Op 14-6-2010 21:33, sw...@lyx.org schreef: >> Author: switt >> Date: Mon Jun 14 21:33:43 2010 >> New Revision: 34656 >> URL: http://www.lyx.org/trac/changeset/34656 >> >> >> +return 0 == m.config ? 0 : to_aspell_speller(m.e_speller); >

Re: Possible branch-inset improvements

2010-06-14 Thread Pavel Sanda
Vincent van Ravesteijn wrote: > > would you find it a good idea to enhance branch insets in the following > > way ? > > > > 1. add possibility to define pre-post latex commands for a branch > >   which would be inserted just before/after each branch inset? > > > > No. pity. what would be your sol

Re: Possible branch-inset improvements

2010-06-14 Thread Vincent van Ravesteijn
would you find it a good idea to enhance branch insets in the following way ? 1. add possibility to define pre-post latex commands for a branch which would be inserted just before/after each branch inset? No. pity. what would be your solution to the problem of having mutliple

Re: r34656 - lyx-devel/trunk/src

2010-06-14 Thread Pavel Sanda
Stephan Witt wrote: > >> Author: switt > >> Date: Mon Jun 14 21:33:43 2010 > >> New Revision: 34656 > >> URL: http://www.lyx.org/trac/changeset/34656 > >> > >> > >> + return 0 == m.config ? 0 : to_aspell_speller(m.e_speller); > >> > > > > return m.config ? to_aspell_speller(m.e_speller) : 0;

Re: r34656 - lyx-devel/trunk/src

2010-06-14 Thread Vincent van Ravesteijn
Op 14-6-2010 23:40, Pavel Sanda schreef: Stephan Witt wrote: Author: switt Date: Mon Jun 14 21:33:43 2010 New Revision: 34656 URL: http://www.lyx.org/trac/changeset/34656 + return 0 == m.config ? 0 : to_aspell_speller(m.e_speller); return m.config ? to_aspell_speller(m.e_

Re: Upload cygwin binary to ftp.lyx.org.

2010-06-14 Thread Enrico Forestieri
On Mon, Jun 14, 2010 at 07:45:39AM -0500, Bo Peng wrote: > > I am curious: what would be the interest of using Cygwin when Windows > > binaries are readily available? > > For Linux users (who have to use windows), cygwin provides an > integrated working environment that can be more comfortable to

Re: Upload cygwin binary to ftp.lyx.org.

2010-06-14 Thread Enrico Forestieri
On Mon, Jun 14, 2010 at 07:36:44AM -0500, Bo Peng wrote: > > What do you mean by "official"? We do have a cygwin port for 1.6.6.1 from > > Enrico here: > > > > ftp://ftp.lyx.org/pub/lyx/bin/1.6.6.1/ > > Official means that users can use the cygwin setup tool to install > lyx, which is much easier

Re: spreadsheet capability?

2010-06-14 Thread Pavel Sanda
Helge Hafting wrote: >> please do you have any idea whether is safe to use blindly ssconvert or >> gnumeric >> in the sense that attacker can't write eg some excel macro-virus which >> would >> get executed via ssconvert or gnumeric? >> > I don't know if ssconvert supports excel macros well enoug

Re: r34656 - lyx-devel/trunk/src

2010-06-14 Thread Pavel Sanda
Vincent van Ravesteijn wrote: >or you may want to test it before releasing it ;)..and put it in a5. tested it now and it works well (even quite fast here), so i'm not going to wait any longer. pavel

Re: alpha4

2010-06-14 Thread Pavel Sanda
Pavel Sanda wrote: > hi, > > i plan to release alpha4 next week. anything you would like to > have in before? as usual the highest priority bugs are showstoppers. tarballs are on their usual place. i will announce it on the lists later. > we seem to have fullscreen problem in qt 4.7, anybody aro