Re: [patch] fix bug 2504

2008-04-11 Thread Edwin Leuven
Uwe Stöhr wrote: Thanks for the hint, this makes the code much smaller. and even smaller: string arg = "\\makebox"; if (p.next_token().character() == '(') //the syntax is: \makebox(x,y)[position]{content} //the content can be left as is, put the rest in ERT arg += p.get

Re: r24239 - /lyx-devel/trunk/lib/lyx2lyx/lyx_1_6.py

2008-04-11 Thread Bo Peng
I think it is enough to remove all \embed from the insets and I may have done something similar before. Cheers, Bo On Fri, Apr 11, 2008 at 12:21 PM, <[EMAIL PROTECTED]> wrote: > Author: spitz > Date: Fri Apr 11 19:20:59 2008 > New Revision: 24239 > > URL: http://www.lyx.org/trac/changeset/242

Re: The fourth embedding proposal from Abdel.

2008-04-11 Thread Bo Peng
> 2.d) copy referenced files to [tmpdir]/filename.lyxdir/embed/ > 2.e) modify [tmpdir]/filenamedir.lyxdir/content.lyx > 3-b) The reviewer ... This will create 'filename.lyx' directly extracted from > 'content.lyx' in the archive as well as the 'filename.embed' I can see that figure.png is co

The fourth embedding proposal from Abdel.

