Re: [Patch] Re: book that prints with 1.3.7 is screwed up with 1.4.1

2006-04-19 Thread Martin Vermeer
On Thu, Apr 20, 2006 at 12:01:51AM +0300, Martin Vermeer wrote: > On Wed, Apr 19, 2006 at 08:57:53PM +0300, Martin Vermeer wrote: ... > Try the attached. Jose, Georg? Does this look sound to you? - Martin pgpLMDbsyFBdr.pgp Description: PGP signature

Windows USB LyX?

2006-04-19 Thread Russell Pierce
I started using LyX for Windows version 1.3.7 earlier today. After some initial setup difficulties with aspell (I guess LyX wanted it in c:\aspell ... or my system was just retarded from previous installations of similar program using similar packages), I got it working and am enjoying it. On

Re: [Patch] Fix outline crash for non-ToC tables

2006-04-19 Thread Martin Vermeer
On Wed, Apr 19, 2006 at 04:56:05PM +0300, Martin Vermeer wrote: > On Wed, 2006-04-19 at 14:32 +0200, Abdelrazak Younes wrote: > > Martin Vermeer a écrit : > > > On Wed, 2006-04-19 at 10:28 +0200, Abdelrazak Younes wrote: > > ... > > > >> Martin, please have a look at the new ControlToc::canOutlin

Re: [Additional patch] Re: [Patch] Fix outline crash for non-ToC tables

2006-04-19 Thread Martin Vermeer
On Wed, Apr 19, 2006 at 07:43:44PM +0300, Martin Vermeer wrote: > On Wed, Apr 19, 2006 at 04:25:11PM +0200, Abdelrazak Younes wrote: > > Martin Vermeer a écrit : > > >On Wed, 2006-04-19 at 14:32 +0200, Abdelrazak Younes wrote: > > ... > > Actually the _crash_ is due to the paragraph being not in

Re: [Patch] Re: book that prints with 1.3.7 is screwed up with 1.4.1

2006-04-19 Thread Martin Vermeer
On Wed, Apr 19, 2006 at 06:02:33PM -0500, Garst R. Reese wrote: > Martin Vermeer wrote: > > >On Wed, Apr 19, 2006 at 08:57:53PM +0300, Martin Vermeer wrote: > > > > > >>On Wed, Apr 19, 2006 at 10:20:36AM -0500, Garst R. Reese wrote: ... > >Try the attached. > > > >- Martin > > > Oops, hit reply

Re: [Patch] Re: book that prints with 1.3.7 is screwed up with 1.4.1

2006-04-19 Thread Garst R. Reese
Martin Vermeer wrote: On Wed, Apr 19, 2006 at 08:57:53PM +0300, Martin Vermeer wrote: On Wed, Apr 19, 2006 at 10:20:36AM -0500, Garst R. Reese wrote: I have done some experimenting changing the .lyx file. To reproduce the 1.3.7 results, the Box Framless insets for the critters have pos

Re: Unable to import LaTeX Documents in LyX 1.4.1 for Windows

2006-04-19 Thread Paul A. Rubin
Andreas Karlsson wrote: Dear List, I am new to LyX, and have installed LyX 1.4.1 for Windows. According to the Tutorial, "You can import a LaTeX file into LyX by using the File->Import->LaTeX command in LyX." Selecting File->Import, there is no entry for "LaTeX", only for "Plain Text as Li

[Patch] Re: book that prints with 1.3.7 is screwed up with 1.4.1

2006-04-19 Thread Martin Vermeer
On Wed, Apr 19, 2006 at 08:57:53PM +0300, Martin Vermeer wrote: > On Wed, Apr 19, 2006 at 10:20:36AM -0500, Garst R. Reese wrote: > > I have done some experimenting changing the .lyx file. To reproduce the > > 1.3.7 results, the Box Framless insets for the critters have position > > "t" and inner

Unable to import LaTeX Documents in LyX 1.4.1 for Windows

