Re: Problem with CMake and package.C

2006-12-20 Thread Peter Kümmel
Bo Peng wrote: >> > Additionally cmake needs @VAR@ instead of %VAR% to >> > get VAR replaced with its value. >> > Doesn't configure also work with @? Then please commit >> > attached patch. > > If you change all @VAR@ to $VAR$ or vise vesa, autotools may have to > be changed as well, so ask Georg

Re: Pure virutal function is called.

2006-12-20 Thread Peter Kümmel
The non empty patch. Peter Kümmel wrote: > Enrico Forestieri wrote: >> On Wed, Dec 20, 2006 at 07:57:30PM +0100, Peter Kümmel wrote: >>> Bo Peng wrote: It appears to me that ~LyxView() is called before ~Buffer() so when the closing() signal is emitted (line 229, buffer.C), and triggers

Re: Pure virutal function is called.

2006-12-20 Thread Peter Kümmel
Enrico Forestieri wrote: > On Wed, Dec 20, 2006 at 07:57:30PM +0100, Peter Kümmel wrote: >> Bo Peng wrote: >>> It appears to me that ~LyxView() is called before ~Buffer() so when >>> the closing() signal is emitted (line 229, buffer.C), and triggers a >>> LyXView::setBuffer, there is no instance of

[patch] version size

2006-12-20 Thread Enrico Forestieri
I have committed the attached patch. I don't know why it was working with Qt3. Another bug smashed in Qt4, I think. -- Enrico Use a larger font for displaying the version number on the splash screen * src/frontends/qt4/GuiWorkArea.C (GuiWorkArea::doGreyOut): don't use LyXFont::SI

Re: Pure virutal function is called.

2006-12-20 Thread Enrico Forestieri
On Wed, Dec 20, 2006 at 07:57:30PM +0100, Peter Kümmel wrote: > Bo Peng wrote: > > It appears to me that ~LyxView() is called before ~Buffer() so when > > the closing() signal is emitted (line 229, buffer.C), and triggers a > > LyXView::setBuffer, there is no instance of LyXView. This is the also >

Policy of adding new commands to syntax.default

2006-12-20 Thread Gregor Gorjanc
Hello! What is the policy of adding new/additional latex commands to snytax.default file. I have two additions from Sweave. It is not a problem to put these into a local file, but it would be nice to have them directly in LyX by default. Thanks! Gregor And a patch against current lyx-devel Ind

Re: Lyx Suggestions

2006-12-20 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> So, AFAIS, this is exactly the same as Ctrl-Tab in a Abdelrazak> multi-line equation. Splitting math cell to get a Abdelrazak> multi-line equation is achieved by Ctrl+Enter not Abdelrazak> Ctrl

Re: Problem with CMake and package.C

2006-12-20 Thread Bo Peng
> Additionally cmake needs @VAR@ instead of %VAR% to > get VAR replaced with its value. > Doesn't configure also work with @? Then please commit > attached patch. If you change all @VAR@ to $VAR$ or vise vesa, autotools may have to be changed as well, so ask Georg first. Scons handled both cases

Re: Problem with CMake and package.C

2006-12-20 Thread Abdelrazak Younes
Peter Kümmel wrote: I've applied this patch: Index: CMakeLists.txt === --- CMakeLists.txt (revision 16341) +++ CMakeLists.txt (working copy) @@ -83,6 +83,17 @@ endif(noconsole) endif(WIN32) +set(LYX_DIR "

Re: [Patch] Fix 675 caption behaviour

2006-12-20 Thread Martin Vermeer
On Wed, 2006-12-20 at 13:01 +0100, Abdelrazak Younes wrote: > Georg Baum wrote: > > Am Dienstag, 19. Dezember 2006 16:16 schrieb Abdelrazak Younes: > > > >> The patch does not apply cleanly... > > > > I put an updated one in bugzilla. It was partly applied already, and I > > applied one pure for

Re: Pure virutal function is called.