2008-04-11 Thread Bo Peng
The way _I_ would like things to work for me (the use case 2 I was talking about) is as follow: 1) I write a document in tradional, unbundled, fashion: 'filename.lyx' 2) When I am done, I click "save in bundled format". This will generate a 'filename.lyz' file wherever I said to generate it (could

Re: make error

2008-04-11 Thread Bob Lounsbury
On Fri, Apr 11, 2008 at 5:57 PM, Bob Lounsbury <[EMAIL PROTECTED]> wrote: > I'm going to put a completely different stick of memory in and test it > and try to compile LyX and see what happens. > > Cheers, > /Bob > Just for the update. Not that it is of any importance to the development of LyX

Re: [patch] fix bug 2504

2008-04-11 Thread Uwe Stöhr
Jean-Marc Lasgouttes schrieb: I think something is wrong here. Arguments in [] are optional. I doubt that you code will handle \makebox(3,2){contents} gracefully. You are right, I missed this case. You should use getFullOpt to read such optional strings (also in the > other kind of \makebox

Re: make error

2008-04-11 Thread Bob Lounsbury
On Thu, Apr 10, 2008 at 9:46 PM, rgheck <[EMAIL PROTECTED]> wrote: > Bob Lounsbury wrote: > > > Out of curiosity have you have run into this error: > > > > TocBackend.cpp:201: internal compiler error: Segmentation fault > > Please submit a full bug report, > > with preprocessed source if appropriat

Re: Any idea on #475523? - LyX unusable with Qt 4.4.0rc1-2

2008-04-11 Thread Ben Goodrich
Sven Hoexter <[EMAIL PROTECTED]> writes: > > [Notice: lyx-devel is subscribers only so if you dislike to receive any > held for moderation notice etc. just kick it and I'll forward mails if needed] > > Hi, > with Qt 4.4.0rc1-2 hitting unstable we noticed that LyX fails badly. I've > no clue if i

Re: Any idea on #475523? - LyX unusable with Qt 4.4.0rc1-2

2008-04-11 Thread Ben Goodrich
Sven Hoexter <[EMAIL PROTECTED]> writes: > > [Notice: lyx-devel is subscribers only so if you dislike to receive any > held for moderation notice etc. just kick it and I'll forward mails if needed] > > Hi, > with Qt 4.4.0rc1-2 hitting unstable we noticed that LyX fails badly. I've > no clue if i

Re: Answers to Questions

2008-04-11 Thread Abdelrazak Younes
Bo Peng wrote: Richard (JMarc), will you accept a 'open by winzip' solution as Enrico proposed? Note that we could as well use the internal zip for opening such files, no need to do that externally. There are some issues here. 1. When a user opens filename.lyz, Richard's pr

Re: custom document language

2008-04-11 Thread Luis Rivera
Jürgen Spitzmüller <[EMAIL PROTECTED]> writes: > > Could you please file an enhancement report for this? > Done. Thanks for your input. Luis.

Re: Reversion to 1.5 broken due to Embedding

2008-04-11 Thread Jürgen Spitzmüller
Bo Peng wrote: > I invite you to join the 'how embedding should be' discussion. No, thanks. I follow the discussion a bit, but I do not have time nor energy to dive into all these concepts now. > All these stuff may have to be reverted. Yes, this is entirely possible, given all the bugs that i

Re: Reversion to 1.5 broken due to Embedding

2008-04-11 Thread Bo Peng
> > This change should have been a file format change and the embed parameter > > should have been removed on reversion. > > This patch saves what can be saved and mends the reversion. However, the file > format corruption (that concerns rev. 22442 to 22470) cannot be undone :-( I invite you t

Re: Reversion to 1.5 broken due to Embedding

2008-04-11 Thread Jürgen Spitzmüller
Jürgen Spitzmüller wrote: > http://www.lyx.org/trac/changeset/22442 > > As of this revision, reversion of documents with external insets is broken. > The documents get completely messed up. > > This change should have been a file format change and the embed parameter > should have been removed on r

Re: Answers to Questions

2008-04-11 Thread Bo Peng
> > Richard (JMarc), will you accept a 'open by winzip' solution as Enrico > proposed? > > > > Note that we could as well use the internal zip for opening such files, no > need to do that externally. There are some issues here. 1. When a user opens filename.lyz, Richard's proposal, as far as I u

imagemagick and smoothing

2008-04-11 Thread Pavel Sanda
hi, i've just installed new version of imagemagick and found that images inside the lyx window are not antialiased anymore. anybody can confirm? (do we use converters settings for this conversion?) pavel

Re: LyX +autocorrect

2008-04-11 Thread Pavel Sanda
hi Ed, > Any chance that "autocorrect" spelling will be built into LyX one day? maybe you will be intersted in this page: http://wiki.lyx.org/LyX/FeaturePoll also please read Lists Netiquette section in this page: http://www.lyx.org/MailingLists , especially the hijacking bullet. pavel

Re: The new web site and that first image

2008-04-11 Thread Paul A. Rubin
Angus Leeming wrote: The new site is looking fantastic! Way to go, guys! Way to go! (See, I've become American :-P) Not unless there was a virtual butt-slap or high-five that I missed. ;-) Unless maybe by "American" you meant "Canadian", in which case you're within one "eh?" of qualifying.

Re: LyX +autocorrect

2008-04-11 Thread Jürgen Spitzmüller
Ed Sykes wrote: > Any chance that "autocorrect" spelling will be built into LyX one day? one day? possibly (if someone comes up with a patch). Soon? Low chance. Jürgen

LyX +autocorrect

2008-04-11 Thread Ed Sykes
Any chance that "autocorrect" spelling will be built into LyX one day? Cheers, Ed Sykes

Re: The new web site and that first image

2008-04-11 Thread Pavel Sanda
> Above all, I think the essential point is for that picture to feature LyX > in action. just a random thought - maybe only small cut of lyx window could be used - for example caption of some float with math formula,instant preview on, editing some text. other snippet could show an latex output

Re: The new web site and that first image

2008-04-11 Thread Rex C. Eastbourne
Jean-Marc Lasgouttes wrote: "Rex C. Eastbourne" <[EMAIL PROTECTED]> writes: Fair enough, JMarc. What would you like to see as an example of the interface? I'm trying to look for something that won't look too noisy when it overlaps with the text. If someone sends me an image of what to includ

Re: Answers to Questions

2008-04-11 Thread Abdelrazak Younes
Bo Peng wrote: Enrico's solution can be combined with JMarc's directory structure AFAIU. Richard (JMarc), will you accept a 'open by winzip' solution as Enrico proposed? Note that we could as well use the internal zip for opening such files, no need to do that externally. No, we are n

Re: about captions in longtables

2008-04-11 Thread Abdelrazak Younes
Leuven, E. wrote: one solution would be to mark a row as a captionrow through the dialog in the same way we mark it as a header or footer. we could then merge all the cells in that row and allow the user to insert a caption inset in there. this would be a file format change of course (and then

Re: The new web site and that first image

2008-04-11 Thread Jean-Marc Lasgouttes
"Rex C. Eastbourne" <[EMAIL PROTECTED]> writes: > Fair enough, JMarc. What would you like to see as an example of the > interface? I'm trying to look for something that won't look too noisy > when it overlaps with the text. If someone sends me an image of what > to include, I can forward it to the

Reversion to 1.5 broken due to Embedding

2008-04-11 Thread Jürgen Spitzmüller
http://www.lyx.org/trac/changeset/22442 As of this revision, reversion of documents with external insets is broken. The documents get completely messed up. This change should have been a file format change and the embed parameter should have been removed on reversion. Jürgen

Re: The new web site and that first image

2008-04-11 Thread Rex C. Eastbourne
Angus Leeming wrote: The new site is looking fantastic! Way to go, guys! Way to go! (See, I've become American :-P) I see that Rex has created a new graphic for the home page, so presumably you're still experimenting with such things. With that as my preamble, I'd like to share some comments

Re: The new web site and that first image

2008-04-11 Thread Rex C. Eastbourne
Jean-Marc Lasgouttes wrote: Angus Leeming <[EMAIL PROTECTED]> writes: The new site is looking fantastic! Way to go, guys! Way to go! (See, I've become American :-P) I see that Rex has created a new graphic for the home page, so presumably you're still experimenting with such things. With th

Any idea on #475523? - LyX unusable with Qt 4.4.0rc1-2

2008-04-11 Thread Sven Hoexter
[Notice: lyx-devel is subscribers only so if you dislike to receive any held for moderation notice etc. just kick it and I'll forward mails if needed] Hi, with Qt 4.4.0rc1-2 hitting unstable we noticed that LyX fails badly. I've no clue if it's a problem of LyX with the new Qt version or a proble

Re: Alternate Bundling Proposal: Details

2008-04-11 Thread Bo Peng
> > Then our last disagreement would be on your session proposal. I know > > you would not like me to abuse our user's guide again, but if a user > > send us a revised user's guide in bundled format, none of us can > > unbundle it cleanly to our tree because only he has the session file > > on

Re: Answers to Questions

2008-04-11 Thread Bo Peng
> > Enrico's solution can be combined with JMarc's directory structure AFAIU. Richard (JMarc), will you accept a 'open by winzip' solution as Enrico proposed? > > No, we are not forced to do this. I can well imagine two push buttons > corresponding to two use cases: "organise document for bundl

about captions in longtables

2008-04-11 Thread Leuven, E.
the new line setting code i introduced some time ago is incompatible with the way we handle captions in longtables. atm it longtable caption support in lyx is a dirty hack: we enter \caption{blah} \\% in a cell and this will effectively insert a caption and comment out the rest of the row t

Re: The new web site and that first image

2008-04-11 Thread Jürgen Spitzmüller
Jean-Marc Lasgouttes wrote: > The only problem I see with the new graphic is that it implies rather > strongly that LyX is able to produce those 3d plots. Very misleading > IMO. For me, this images implies that LyX is a tool specifically for natural sciences. This strikes me (being a user from th

visual cursor in tables

2008-04-11 Thread Dov Feldstern
Hi! I just committed another stage of the visual cursor work (http://www.lyx.org/trac/changeset/24235) --- this makes this work in tables, too. Please pay attention to cursor movement within tables to make sure that I didn't break anything! Thanks! Dov

Re: More displays

2008-04-11 Thread Abdelrazak Younes
Pavel Sanda wrote: On Fri, Mar 14, 2008 at 11:22:15PM +0100, Abdelrazak Younes wrote: Andre Poenitz wrote: On Fri, Mar 14, 2008 at 09:53:08PM +0100, Pavel Sanda wrote: hi, does anybody know whether is possible for one process to own different windows on different X displays ? Conceptionally

Re: a defined release plan for LyX 1.6.0

2008-04-11 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: Abdelrazak Younes <[EMAIL PROTECTED]> writes: Jean-Marc Lasgouttes wrote: José Matos <[EMAIL PROTECTED]> writes: Now I am just waiting from André to add the missing file. :-) If it blocks you, do like me: use - #define LASSERT(a,b) as stub file.

Re: a defined release plan for LyX 1.6.0

2008-04-11 Thread Jean-Marc Lasgouttes
Abdelrazak Younes <[EMAIL PROTECTED]> writes: > Jean-Marc Lasgouttes wrote: >> José Matos <[EMAIL PROTECTED]> writes: >> >>> Now I am just waiting from André to add the missing file. :-) >> >> If it blocks you, do like me: use - >> #define LASSERT(a,b) >> >> as stub file. It seems

Re: a defined release plan for LyX 1.6.0

2008-04-11 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: José Matos <[EMAIL PROTECTED]> writes: Now I am just waiting from André to add the missing file. :-) If it blocks you, do like me: use - #define LASSERT(a,b) as stub file. It seems to work. Then I suggest to commit this temporarily until Andre

Re: a defined release plan for LyX 1.6.0

2008-04-11 Thread Jean-Marc Lasgouttes
José Matos <[EMAIL PROTECTED]> writes: > Now I am just waiting from André to add the missing file. :-) If it blocks you, do like me: use - #define LASSERT(a,b) as stub file. It seems to work. JMarc

Re: Friday all week? (Was: Have mercy, I surrender !)

2008-04-11 Thread christian . ridderstrom
On Fri, 11 Apr 2008, Abdelrazak Younes wrote: Has it been Friday all week? To Bo's defense, I understand that he is a bit upset as he worked obviously a lot on this embedding stuff without anyone commenting for months, even though he asked for comments. Only recently Richard (rightfully) q

Re: a defined release plan for LyX 1.6.0

2008-04-11 Thread José Matos
On Friday 11 April 2008 08:08:27 Abdelrazak Younes wrote: > alpha2: today :-) > beta1: 01/05/2008 > beta2: 15/05/2008 > RC1 or beta3: 01/06/2008 > RC2 or beta4: 15/06/2008 > 1.6.0 or RC3: 01/07/2008 > > So I think we can even do faster ;-) It is a good schedule. :-) Now I am just waiting from And

Re: Alternate Bundling Proposal: Details

2008-04-11 Thread José Matos
On Thursday 10 April 2008 18:10:54 Bo Peng wrote: > > I will not insist on this as I think that I made my point clear, too > > much information leaked can become a security problem later. > > Great. > > Then our last disagreement would be on your session proposal. I know > you would not like me to

Re: custom document language

2008-04-11 Thread Jürgen Spitzmüller
Luis Rivera wrote: > Please consider adding the following line to the languages file in > all distros: > > spanishmx   spanish     "Spanish Mexico" false  iso8859-1  es_MX > "\shorthandoff {.~<>}" > > Thanks in advance, Could you please file an enhancement report for this? Jürgen

Re: The new web site and that first image

2008-04-11 Thread Jean-Marc Lasgouttes
Angus Leeming <[EMAIL PROTECTED]> writes: > The new site is looking fantastic! Way to go, guys! Way to go! (See, > I've become American :-P) > > I see that Rex has created a new graphic for the home page, so > presumably you're still experimenting with such things. With that as > my preamble, I'd

Re: Have mercy, I surrender !

2008-04-11 Thread Edwin Leuven
Abdelrazak Younes wrote: What Bo wants (as I understand): - the possiblity to work in "bundled" mode in a completely transparent manner to the collaborator. sure - The possibility to mark each inset independantly. this i don't like personally. i have the impression that lyx is slowly beco

Re: [patch] fix bug 2504

2008-04-11 Thread Jean-Marc Lasgouttes
Uwe Stöhr <[EMAIL PROTECTED]> writes: > + else if (t.cs() == "makebox") { > + if (p.next_token().character() == '(') { > + //the syntax is: > \makebox(x,y)[position]{content} > + //the content can be left as i

Re: [patch] fix bug 2504

2008-04-11 Thread Edwin Leuven
i edited the patch a bit and made it a bit nicer by taking handle_ert out of the if's i also attach a second version which is much shorter both untested Uwe Stöhr wrote: The attached patch for trunk fixes http://bugzilla.lyx.org/show_bug.cgi?id=2504 http://bugzilla.lyx.org/show_bug.cgi?id=25

The new web site and that first image

2008-04-11 Thread Angus Leeming
The new site is looking fantastic! Way to go, guys! Way to go! (See, I've become American :-P) I see that Rex has created a new graphic for the home page, so presumably you're still experimenting with such things. With that as my preamble, I'd like to share some comments I have about the image

Re: [Cvslog] r24146 - /lyx-devel/trunk/src/LyXAction.cpp

2008-04-11 Thread Abdelrazak Younes
Pavel Sanda wrote: Pavel Sanda wrote: Abdel, what is the reason for geometry argument used only when #ifdef Q_WS_WIN ? the -geometry argument is supposed to be handled by X11 natively so we just ignore it on this platform. which is wrong in case this lfun is called directly from command buffe

Re: a defined release plan for LyX 1.6.0

2008-04-11 Thread Abdelrazak Younes
Uwe Stöhr wrote: > These things do not need to be discussed. They should be imposed ;-) But our release dictator doesn't impose but tests out democracy ;-). > Temptative schedule: > alpha2: today :-) > beta1: 01/06/2008 > beta2: 15/06/2008 > RC1 or beta3: 01/07/2008 > RC2 or beta4: 15/07

Re: Answers to Questions

2008-04-11 Thread Abdelrazak Younes
Bo Peng wrote: 1. In bundled mode, do you create filename.lyz or filename.lyxdir/content.lyx when you create a new file and save? My proposal, following JMarc, was that bundled mode is separate from compressed mode. So it depends upon whether we're creating a compressed bundle or not. If it's