2006-04-19 Thread Andreas Karlsson
Dear List, I am new to LyX, and have installed LyX 1.4.1 for Windows. According to the Tutorial, "You can import a LaTeX file into LyX by using the File->Import->LaTeX command in LyX." Selecting File->Import, there is no entry for "LaTeX", only for "Plain Text as Lines..." and "Plain Text as

Re: [Updated patch] Re: [Patch] initialise (qt4) toc dialog to current toc item

2006-04-19 Thread Michael Gerz
Abdelrazak Younes wrote: PS: I really want to emphasize that I really have no bad feeling toward anybody in this list. Quite the contrary actually! It's maybe my writing style that makes you think I have but please do not. I am having much fun with the Lyx code :-) Hey, this mailing list has

Re: [Patch] reduce linking time under windows (was Re: Question about C++ warning ...)

2006-04-19 Thread Michael Gerz
Abdelrazak Younes wrote: Well, let's be even more pragmatic: help me polishing the Qt4 port! I mean it, compiling lyx without debug info requires a maximum of 50 Megs and is very fast! Frankly speaking, I think I have to retire for a while (not forever) once the work on change tracking is co

Re: [Additional patch] Re: [Patch] Fix outline crash for non-ToC tables

2006-04-19 Thread Martin Vermeer
On Wed, Apr 19, 2006 at 07:12:14PM +0200, Abdelrazak Younes wrote: > Martin Vermeer a écrit : > >On Wed, Apr 19, 2006 at 04:25:11PM +0200, Abdelrazak Younes wrote: > >>Martin Vermeer a écrit : > >>>On Wed, 2006-04-19 at 14:32 +0200, Abdelrazak Younes wrote: > > > >... > > > >Actually the _crash_ is

Re: book that prints with 1.3.7 is screwed up with 1.4.1

2006-04-19 Thread Martin Vermeer
On Wed, Apr 19, 2006 at 10:20:36AM -0500, Garst R. Reese wrote: > I have done some experimenting changing the .lyx file. To reproduce the > 1.3.7 results, the Box Framless insets for the critters have position > "t" and inner_pos "t" but for the title it needs position "c" and > inner_pos "t". T

Re: Is this cursor reset necessary?

2006-04-19 Thread Bo Peng
On 4/17/06, Juergen Spitzmueller <[EMAIL PROTECTED]> wrote: > Bo Peng wrote: > > 1. Open a document, edit the first paragraph > > 2. Scroll down a few pages, using mouse or page down key > > 3. File->save > > 4. Lyx will scroll back to the beginning of the document. > > Please try the attached patc

Re: [Additional patch] Re: [Patch] Fix outline crash for non-ToC tables

2006-04-19 Thread Abdelrazak Younes
Martin Vermeer a écrit : On Wed, Apr 19, 2006 at 04:25:11PM +0200, Abdelrazak Younes wrote: Martin Vermeer a écrit : On Wed, 2006-04-19 at 14:32 +0200, Abdelrazak Younes wrote: ... Actually the _crash_ is due to the paragraph being not in the main lyxtext. It is fixed by the attached patch,

[Additional patch] Re: [Patch] Fix outline crash for non-ToC tables

2006-04-19 Thread Martin Vermeer
On Wed, Apr 19, 2006 at 04:25:11PM +0200, Abdelrazak Younes wrote: > Martin Vermeer a écrit : > >On Wed, 2006-04-19 at 14:32 +0200, Abdelrazak Younes wrote: ... Actually the _crash_ is due to the paragraph being not in the main lyxtext. It is fixed by the attached patch, which also handles the ca

Re: 1.5.0svn, Qt2 crash on typeset

