Inconsistent cursor after pasteParagraphList() ?

2011-04-14 Thread Tommaso Cucinotta
Hi, I'd like to know whether cap::pasteParagraphList() is supposed to move/fix the cursor as well, and, if not, how to correctly fix the cursor position after it returned. If, after this call, I try a clearSelection() or setCursor(), it crashes immediately. However, in the current trunk, I'm

Re: beamer with sweave in lyx-devel?

2011-04-14 Thread Liviu Andronic
Hello Paul On Mon, Jun 28, 2010 at 5:33 AM, Paul Johnson wrote: > Hi. I'm just wondering: > > Does anybody know if the special needs of sweave in combination with > beamer have been taken into account in the development process?   I > No, I don't think so, but I posted a workaround on the bug tra

Re: LyX Beamer Sweave: makebeamertitle not being defined?

2011-04-14 Thread Liviu Andronic
Dear all I've just been bitten by the same issue on documents that I created during the first betas and compiled just fine then. Now in RC3 I need to add, as suggested by Daniel, the following to the preamble: \newcommand\makebeamertitle{\frame{\maketitle}}% This looks like a LyX omission that sh

Re: IEEEtran template

2011-04-14 Thread Richard Heck
On 04/14/2011 06:11 PM, Enrico Forestieri wrote: When loading the IEEEtran.lyx template I see the following in the terminal: ../../src/insets/InsetLayout.cpp(290): Cannot copy unknown InsetLayout `IEEE membership' All InsetLayouts so far: Flex:IEEE membership I've fixed this, specifically for

Re: [PATCH] Module Configure Bug

2011-04-14 Thread Pavel Sanda
Richard Heck wrote: > > I have a custom version of enumitem.module in my user directory. This has > resulted in it being listed twice under Document>Settings>Modules, since > there was no code to take account of this. The attached patch fixes this > bug. OK? go on. pavel

Re: #7394, Crash in reverse serach

2011-04-14 Thread Enrico Forestieri
On Thu, Apr 14, 2011 at 07:00:34PM -0400, Richard Heck wrote: > On 04/14/2011 05:58 PM, Enrico Forestieri wrote: > >On Thu, Apr 14, 2011 at 09:53:46PM +0200, Peter Kuemmel wrote: > >>This patch > >> > >> http://www.lyx.org/trac/attachment/ticket/7394/resetAnchor.patch > >> > >>fixes the crash i

Re: A basic requested feature

2011-04-14 Thread Pavel Sanda
Andre Poenitz wrote: > On Thu, Apr 14, 2011 at 05:28:05PM +0200, Pavel Sanda wrote: > > Richard Heck wrote: > > > On 04/14/2011 08:36 AM, venom00 wrote: > > >> > > >> Suggestion: use Qt Creator. I think it's the best solution. > > >> > > > That's what I use, though under Linux, and it is very good

Re: Meaning of "Toggle" in Text Style dialog

2011-04-14 Thread Pavel Sanda
Paul A. Rubin wrote: > Pavel, > > Pavel Sanda lyx.org> writes: > > > > > would you mind to write this somewhere in our manuals and send the > > manual/patch > > to us? > > I edited the User manual from LyX 2.0 rc1 and placed it at > http://dl.dropbox.com/u/9417226/UserGuide.lyx. yay, you ed

Re: IEEEtran template

2011-04-14 Thread Richard Heck
On 04/14/2011 06:11 PM, Enrico Forestieri wrote: When loading the IEEEtran.lyx template I see the following in the terminal: ../../src/insets/InsetLayout.cpp(290): Cannot copy unknown InsetLayout `IEEE membership' All InsetLayouts so far: Flex:IEEE membership Hmm. This is a familiar sort of b

Re: #7394, Crash in reverse serach

2011-04-14 Thread Richard Heck
On 04/14/2011 05:58 PM, Enrico Forestieri wrote: On Thu, Apr 14, 2011 at 09:53:46PM +0200, Peter Kuemmel wrote: This patch http://www.lyx.org/trac/attachment/ticket/7394/resetAnchor.patch fixes the crash in http://www.lyx.org/trac/ticket/7394 But I don't know if it introduces any s

Re: #7394, Crash in reverse serach