2006-12-20 Thread Peter Kümmel
Bo Peng wrote: > It appears to me that ~LyxView() is called before ~Buffer() so when > the closing() signal is emitted (line 229, buffer.C), and triggers a > LyXView::setBuffer, there is no instance of LyXView. This is the also > the case for msvc, but lyx/win does not report any error. > > Peter,

Re: [PATCH] LyX/Mac menu merging

2006-12-20 Thread Peter Kümmel
Jean-Marc Lasgouttes wrote: >> "Peter" == Peter Kümmel <[EMAIL PROTECTED]> writes: > > Peter> I just added a new 'LyX' menu with a Quit entry, because if it > Peter> doesn't exist, it will be created by Qt(?) and the generated > Peter> Quit bypasses our quit strategy which ends in a crash. >

Re: Problem with CMake and package.C

2006-12-20 Thread Peter Kümmel
Abdelrazak Younes wrote: > Hi Peter, > > package.C contains the following: > > string const top_srcdir() > { > static string const dir("%TOP_SRCDIR%"); > return dir; > } > > > string const hardcoded_localedir() > { > return string("%LOCALEDIR%"); > } > > > string const hardcoded_s

Re: Lyx Suggestions

2006-12-20 Thread christian . ridderstrom
On Wed, 20 Dec 2006, Abdelrazak Younes wrote: [EMAIL PROTECTED] wrote: On Wed, 20 Dec 2006, Abdelrazak Younes wrote: > > Do you know about Ctrl+PageUp/PageDown? > > By the way, could we please add also Ctrl+Tab and Ctrl+Shift+Tab for > those? A lot of application in Windows (and I belie

Re: lyx feedback from long term user

2006-12-20 Thread Tilman Rothe
I re-read my original post and it sounds rude - I apologize. excel import: Typically I have a worksheet with a lot of measurement data, a few intermediate calculations and several neat results tables somewhere that need to make it into the final write-up. So it would be great to have some point-a

Re: lyx feedback from long term user

2006-12-20 Thread Bo Peng
I don't know anything about tables and longtables, is there anybody willing to do the proper tabular creation? We are at feature freeze so we will have to wait for a while. I have put this to my agenda. Bo

Re: newer version of my european.kmap file

2006-12-20 Thread Jacek M. Holeczek
Hi, > I suspect this is something that has been removed a long time ago. As > far as I know, the argument to kmod should be only a list of letters > accepting accents. So native would mean letters n, a, t, i, v and e, > if I understand correctly. For the moment I can say that I get accents on all

Re: lyx feedback from long term user

2006-12-20 Thread Abdelrazak Younes
Bo Peng wrote: I have a ready-to-use class that parse CSV file. Is there any interest to integrate this in LyX? I am. Entering results to lyx/table has been painful. It would be good if you can also import tab/space separated files. Yes, this class accept any kind of delimiter... attached. I

Re: lyx feedback from long term user

2006-12-20 Thread Bo Peng
I have a ready-to-use class that parse CSV file. Is there any interest to integrate this in LyX? I am. Entering results to lyx/table has been painful. It would be good if you can also import tab/space separated files. Bo

Re: Pure virutal function is called.

2006-12-20 Thread Bo Peng
It appears to me that ~LyxView() is called before ~Buffer() so when the closing() signal is emitted (line 229, buffer.C), and triggers a LyXView::setBuffer, there is no instance of LyXView. This is the also the case for msvc, but lyx/win does not report any error. Peter, does this have anything t

Re: lyx feedback from long term user

2006-12-20 Thread Abdelrazak Younes
Andreas K. wrote: Tilman Rothe <[EMAIL PROTECTED]> writes: *make it easy to import tables from excel. something like convert-text-to-table would do perfectly fine. Have you tried Excel2Latex? http://www.jam-software.com/freeware/index.shtml http://www.tug.org/tex-archive/help/Catalogue/entri

Re: lyx feedback from long term user

2006-12-20 Thread Andreas K .
Tilman Rothe <[EMAIL PROTECTED]> writes: > *make it easy to import tables from excel. something like > convert-text-to-table would do perfectly fine. Have you tried Excel2Latex? http://www.jam-software.com/freeware/index.shtml http://www.tug.org/tex-archive/help/Catalogue/entries/excel2latex.htm

Re: newer version of my european.kmap file

2006-12-20 Thread Jean-Marc Lasgouttes
> "Jacek" == Jacek M Holeczek <[EMAIL PROTECTED]> writes: Jacek> Hi, >> Thanks for the file. I have a question though: what does 'native' >> mean in \kmod ' acute native Jacek> Well, we have a problem then!!! I took it directly from the Jacek> american.kmap!!! Both LyX 1.3.5 and 1.4.3 have it

Re: newer version of my european.kmap file

2006-12-20 Thread Jacek M. Holeczek
Hi, > Thanks for the file. I have a question though: what does 'native' mean in > \kmod ' acute native Well, we have a problem then!!! I took it directly from the american.kmap!!! Both LyX 1.3.5 and 1.4.3 have it!!! Who is the author of the american.kmap??? Please tell me if it is wrong ... if ye

Re: new version of my european.kmap file

2006-12-20 Thread Jacek M. Holeczek
> Indeed the changes are done in the 'preferences' file now. > (...) > lyxrc.dist is not mandatory, but optional. It is for packagers, not > users. That is exactly what I want to do ... I install LyX in a multiuser environment and I want to set some "global" options. Previously I was using "/usr/.

Re: Bad translations in LyX?win 1.4.3-5 -- Scons problem?

2006-12-20 Thread Jean-Marc Lasgouttes
> "Bo" == Bo Peng <[EMAIL PROTECTED]> writes: >> 1.4.x? Quite likely. I will fix that. Bo> UIC flag: '-tr lyx::qt_' is added. Thanks a lot. Joost? JMarc

Re: revtex4 inconveniences (tex2lyx, lyx-1.4.3)

2006-12-20 Thread Jean-Marc Lasgouttes
> "Jacek" == Jacek M Holeczek <[EMAIL PROTECTED]> writes: Jacek> Hi, >> This is an artefact of the way we handle title parts. They should >> be consecutive paragraph of style that have InTitle set to one. The >> \maketitle is inserted before the first paragraph that is not part >> of a title.

Re: Bad translations in LyX?win 1.4.3-5 -- Scons problem?

2006-12-20 Thread Bo Peng
1.4.x? Quite likely. I will fix that. UIC flag: '-tr lyx::qt_' is added. Bo

Re: revtex4 inconveniences (tex2lyx, lyx-1.4.3)

2006-12-20 Thread Jacek M. Holeczek
Hi, > This is an artefact of the way we handle title parts. They should be > consecutive paragraph of style that have InTitle set to one. The > \maketitle is inserted before the first paragraph that is not part of > a title. A "comment" can appear in any place of a LaTeX file. Why not before \mak

Re: new version of my european.kmap file

2006-12-20 Thread Jean-Marc Lasgouttes
> "Jacek" == Jacek M Holeczek <[EMAIL PROTECTED]> writes: [after answering your newer message, let's continue with the older one :) ] Jacek> To all whom it may concern, please find attached a new version Jacek> of my "european.kmap" file. It has been verified with both, the Jacek> 1.3.5, and

Re: newer version of my european.kmap file

2006-12-20 Thread Jean-Marc Lasgouttes
> "Jacek" == Jacek M Holeczek <[EMAIL PROTECTED]> writes: Jacek> To all whom it may concern, please find attached a newer Jacek> version of my "european.kmap" file. It has been verified with Jacek> both, the 1.3.5, and 1.4.3 versions of LyX. Please put this new Jacek> version into both develop

Re: Bad translations in LyX?win 1.4.3-5 -- Scons problem?

2006-12-20 Thread Bo Peng
I just noticed that with LyX 1.4.3-5 on windows, the ui elements from the dialogs are not translated, while the menus and the stuff directly translated by lyx are correct. 1.4.x? Quite likely. I will fix that. Thanks. Bo

Re: [Cvslog] r16345 - /lyx-devel/trunk/lib/layouts/revtex4.layout

2006-12-20 Thread Jean-Marc Lasgouttes
> "Enrico" == Enrico Forestieri <[EMAIL PROTECTED]> writes: >> LabelString "Electronic Address:" Enrico> Ugh... why not "Email Address:"? Because this is exactly the label that revtex4 uses. JMarc

Re: [Cvslog] r16345 - /lyx-devel/trunk/lib/layouts/revtex4.layout

2006-12-20 Thread Enrico Forestieri
On Wed, Dec 20, 2006 at 02:03:26PM -, [EMAIL PROTECTED] wrote: > Author: lasgouttes > Date: Wed Dec 20 15:03:25 2006 > New Revision: 16345 > > URL: http://www.lyx.org/trac/changeset/16345 > Log: > Add layout AltAffiliation ; add optional argument support for Author Email and > Author URL > >

Re: [PATCHes] do not open collapsable insets when selecting

2006-12-20 Thread Enrico Forestieri
On Wed, Dec 20, 2006 at 02:27:08PM +0100, Jean-Marc Lasgouttes wrote: > > "Enrico" == Enrico Forestieri <[EMAIL PROTECTED]> writes: > > Enrico> I fear that you exchanged an annoyance with a crash... > > I swear that I originally planned to test the 1.5 patch before > committing it! Venia dig

Re: [PATCH] LyX/Mac menu merging

2006-12-20 Thread Jean-Marc Lasgouttes
> "Bennett" == Bennett Helm <[EMAIL PROTECTED]> writes: Bennett> Yes: everything seems to be where it belongs, and the extra Bennett> LyX menu has disappeared. OK, I'll commit then. Bennett> I did notice one thing, though. As I have reported before, Bennett> when a dialog is frontmost, most

Re: revtex4 inconveniences (tex2lyx, lyx-1.4.3)

2006-12-20 Thread Jean-Marc Lasgouttes
> "Jacek" == Jacek M Holeczek <[EMAIL PROTECTED]> writes: Jacek> Please find attached a modified patch for revtex4.layout, in Jacek> which I added also the \altaffiliation (tested with LyX 1.4.3). I applied it to 1.4 and 1.5. Jacek> On this occasion, I would like to report one bug - if I put

Re: [PATCH] LyX/Mac menu merging

2006-12-20 Thread Bennett Helm
On Dec 20, 2006, at 8:39 AM, Jean-Marc Lasgouttes wrote: "Bennett" == Bennett Helm <[EMAIL PROTECTED]> writes: Final checks: - did you check that stuff like Document>Settings is not removed? Bennett> Yes: that is there. - what happens in non-english locale? Bennett> I checked with LANG

Re: Lyx Suggestions

2006-12-20 Thread Jean-Marc Lasgouttes
> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> So, AFAIS, this is exactly the same as Ctrl-Tab in a Abdelrazak> multi-line equation. Splitting math cell to get a Abdelrazak> multi-line equation is achieved by Ctrl+Enter not Abdelrazak> Ctrl-Tab. I think that Ctrl+

Re: Lyx Suggestions

2006-12-20 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> Ah yes, I forgot about that! Maybe we could change that to Abdelrazak> simply Tab? Right now Tab (on Windows) removes the focus Abdelrazak> from the WorkArea and gives it to the next element. T

Re: Lyx Suggestions

2006-12-20 Thread Jean-Marc Lasgouttes
> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> Ah yes, I forgot about that! Maybe we could change that to Abdelrazak> simply Tab? Right now Tab (on Windows) removes the focus Abdelrazak> from the WorkArea and gives it to the next element. This Abdelrazak> last beha

Re: [PATCH] LyX/Mac menu merging

2006-12-20 Thread Jean-Marc Lasgouttes
> "Bennett" == Bennett Helm <[EMAIL PROTECTED]> writes: >> Final checks: >> >> - did you check that stuff like Document>Settings is not removed? Bennett> Yes: that is there. >> - what happens in non-english locale? Bennett> I checked with LANG=FR_fr. Accents appear correctly. But in Bennet

Re: Lyx Suggestions

2006-12-20 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> Jean-Marc Lasgouttes wrote: "Steve" == <[EMAIL PROTECTED]> writes: Steve> Hi, I have just discovered Lyx and trying to get to grips its Steve> interface. One thing I found annoying was trying

Re: Lyx Suggestions

2006-12-20 Thread Jean-Marc Lasgouttes
> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> Jean-Marc Lasgouttes wrote: >>> "Steve" == <[EMAIL PROTECTED]> writes: >> Steve> Hi, I have just discovered Lyx and trying to get to grips its Steve> interface. One thing I found annoying was trying to move Steve>

Re: crash due to: [PATCHes] do not open collapsable insets when selecting

2006-12-20 Thread Jean-Marc Lasgouttes
> "Uwe" == Uwe Stöhr <[EMAIL PROTECTED]> writes: Uwe> JMarc wrote: >> When selecting a collapsable inset with the mouse, it opens at >> mouse release time. This is very very annoying... >> The following pair of patches fix this. Objections? Uwe> I applied your changes in revision 16337 and t

Re: [PATCHes] do not open collapsable insets when selecting

2006-12-20 Thread Jean-Marc Lasgouttes
> "Enrico" == Enrico Forestieri <[EMAIL PROTECTED]> writes: Enrico> I fear that you exchanged an annoyance with a crash... I swear that I originally planned to test the 1.5 patch before committing it! It should work now. JMarc Index: src/insets/insetcollapsable.C ==

Bad translations in LyX?win 1.4.3-5 -- Scons problem?

2006-12-20 Thread Jean-Marc Lasgouttes
I just noticed that with LyX 1.4.3-5 on windows, the ui elements from the dialogs are not translated, while the menus and the stuff directly translated by lyx are correct. So it seems that the right options are not passed to moc, or something like that. Could the people who use scons check that i

Re: [Cvslog] r16340 - /lyx-devel/trunk/src/insets/insetcaption.C

2006-12-20 Thread Georg Baum
Martin Vermeer wrote: > (blush) did I do that? This was one part of your patch that did not apply cleanly, and after I found out that it was only correcting the strange formatting I put it in. Georg

Re: Lyx Suggestions

2006-12-20 Thread Abdelrazak Younes
[EMAIL PROTECTED] wrote: On Wed, 20 Dec 2006, Abdelrazak Younes wrote: Do you know about Ctrl+PageUp/PageDown? By the way, could we please add also Ctrl+Tab and Ctrl+Shift+Tab for those? A lot of application in Windows (and I believe KDE also) use these binding to switch document. He cou

Re: Lyx Suggestions

2006-12-20 Thread christian . ridderstrom
On Wed, 20 Dec 2006, Abdelrazak Younes wrote: Do you know about Ctrl+PageUp/PageDown? By the way, could we please add also Ctrl+Tab and Ctrl+Shift+Tab for those? A lot of application in Windows (and I believe KDE also) use these binding to switch document. He could probably bind Ctrl-Tab

Re: [Patch] Fix 675 caption behaviour

2006-12-20 Thread Abdelrazak Younes
Georg Baum wrote: Am Dienstag, 19. Dezember 2006 16:16 schrieb Abdelrazak Younes: The patch does not apply cleanly... I put an updated one in bugzilla. It was partly applied already, and I applied one pure formatting change, too, so it is now really small. I now have "Senseless!" instead o

Re: Lyx Suggestions

2006-12-20 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: "Steve" == <[EMAIL PROTECTED]> writes: Steve> Hi, I have just discovered Lyx and trying to get to grips its Steve> interface. One thing I found annoying was trying to move Steve> between documents, perhaps I haven't found the most productive Steve> way of achieving

Re: [Cvslog] r16340 - /lyx-devel/trunk/src/insets/insetcaption.C

2006-12-20 Thread Martin Vermeer
On Tue, 2006-12-19 at 18:04 +, [EMAIL PROTECTED] wrote: > Author: baum > Date: Tue Dec 19 19:04:42 2006 > New Revision: 16340 > > URL: http://www.lyx.org/trac/changeset/16340 > Log: > fix formatting > > Modified: > lyx-devel/trunk/src/insets/insetcaption.C > > Modified: lyx-devel/trunk/s

Re: [PATCHes] do not put box inset button on the left when is narrow

2006-12-20 Thread Martin Vermeer
On Tue, 2006-12-19 at 16:45 +0100, Jean-Marc Lasgouttes wrote: > When one inserts a minipage of, say, 30% of page width, the button of > the collapsable inset is set on the left and the resulting insettext > area is unusable. The following patches cure that, but since I do not > really understand h

Problem with CMake and package.C

2006-12-20 Thread Abdelrazak Younes
Hi Peter, package.C contains the following: string const top_srcdir() { static string const dir("%TOP_SRCDIR%"); return dir; } string const hardcoded_localedir() { return string("%LOCALEDIR%"); } string const hardcoded_system_support_dir() { return string("%LY

Re: [Cvslog] r16335 - in /lyx-devel/trunk/src: paragraph.C paragraph.h

2006-12-20 Thread Abdelrazak Younes
Georg Baum wrote: Abdelrazak Younes wrote: My patch was just moving some code. I did not want to change it at this time because of no time to test it. But you are probably right in both questions. If it compiles and works, just apply, it seems safe. The code I cited was not moved, it was adde

Re: [Cvslog] r16335 - in /lyx-devel/trunk/src: paragraph.C paragraph.h

2006-12-20 Thread Georg Baum
Abdelrazak Younes wrote: > My patch was just moving some code. I did not want to change it at this > time because of no time to test it. But you are probably right in both > questions. If it compiles and works, just apply, it seems safe. The code I cited was not moved, it was added. I just wanted

Re: [Cvslog] r16335 - in /lyx-devel/trunk/src: paragraph.C paragraph.h

2006-12-20 Thread Abdelrazak Younes
Georg Baum wrote: Am Dienstag, 19. Dezember 2006 15:27 schrieb [EMAIL PROTECTED]: --- lyx-devel/trunk/src/paragraph.C (original) +++ lyx-devel/trunk/src/paragraph.C Tue Dec 19 15:27:38 2006 @@ -69,6 +69,88 @@ using std::ostringstream; +ParagraphMetrics::ParagraphMetrics() +{ +} + + +Parag

Re: [Patch] Fix 675 caption behaviour

2006-12-20 Thread Abdelrazak Younes
Georg Baum wrote: Am Dienstag, 19. Dezember 2006 16:16 schrieb Abdelrazak Younes: The patch does not apply cleanly... I put an updated one in bugzilla. It was partly applied already, and I applied one pure formatting change, too, so it is now really small. Good, I'll try it! Thanks, Abdel

lyx feedback from long term user

2006-12-20 Thread Tilman Rothe
Hi, first: Thank you very much for making Lyx. It is much faster to use than naked Latex. I have been using it for ~5 years now for ~50 papers, and several things do really bother me about it. Please email me if you need details or examples. Basically, it still wastes the user's time - software e

Re: [PATCH] LyX/Mac menu merging

2006-12-20 Thread Jean-Marc Lasgouttes
> "Peter" == Peter Kümmel <[EMAIL PROTECTED]> writes: Peter> I just added a new 'LyX' menu with a Quit entry, because if it Peter> doesn't exist, it will be created by Qt(?) and the generated Peter> Quit bypasses our quit strategy which ends in a crash. Peter> http://www.lyx.org/trac/changese