2006-04-19 Thread Juergen Spitzmueller
Enrico Forestieri wrote: >> Typesetting files with bibliographies crashes LyX (Qt2) on Mac. Hm, this is a consequence of my natbib slowdown fix (#2460). Obviously, boost::filesystem fails. Could you add some lyxerr messages in insetcite.C, below the comment // compare the cached timestamps with t

Re: book that prints with 1.3.7 is screwed up with 1.4.1

2006-04-19 Thread Garst R. Reese
I have done some experimenting changing the .lyx file. To reproduce the 1.3.7 results, the Box Framless insets for the critters have position "t" and inner_pos "t" but for the title it needs position "c" and inner_pos "t". The corresponding Minipage settings in 1.3.7 are position 0, inner_posit

Re: [Patch] initialise (qt4) toc dialog to current toc item

2006-04-19 Thread Abdelrazak Younes
Abdelrazak Younes a écrit : Abdelrazak Younes a écrit : Have you ever been frustrated that when opening the Toc, you have to look for the section where the cursor is? This patch fixes this for the qt4 version (the qt2 version should not be complicated to do). The non-qt4 changes are straight

Re: Replace gzstream by boost::iostream gzip_compressor?

2006-04-19 Thread Abdelrazak Younes
Lars Gullik Bjønnes a écrit : Abdelrazak Younes <[EMAIL PROTECTED]> writes: | Lars Gullik Bjønnes a écrit : | > "Bo Peng" <[EMAIL PROTECTED]> writes: | > | Dear list, | > | | boost now has a iostream library with gzip/bzip2 support. Does | > it make | > | sense to replace our current gzstream wi

Re: [Patch] Fix outline crash for non-ToC tables

2006-04-19 Thread Abdelrazak Younes
Martin Vermeer a écrit : On Wed, 2006-04-19 at 14:32 +0200, Abdelrazak Younes wrote: [...] + string const & type = toc::getType(controller().params().getCmdName()); Did you test this? I mean are you sure the return type is the same as the one selected in the type combo? (I haven't check

Re: [Patch] initialise (qt4) toc dialog to current toc item

2006-04-19 Thread Abdelrazak Younes
Martin Vermeer a écrit : On Wed, 2006-04-19 at 15:49 +0200, Abdelrazak Younes wrote: Abdelrazak Younes a écrit : Have you ever been frustrated that when opening the Toc, you have to look for the section where the cursor is? This patch fixes this for the qt4 version (the qt2 version should not

Re: 1.5.0svn, Qt2 crash on typeset

2006-04-19 Thread Enrico Forestieri
On Wed, Apr 19, 2006 at 09:26:34AM -0400, Bennett Helm wrote: > Typesetting files with bibliographies crashes LyX (Qt2) on Mac. > Here's the backtrace. (Why path_posix_windows.cpp on Mac?) > > Bennett > > - > > path_posix_windows.cpp:235: failed assertion `src.size() == > std::st

Re: [Patch] initialise (qt4) toc dialog to current toc item

2006-04-19 Thread Martin Vermeer
On Wed, 2006-04-19 at 15:49 +0200, Abdelrazak Younes wrote: > Abdelrazak Younes a écrit : > > Have you ever been frustrated that when opening the Toc, you have to > > look for the section where the cursor is? > > > > This patch fixes this for the qt4 version (the qt2 version should not be > > co

Re: [Patch] Fix outline crash for non-ToC tables

2006-04-19 Thread Martin Vermeer
On Wed, 2006-04-19 at 14:32 +0200, Abdelrazak Younes wrote: > Martin Vermeer a écrit : > > On Wed, 2006-04-19 at 10:28 +0200, Abdelrazak Younes wrote: ... > >> Martin, please have a look at the new ControlToc::canOutline() method. > >> Im 1.5svn you get a crash if you try to use outline with fig

Re: [Patch] initialise (qt4) toc dialog to current toc item

2006-04-19 Thread Abdelrazak Younes
Abdelrazak Younes a écrit : Have you ever been frustrated that when opening the Toc, you have to look for the section where the cursor is? This patch fixes this for the qt4 version (the qt2 version should not be complicated to do). The non-qt4 changes are straight forward, OK to apply? IMHO,

Re: Replace gzstream by boost::iostream gzip_compressor?

2006-04-19 Thread Lars Gullik Bjønnes
Abdelrazak Younes <[EMAIL PROTECTED]> writes: | Lars Gullik Bjønnes a écrit : | > "Bo Peng" <[EMAIL PROTECTED]> writes: | > | Dear list, | > | | boost now has a iostream library with gzip/bzip2 support. Does | > it make | > | sense to replace our current gzstream with this one? | > Yes. | > But le

Re: Replace gzstream by boost::iostream gzip_compressor?

2006-04-19 Thread Abdelrazak Younes
Bo Peng a écrit : Why don't we require boost-1.33.1 and stay with that instead of a copy? Is there something in boost-head that we need? Just a question I had in mind for some mind... I think the idea is to reduce the size of source package. boost is kind of too big. I mean require _installat

Re: Replace gzstream by boost::iostream gzip_compressor?

2006-04-19 Thread Angus Leeming
On Wednesday 19 April 2006 14:21, Bo Peng wrote: > > I've used this in the past: > > > > for file in `grep -r '^ *# *include * > cut -d'<' -f2 | \ > > cut -d'>' -f1 | \ > > sort -u` > > do > > ls $file > /dev/null > > done > > I used a less cleverer wa

Re: Replace gzstream by boost::iostream gzip_compressor?

2006-04-19 Thread Bo Peng
> Why don't we require boost-1.33.1 and stay with that instead of a copy? > Is there something in boost-head that we need? Just a question I had in > mind for some mind... I think the idea is to reduce the size of source package. boost is kind of too big. Bo

Re: Replace gzstream by boost::iostream gzip_compressor?

2006-04-19 Thread Abdelrazak Younes
Lars Gullik Bjønnes a écrit : "Bo Peng" <[EMAIL PROTECTED]> writes: | Dear list, | | boost now has a iostream library with gzip/bzip2 support. Does it make | sense to replace our current gzstream with this one? Yes. But let me import the iostream lib into our boost copy before you begin doin

1.5.0svn, Qt2 crash on typeset

2006-04-19 Thread Bennett Helm
Typesetting files with bibliographies crashes LyX (Qt2) on Mac. Here's the backtrace. (Why path_posix_windows.cpp on Mac?) Bennett - path_posix_windows.cpp:235: failed assertion `src.size() == std::strlen( src.c_str() )' Program received signal SIGABRT, Aborted. 0x90047e4c in

Re: Replace gzstream by boost::iostream gzip_compressor?

2006-04-19 Thread Bo Peng
> I've used this in the past: > > for file in `grep -r '^ *# *include * cut -d'<' -f2 | \ > cut -d'>' -f1 | \ > sort -u` > do > ls $file > /dev/null > done I used a less cleverer way to do this before. I put all boost files in. Then, I use a shell scr

Re: book that prints with 1.3.7 is screwed up with 1.4.1

2006-04-19 Thread Martin Vermeer
On Wed, 2006-04-19 at 07:29 -0500, Garst R. Reese wrote: > Martin Vermeer wrote: > > >On Wed, 2006-04-19 at 10:57 +0100, Jose' Matos wrote: > > > > > >>On Wednesday 19 April 2006 07:52, Martin Vermeer wrote: > >> > >> > >>>Sorry for the long analysis. Jose, do you agree? > >>> > >>> >

Re: Replace gzstream by boost::iostream gzip_compressor?

2006-04-19 Thread Angus Leeming
Bo Peng wrote: > This may be the most troublesome step (need to figure out which files > are needed). After that, it is only a replacement of gzstream by > filtering_ostream( gzip_compressor() | file_sink(...)). > > Bo I've used this in the past: for file in `grep -r '^ *# *include *' -f1 | \

Re: Windows Installer for LyX 1.4.1

2006-04-19 Thread Tomasz ?uczak
[EMAIL PROTECTED] wrote: Today I installed LyX 1.4.1 on my PC running under Windows XP Pro. I have a few comments to do on the Windows Installer: - language selection works properly inside the installer but only english LyX version is installed (tested with french and german; I am aware the lang

Re: Replace gzstream by boost::iostream gzip_compressor?

2006-04-19 Thread Bo Peng
> | boost now has a iostream library with gzip/bzip2 support. Does it make > | sense to replace our current gzstream with this one? > > Yes. > > But let me import the iostream lib into our boost copy before you > begin doing this change. This may be the most troublesome step (need to figure out wh

Re: [Patch] reduce linking time under windows (was Re: Question about C++ warning ...)

2006-04-19 Thread Abdelrazak Younes
Michael Gerz a écrit : I have 512 MB and building a shared library is still no fun. Let's be pragmatic. Shared vs. static is not a religuous question. By the way, did you try to build with my recent change to cygwin.m4? Here, it cuts down memory and time consumption by half for dynamic linkin

Re: [Patch] Fix outline crash for non-ToC tables

2006-04-19 Thread Abdelrazak Younes
Martin Vermeer a écrit : On Wed, 2006-04-19 at 10:28 +0200, Abdelrazak Younes wrote: Martin Vermeer a écrit : Attached, trying to take into account discussions since. OK to commit? No document format change, and I don't expect the user base will want to wait until 1.5 ;-) Martin, please have a

Re: Windows Installer for LyX 1.4.1

2006-04-19 Thread Andreas Karlsson
Paul A. Rubin <[EMAIL PROTECTED]> writes: > I can confirm the second and third (didn't try the first). > > /Paul I can also confirm the second and third. /Andreas

Re: book that prints with 1.3.7 is screwed up with 1.4.1

2006-04-19 Thread Garst R. Reese
Martin Vermeer wrote: On Wed, 2006-04-19 at 10:57 +0100, Jose' Matos wrote: On Wednesday 19 April 2006 07:52, Martin Vermeer wrote: Sorry for the long analysis. Jose, do you agree? I guess so, after such throughout explanation it is difficult not to agree. :-) Since you und

Re: r13694 - in /lyx-devel/trunk/src/frontends/gtk: ChangeLog...

2006-04-19 Thread Georg Baum
[EMAIL PROTECTED] wrote: > Author: spray > Date: Wed Apr 19 11:13:54 2006 > New Revision: 13694 > > Log: > Commit Bernhard Reiter's implementation of GExternal ../../../../src/frontends/gtk/GExternal.C: In function `void lyx::frontendget_display(lyx::external::DisplayType&, unsigned int&, co

[Patch] Fix outline crash for non-ToC tables

2006-04-19 Thread Martin Vermeer
On Wed, 2006-04-19 at 10:28 +0200, Abdelrazak Younes wrote: > Martin Vermeer a écrit : > > Attached, trying to take into account discussions since. > > > > OK to commit? No document format change, and I don't expect the user > > base will want to wait until 1.5 ;-) > > Martin, please have a look

Re: book that prints with 1.3.7 is screwed up with 1.4.1

2006-04-19 Thread Martin Vermeer
On Wed, 2006-04-19 at 10:57 +0100, Jose' Matos wrote: > On Wednesday 19 April 2006 07:52, Martin Vermeer wrote: > > Sorry for the long analysis. Jose, do you agree? > > I guess so, after such throughout explanation it is difficult not to > agree. :-) > > Since you understand both codes, I wo

Re: book that prints with 1.3.7 is screwed up with 1.4.1

2006-04-19 Thread Jose' Matos
On Wednesday 19 April 2006 07:52, Martin Vermeer wrote: > Sorry for the long analysis. Jose, do you agree? I guess so, after such throughout explanation it is difficult not to agree. :-) Since you understand both codes, I would vote for this code inclusion in both trunk and 1.4. Could yo

Re: [Patch] Outlining for 1.4.x

2006-04-19 Thread Martin Vermeer
On Wed, 2006-04-19 at 10:28 +0200, Abdelrazak Younes wrote: > Martin Vermeer a écrit : > > Attached, trying to take into account discussions since. > > > > OK to commit? No document format change, and I don't expect the user > > base will want to wait until 1.5 ;-) > > Martin, please have a look

Re: [Updated patch] Re: [Patch] initialise (qt4) toc dialog to current toc item

2006-04-19 Thread Jose' Matos
On Wednesday 19 April 2006 10:03, Angus Leeming wrote: > * Lisbon (José) You mean Porto, I only go to Lisbon when forced to. :-) You missed the Porto wine tour or else you would remember. ;-) (And that happens mostly because of Scouts, but I guess that is my good deed. ;-) -- José Abíli

LyX Meeting (was: [Updated patch] Re: [Patch] initialise (qt4) toc dialog to current toc item)

2006-04-19 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | Abdelrazak Younes <[EMAIL PROTECTED]> writes: | > I have no doubt. And you removed my smiley... I'll try to come to the | > next meeting. Where and when is that? | | Depends on who volunteers to host it. The last few meetings have been in | * Paris (JM

Re: [Updated patch] Re: [Patch] initialise (qt4) toc dialog to current toc item

2006-04-19 Thread Angus Leeming
Abdelrazak Younes <[EMAIL PROTECTED]> writes: > I have no doubt. And you removed my smiley... I'll try to come to the > next meeting. Where and when is that? Depends on who volunteers to host it. The last few meetings have been in * Paris (JMarc) * Chemnitz (André) * Chemnitz (André) * Lisbon (Jo

Re: [Patch] reduce linking time under windows (was Re: Question about C++ warning ...)

2006-04-19 Thread Abdelrazak Younes
Michael Gerz a écrit : Abdelrazak Younes wrote: [Lots of very good reasons to use Cygwin] You don't have to convince me Enrico I am already on your side ;-) My question was about the general windows user. For this kind of user, I think installing cygwin is I think a no-go; using native packag

Re: [Updated patch] Re: [Patch] initialise (qt4) toc dialog to current toc item

2006-04-19 Thread Abdelrazak Younes
Angus Leeming a écrit : Abdelrazak Younes <[EMAIL PROTECTED]> writes: This looks like heavyweight manipulation to get the data you desire. It suggests that TocItem needs a new member function that should be used instead of item.str. Yes, my first version used a new ParConstIterator member but

Re: [Updated patch] Re: [Patch] initialise (qt4) toc dialog to current toc item

2006-04-19 Thread Angus Leeming
Abdelrazak Younes <[EMAIL PROTECTED]> writes: >> This looks like heavyweight manipulation to get the data >> you desire. It suggests that TocItem needs a new member >> function that should be used instead of item.str. > Yes, my first version used a new ParConstIterator member but I really > fear

Re: [Patch] Outlining for 1.4.x

2006-04-19 Thread Abdelrazak Younes
Martin Vermeer a écrit : Attached, trying to take into account discussions since. OK to commit? No document format change, and I don't expect the user base will want to wait until 1.5 ;-) Martin, please have a look at the new ControlToc::canOutline() method. Im 1.5svn you get a crash if you t

Re: [Updated patch] Re: [Patch] initialise (qt4) toc dialog to current toc item

2006-04-19 Thread Abdelrazak Younes
Angus Leeming a écrit : Abdelrazak Younes <[EMAIL PROTECTED]> writes: OK to commit? Minor points only: Index: src/frontends/controllers/ControlToc.C +toc::TocItem const ControlToc::getCurrentTocItem( + string const & type) const +{ + BufferView const * const bv = kernel().bufferv

Re: Replace gzstream by boost::iostream gzip_compressor?

2006-04-19 Thread Lars Gullik Bjønnes
"Bo Peng" <[EMAIL PROTECTED]> writes: | Dear list, | | boost now has a iostream library with gzip/bzip2 support. Does it make | sense to replace our current gzstream with this one? Yes. But let me import the iostream lib into our boost copy before you begin doing this change. -- Lgb