2011-04-14 Thread Andre Poenitz
On Fri, Apr 15, 2011 at 12:09:30AM +0200, Peter Kuemmel wrote: > > Original-Nachricht > > Datum: Thu, 14 Apr 2011 23:58:57 +0200 > > Von: Enrico Forestieri > > An: lyx-devel@lists.lyx.org > > Betreff: Re: #7394, Crash in reverse serach > > > On Thu, Apr 14, 2011 at 09:53:46PM +

IEEEtran template

2011-04-14 Thread Enrico Forestieri
When loading the IEEEtran.lyx template I see the following in the terminal: ../../src/insets/InsetLayout.cpp(290): Cannot copy unknown InsetLayout `IEEE membership' All InsetLayouts so far: Flex:IEEE membership -- Enrico

Re: #7394, Crash in reverse serach

2011-04-14 Thread Peter Kuemmel
Original-Nachricht > Datum: Thu, 14 Apr 2011 23:58:57 +0200 > Von: Enrico Forestieri > An: lyx-devel@lists.lyx.org > Betreff: Re: #7394, Crash in reverse serach > On Thu, Apr 14, 2011 at 09:53:46PM +0200, Peter Kuemmel wrote: > > This patch > > > > http://www.lyx.org/trac/

Re: #7394, Crash in reverse serach

2011-04-14 Thread Enrico Forestieri
On Thu, Apr 14, 2011 at 09:53:46PM +0200, Peter Kuemmel wrote: > This patch > > http://www.lyx.org/trac/attachment/ticket/7394/resetAnchor.patch > > fixes the crash in > > http://www.lyx.org/trac/ticket/7394 > > But I don't know if it introduces any side effects. This is not the correc

Re: A basic requested feature

2011-04-14 Thread Andre Poenitz
On Thu, Apr 14, 2011 at 05:28:05PM +0200, Pavel Sanda wrote: > Richard Heck wrote: > > On 04/14/2011 08:36 AM, venom00 wrote: > >> > >> Suggestion: use Qt Creator. I think it's the best solution. > >> > > That's what I use, though under Linux, and it is very good indeed. > > and Andre will get dru

Re: Meaning of "Toggle" in Text Style dialog

2011-04-14 Thread Paul A . Rubin
Pavel, Pavel Sanda lyx.org> writes: > > would you mind to write this somewhere in our manuals and send the > manual/patch > to us? I edited the User manual from LyX 2.0 rc1 and placed it at http://dl.dropbox.com/u/9417226/UserGuide.lyx. (I'm pretty sure it's too large to attach, at least as

Re: #7394, Crash in reverse serach

2011-04-14 Thread Richard Heck
On 04/14/2011 04:49 PM, Peter Kuemmel wrote: Original-Nachricht Datum: Thu, 14 Apr 2011 16:30:10 -0400 Von: Richard Heck An: Peter Kuemmel CC: lyx-devel@lists.lyx.org Betreff: Re: #7394, Crash in reverse serach On 04/14/2011 03:59 PM, Peter Kuemmel wrote: This patch htt

Re: #7394, Crash in reverse serach

2011-04-14 Thread Richard Heck
On 04/14/2011 04:49 PM, Peter Kuemmel wrote: Original-Nachricht Datum: Thu, 14 Apr 2011 16:30:10 -0400 Von: Richard Heck An: Peter Kuemmel CC: lyx-devel@lists.lyx.org Betreff: Re: #7394, Crash in reverse serach On 04/14/2011 03:59 PM, Peter Kuemmel wrote: This patch htt

Re: #7394, Crash in reverse serach

2011-04-14 Thread Peter Kuemmel
Original-Nachricht > Datum: Thu, 14 Apr 2011 16:30:10 -0400 > Von: Richard Heck > An: Peter Kuemmel > CC: lyx-devel@lists.lyx.org > Betreff: Re: #7394, Crash in reverse serach > On 04/14/2011 03:59 PM, Peter Kuemmel wrote: > >> This patch > >> > >> http://www.lyx.org/trac

Re: #7394, Crash in reverse serach

2011-04-14 Thread Richard Heck
On 04/14/2011 03:59 PM, Peter Kuemmel wrote: This patch http://www.lyx.org/trac/attachment/ticket/7394/resetAnchor.patch fixes the crash in http://www.lyx.org/trac/ticket/7394 But I don't know if it introduces any side effects. The code before the patch, anchor_ = doc_iterat

Re: #7394, Crash in reverse serach

2011-04-14 Thread Peter Kuemmel
> This patch > > http://www.lyx.org/trac/attachment/ticket/7394/resetAnchor.patch > > fixes the crash in > > http://www.lyx.org/trac/ticket/7394 > > But I don't know if it introduces any side effects. > The code before the patch, anchor_ = doc_iterator_begin(buffer()); ancho

Re: Automatic use of 1.6.x preferences

2011-04-14 Thread Edwin Leuven
it would be interesting to send back the preference settings people change from the default this way we know what to kill...

Re: Automatic use of 1.6.x preferences

2011-04-14 Thread Jean-Marc Lasgouttes
Le 14/04/11 20:37, Richard Heck a écrit : I also don't see how this could be fixed in LyX itself. LyX doesn't know what other user directories you might have. I have about six. On first run (no suitable .lyx file), LyX could ask for a directory to import from. And if we had a VERSION file in u

[PATCH] Module Configure Bug

2011-04-14 Thread Richard Heck
I have a custom version of enumitem.module in my user directory. This has resulted in it being listed twice under Document>Settings>Modules, since there was no code to take account of this. The attached patch fixes this bug. OK? Richard Index: lib/configure.py ==

Re: Automatic use of 1.6.x preferences

2011-04-14 Thread Richard Heck
On 04/14/2011 11:01 AM, Jim Oldfield wrote: From: Richard Heck On 04/13/2011 06:35 PM, Jim Oldfield wrote: My existing install is 1.6.9, with prefs in: C:\User\Jim\AppData\Roaming\lyx16 The version I installed was LyX2.0rc2, with prefs in: C:\User\Jim\AppData\Roaming\LyX2

Re: trunk doesn't compile

2011-04-14 Thread Richard Heck
On 04/14/2011 10:31 AM, Liviu Andronic wrote: r38372 I'm working with up to date trunk here and see no such issue. rh /usr/local/build/lyx/configure --with-version-suffix=-svn --enable-build-type=release --enable-debug (26380) [..] Configuration Host type:x86_64-unk

Re: Too much options in LyX

2011-04-14 Thread Vincent van Ravesteijn
On 14-4-2011 19:22, venom00 wrote: >> Here's the patch. I hope works fine. It would be nice to put >> it in 2.0 but I think it's impossible as it's late and I've >> added a string ("Search", maybe we already have it). Moreover >> it's my first patch in C++ to LyX, so probably it will be >> full

RE: Too much options in LyX

2011-04-14 Thread venom00
> Here's the patch. I hope works fine. It would be nice to put > it in 2.0 but I think it's impossible as it's late and I've > added a string ("Search", maybe we already have it). Moreover > it's my first patch in C++ to LyX, so probably it will be > full of inconsistencies. Could someone give

Re: A basic requested feature

2011-04-14 Thread Pavel Sanda
Richard Heck wrote: > On 04/14/2011 08:36 AM, venom00 wrote: >> >> Suggestion: use Qt Creator. I think it's the best solution. >> > That's what I use, though under Linux, and it is very good indeed. and Andre will get drunken tonight ;) p

Re: Automatic use of 1.6.x preferences

2011-04-14 Thread Jim Oldfield
> From: Richard Heck > > On 04/13/2011 06:35 PM, Jim Oldfield wrote: > > > > My existing install is 1.6.9, with prefs in: > > C:\User\Jim\AppData\Roaming\lyx16 > > The version I installed was LyX2.0rc2, with prefs in: > > C:\User\Jim\AppData\Roaming\LyX2.0 > > > LyX 2.0 will

trunk doesn't compile

2011-04-14 Thread Liviu Andronic
r38372 >/usr/local/build/lyx/configure --with-version-suffix=-svn >--enable-build-type=release --enable-debug (26380) [..] Configuration Host type:x86_64-unknown-linux-gnu Special build flags: use-aspell use-enchant use-hunspell C Compiler: g

Re: A basic requested feature

2011-04-14 Thread Vincent van Ravesteijn
On 14-4-2011 14:36, venom00 wrote: >> 1. Download CMake if you haven't done it yet and Install: >> http://www.cmake.org/cmake/resources/software.html. >> 2. Download and install Qt. >> 3. Either run CMake Gui, and set "Where is the source code" >> to "/lyx/development/cmake" and set "Where to >>

Re: A basic requested feature

2011-04-14 Thread Richard Heck
On 04/14/2011 08:36 AM, venom00 wrote: Suggestion: use Qt Creator. I think it's the best solution. That's what I use, though under Linux, and it is very good indeed. Richard

Re: A basic requested feature

2011-04-14 Thread Richard Heck
On 04/14/2011 05:03 AM, Liviu Andronic wrote: To be clear, I don't think that LyX will ever care to provide such a trivial option in the Prefs. (I hope it won't!) See the other thread on how there are too many options already! Richard

RE: A basic requested feature

2011-04-14 Thread venom00
> 1. Download CMake if you haven't done it yet and Install: > http://www.cmake.org/cmake/resources/software.html. > 2. Download and install Qt. > 3. Either run CMake Gui, and set "Where is the source code" > to "/lyx/development/cmake" and set "Where to > build binaries" to "/build/development/c

Re: [PATCH] Re: XeTeX Export Bug

2011-04-14 Thread Julien Rioux
On 13/04/2011 9:25 PM, Richard Heck wrote: Index: src/Format.cpp === --- src/Format.cpp (revision 38361) +++ src/Format.cpp (working copy) @@ -21,10 +21,12 @@ #include "support/debug.h" #include "support/filetools.h"

Re: A basic requested feature

2011-04-14 Thread Vincent van Ravesteijn
>> What's lacking ? > > 1) I want to use Windows and Visual Studio 2010 to code (I personally like > this idea because of the debugging features of this IDE). I do that as well. > But I need to pass thru several steps before generate the "Solution" for > Visual Studio (all that thing with deve

Re: A basic requested feature

2011-04-14 Thread Diego Queiroz
> What's lacking ? Well. At first is lacking time to me. :-) But, let me see... 1) I want to use Windows and Visual Studio 2010 to code (I personally like this idea because of the debugging features of this IDE). But I need to pass thru several steps before generate the "Solution" for Visual Stud

Re: A basic requested feature

2011-04-14 Thread Vincent van Ravesteijn
> > I'm very interested. I have tons of ideas, but I still have problems to set > up a confortable environment to start to code. What's lacking ? > Another problem is that I'm still trying to understand some pieces of code, > so it will take some time for me to really contribute with some new

Re: A basic requested feature

2011-04-14 Thread Diego Queiroz
> maybe I'm a bit old fashioned (born in 1943 ;-). So I do not have this terrible need to do everyzhing the fastest way possible. I'm young (born in the 80's) and I confess I'm neurotic about automatization (much over the normal). Sorry if I am too boring sometimes. I enjoy to make the computer de

Re: [almost OT] how to install polib?

2011-04-14 Thread Jean-Marc Lasgouttes
Le 14/04/2011 10:02, Kornel Benko a écrit : I take care of it. Today. Thanks. JMarc

Re: A basic requested feature

2011-04-14 Thread Liviu Andronic
On Wed, Apr 13, 2011 at 3:09 AM, Diego Queiroz wrote: > Hellmut, this behavior is not a rule, right? > As a programmer I assure you: once things are correctly handled, everything > should be fine. Believe on me. :-) > And I repeat, it is just a guess for a name to the file, LyX won't impose > the

Re: A basic requested feature

2011-04-14 Thread Liviu Andronic
On Wed, Apr 13, 2011 at 3:54 PM, Sam Lewis wrote: >> IMO, we need to improve the functionality of >> LyX, and not block good ideas. > > Of course everybody is welcome to make suggestions and put forward ideas on > functionality. But it does not mean that everything gets implemented; it > needs t

Re: [almost OT] how to install polib?

2011-04-14 Thread Kornel Benko
Am Donnerstag, 14. April 2011 schrieb Pavel Sanda: > Pavel Sanda wrote: > > > The best, I can think of now, is to make a special target or so. But > > > then, what to install? The created target, or source? > > to be more precise here - if someone decide to manually regenerate (eg cmake > ../lib

Re: [almost OT] how to install polib?

2011-04-14 Thread Pavel Sanda
Pavel Sanda wrote: > > The best, I can think of now, is to make a special target or so. But then, > > what to install? The created target, or source? to be more precise here - if someone decide to manually regenerate (eg cmake ../lib/layouttranslation) this file we can install it. but by no mean

Re: [PATCH] Re: XeTeX Export Bug

2011-04-14 Thread Jean-Marc Lasgouttes
Le 14/04/11 03:25, Richard Heck a écrit : Anyone want to give this approval? Looks fine to me. JMarc