Re: [Patch] Correctly document the label feature.

2007-02-02 Thread Georg Baum
Abdelrazak Younes wrote: Abdelrazak Younes wrote: Abdelrazak Younes wrote: It is nice to say that we should educate the user but, IMHO, the less thing he has to learn in order to use LyX, the better. Especially so when the Tutorial doesn't teach the correct way: As you found out yourself

Re: convert: Unrecognized option (-define)

2007-02-02 Thread Georg Baum
Enrico Forestieri wrote: I removed it because the figure inset would be unusable on Solaris. Jean-Marc, may I remove it in 1.4.x, too? Please don't play bug ping pong (or if you do so, at least reopen the old bug). A proper solution would be to check for the imagemagick version in configure.py

Re: [Cvslog] r17010 - /lyx-devel/trunk/src/text3.C

2007-02-02 Thread Jean-Marc Lasgouttes
Abdelrazak == Abdelrazak Younes [EMAIL PROTECTED] writes: The problem is definitely not that the section is numbered. Abdelrazak In the LyX context that's definitely the problem. Do you have _one_ good reason to believe that?? Abdelrazak But as I said in the comments, I can replace this

Re: [Cvslog] r17010 - /lyx-devel/trunk/src/text3.C

2007-02-02 Thread Georg Baum
Abdelrazak Younes wrote: No, you misunderstood me. I mean there is no reason why a user would prefer the label before, after or in the middle of the section; he should not care and this should be done automatically for him. This is your opinion. But as you can see from Enricos answer users

Re: [Cvslog] r17010 - /lyx-devel/trunk/src/text3.C

2007-02-02 Thread Jean-Marc Lasgouttes
Georg == Georg Baum [EMAIL PROTECTED] writes: I strongly disagree. It is very natural to insert a label when the cursor is inside a section. The label is a _markup_... the concept is not very far from the numbering of the caption labels. Do we have user complaining about not being able to

Re: convert: Unrecognized option (-define)

2007-02-02 Thread Jean-Marc Lasgouttes
Enrico == Enrico Forestieri [EMAIL PROTECTED] writes: So, shall I remove that option? Not everyone has the latest svn/cvs version of ImageMagick, and version 5.4.7 is what comes with a Solaris 10 installation. Enrico I removed it because the figure inset would be unusable on Enrico Solaris.

Re: DEPM does not need LyXText object

2007-02-02 Thread Jean-Marc Lasgouttes
Michael == Michael Gerz [EMAIL PROTECTED] writes: Michael Hi, to my surprise, LyXText::DEPM does not need a LyXText Michael object but solely operates on cursors. Michael To simplify the use of DEPM in other contexts (CT comes to my Michael mind), I suggest making two method static. In this

Re: Toolbar management problem

2007-02-02 Thread Jean-Marc Lasgouttes
Andre == Andre Poenitz [EMAIL PROTECTED] writes: Andre We are currently releasing a new version of my day job's Andre bread-and-butter product for four versions of Windows and Andre fifteen(!) variations of Linux. And yes, there are Qt 4.2 based Andre components in there. And how many full-time

Re: Suggestions to the official windows installer

2007-02-02 Thread Jean-Marc Lasgouttes
Bo == Bo Peng [EMAIL PROTECTED] writes: Bo 2. optional auto hide toolbar, Bo I don't see this. These are the new ui files (default-alltoolbars, default-autotoolbars) that are present in 1.4.4svn and offer some predefined settings. JMarc

Re: About the default paragraph style in floats...

2007-02-02 Thread Martin Vermeer
On Fri, 02 Feb 2007 02:32:55 + (UTC) Angus Leeming [EMAIL PROTECTED] wrote: Abdelrazak Younes [EMAIL PROTECTED] writes: By default, when a float is created, the paragraph style is justified whereas it should be centred. This is pretty annoying as the inserted table or figure will be

Re: [Cvslog] r17010 - /lyx-devel/trunk/src/text3.C

2007-02-02 Thread Juergen Spitzmueller
Abdelrazak Younes wrote: In the mean time, I still think that my commit is an improvement over current situation. It is nice to say that we should educate the user but, IMHO, the less thing he has to learn in order to use LyX, the better. What do others think? Since you ask (and it's

Re: About the default paragraph style in floats...

2007-02-02 Thread Abdelrazak Younes
Angus Leeming wrote: Abdelrazak Younes [EMAIL PROTECTED] writes: By default, when a float is created, the paragraph style is justified whereas it should be centred. This is pretty annoying as the inserted table or figure will be justified to the left. I believe we do as LaTeX does, which is

Re: [Patch] Correctly document the label feature.

2007-02-02 Thread Abdelrazak Younes
Georg Baum wrote: The patch does not document the current situation correctly. This sentence is wrong: +By the way, you could have put the label right anywhere within the section's + text as well but before the next section or subsection; section references You cannot put the label in a

Re: About the default paragraph style in floats...

2007-02-02 Thread Abdelrazak Younes
Abdelrazak Younes wrote: Hello, By default, when a float is created, the paragraph style is justified whereas it should be centred. This is pretty annoying as the inserted table or figure will be justified to the left. Could somebody who has enough knowledge about paragraph styles do this

Re: DEPM does not need LyXText object

2007-02-02 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: Michael == Michael Gerz [EMAIL PROTECTED] writes: Michael Hi, to my surprise, LyXText::DEPM does not need a LyXText Michael object but solely operates on cursors. Michael To simplify the use of DEPM in other contexts (CT comes to my Michael mind), I suggest making

Re: 1.5 Scrollbar autorepeats long after releasing the mouse, and uneven page scrolling

2007-02-02 Thread Abdelrazak Younes
Enrico Forestieri wrote: On Thu, Feb 01, 2007 at 09:25:33PM +0100, Helge Hafting wrote: Load the user guide. Click the down-arrow on the scrollbar, and hold it down for 5s. Observe how LyX keeps scrolling for two more seconds after releasing the mouse. This makes holding down the scrollbar

Re: 1.5 Scrollbar autorepeats long after releasing the mouse, and uneven page scrolling

2007-02-02 Thread Abdelrazak Younes
Dear Helge, The problem is that the scrolling algorithm is based on heuristics. I have a patch for use LFUN_PAGE_UP/DOWN and LFUN_CURSOR_UP/DOWN that will solve the problem. I works quite well except from one problem: sometimes, the cursor selection state is not restored correctly. This

Re: 1.5 Scrollbar autorepeats long after releasing the mouse, and uneven page scrolling

2007-02-02 Thread Abdelrazak Younes
Helge Hafting wrote: 1.5 have become a joy to use, so I use it more and more for real work. The biggest problem right now is scrollbar autorepeat that don't stop immediately when the mouse button is released. Load the user guide. Click the down-arrow on the scrollbar, and hold it down for 5s.

Re: [Cvslog] r17010 - /lyx-devel/trunk/src/text3.C

2007-02-02 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: No the question is to understand _why_ a reference causes a problem there. My understanding was that it was because the argument to \section is a moving argument, and I thus propose to just \protect the \ref. Now Uwe tells us that both Herbert and the hyperref author

Re: Fixed: toolbar management problem - another problem

2007-02-02 Thread Helge Hafting
Bo Peng wrote: A weird effect, but easy to fix by moving that math bar to the side. I can not reproduce this with qt4.2.2. If you are using windows, maybe you can download today's snapshot from http://www.lyx.org/~bpeng and see if you can reproduce it? I don't use windows, so I can't. This

Re: [Cvslog] r17010 - /lyx-devel/trunk/src/text3.C

2007-02-02 Thread Helge Hafting
Jean-Marc Lasgouttes wrote: Georg == Georg Baum [EMAIL PROTECTED] writes: I strongly disagree. It is very natural to insert a label when the cursor is inside a section. The label is a _markup_... the concept is not very far from the numbering of the caption labels. Do we have

Re: 1.5 Scrollbar autorepeats long after releasing the mouse, and uneven page scrolling

2007-02-02 Thread Helge Hafting
Abdelrazak Younes wrote: Helge Hafting wrote: 1.5 have become a joy to use, so I use it more and more for real work. The biggest problem right now is scrollbar autorepeat that don't stop immediately when the mouse button is released. Load the user guide. Click the down-arrow on the scrollbar,

Re: About the default paragraph style in floats...

2007-02-02 Thread Edwin Leuven
Martin Vermeer wrote: Is this configurable anywhere? I prefer it too as Abdel does. i prefer it centered too. but if i remember well there is the question of whether to use \centering or \begin{center} ... \end{center} ...

Re: About the default paragraph style in floats...

2007-02-02 Thread Jean-Marc Lasgouttes
Abdelrazak == Abdelrazak Younes [EMAIL PROTECTED] writes: Abdelrazak If it is a LateX default them I don't understand the Abdelrazak rational of having the caption centred by default but not Abdelrazak the graphics or the table. Ha! You thing that captions are centered! Actually they are

Re: convert: Unrecognized option (-define)

2007-02-02 Thread Enrico Forestieri
On Fri, Feb 02, 2007 at 09:02:20AM +0100, Georg Baum wrote: Enrico Forestieri wrote: I removed it because the figure inset would be unusable on Solaris. Jean-Marc, may I remove it in 1.4.x, too? Please don't play bug ping pong (or if you do so, at least reopen the old bug). That was

Re: convert: Unrecognized option (-define)

2007-02-02 Thread Enrico Forestieri
On Fri, Feb 02, 2007 at 09:38:30AM +0100, Jean-Marc Lasgouttes wrote: Enrico == Enrico Forestieri [EMAIL PROTECTED] writes: So, shall I remove that option? Not everyone has the latest svn/cvs version of ImageMagick, and version 5.4.7 is what comes with a Solaris 10 installation.

[PATCH] inset caption cleanup

2007-02-02 Thread Jean-Marc Lasgouttes
The following patch cleans up the insetcaption code wrt allowing inset insertion: - allow graphics inset, since it has been working for some time (but I forgot to tell) - use insetAllowed to disallow some insets (as should be) The is still the input inset that has been forbidden, and I am

Re: [Cvslog] r17010 - /lyx-devel/trunk/src/text3.C

2007-02-02 Thread Enrico Forestieri
On Fri, Feb 02, 2007 at 09:49:29AM +0100, Juergen Spitzmueller wrote: Abdelrazak Younes wrote: In the mean time, I still think that my commit is an improvement over current situation. It is nice to say that we should educate the user but, IMHO, the less thing he has to learn in order to

Re: [Cvslog] r17010 - /lyx-devel/trunk/src/text3.C

2007-02-02 Thread Abdelrazak Younes
Enrico Forestieri wrote: Once, someone noted that he didn't succeed in trying to convince latex people to switch to lyx. If lyx starts getting in the way such that I cannot do what I could directly do in latex, after more than ten years I may even consider to continue using lyx instead of some

Re: [Cvslog] r17010 - /lyx-devel/trunk/src/text3.C

2007-02-02 Thread Enrico Forestieri
On Fri, Feb 02, 2007 at 09:32:06AM +0100, Jean-Marc Lasgouttes wrote: Labels could be turned to paragraph parameters, like we do in maths. I do not know whether there are real cases where someone needs precise placement. Whatever the solution you adopt, please consider the following. I don't

Re: [Cvslog] r17010 - /lyx-devel/trunk/src/text3.C

2007-02-02 Thread Abdelrazak Younes
Enrico Forestieri wrote: On Thu, Feb 01, 2007 at 10:07:31PM +0100, Abdelrazak Younes wrote: In the mean time, I still think that my commit is an improvement over current situation. It is nice to say that we should educate the user but, IMHO, the less thing he has to learn in order to use LyX,

Re: [PATCH] inset caption cleanup

2007-02-02 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: The following patch cleans up the insetcaption code wrt allowing inset insertion: - allow graphics inset, since it has been working for some time (but I forgot to tell) What is this about? - use insetAllowed to disallow some insets (as should be) I just

Re: [Cvslog] r17010 - /lyx-devel/trunk/src/text3.C

2007-02-02 Thread Enrico Forestieri
On Fri, Feb 02, 2007 at 12:32:11PM +0100, Abdelrazak Younes wrote: Enrico Forestieri wrote: On Thu, Feb 01, 2007 at 10:07:31PM +0100, Abdelrazak Younes wrote: In the mean time, I still think that my commit is an improvement over current situation. It is nice to say that we should

Re: [Cvslog] r17010 - /lyx-devel/trunk/src/text3.C

2007-02-02 Thread Abdelrazak Younes
Enrico Forestieri wrote: On Fri, Feb 02, 2007 at 12:32:11PM +0100, Abdelrazak Younes wrote: The end-result will be 100% the same because this is how LateX works. LaTeX let me do what I want, LyX not anymore. Look at the log, it has been reverted since this morning... Abdel.

Re: [Cvslog] r17010 - /lyx-devel/trunk/src/text3.C

2007-02-02 Thread Abdelrazak Younes
Enrico Forestieri wrote: On Fri, Feb 02, 2007 at 12:32:11PM +0100, Abdelrazak Younes wrote: Besides, could you give me one single reason as to why it is _so_ important to place the label inside the section as opposed to rightly after. Because I could have redefined the \label command to do

Re: [Cvslog] r17010 - /lyx-devel/trunk/src/text3.C

2007-02-02 Thread Enrico Forestieri
On Fri, Feb 02, 2007 at 12:21:25PM +0100, Abdelrazak Younes wrote: Enrico Forestieri wrote: Once, someone noted that he didn't succeed in trying to convince latex people to switch to lyx. If lyx starts getting in the way such that I cannot do what I could directly do in latex, after more

Re: [Cvslog] r17010 - /lyx-devel/trunk/src/text3.C

2007-02-02 Thread Enrico Forestieri
On Fri, Feb 02, 2007 at 01:35:12PM +0100, Abdelrazak Younes wrote: Enrico Forestieri wrote: On Fri, Feb 02, 2007 at 12:32:11PM +0100, Abdelrazak Younes wrote: The end-result will be 100% the same because this is how LateX works. LaTeX let me do what I want, LyX not anymore. Look at

Re: [PATCH] immediatly display saved filename in tab

2007-02-02 Thread Jean-Marc Lasgouttes
Peter == Peter Kümmel [EMAIL PROTECTED] writes: Peter Jean-Marc Lasgouttes wrote: ve some remarks about your patch. I Peter think the code can be further simplified. Peter I've checked in attached simplified patch. Here are some additional changes (the part in geometry stuff is just

Re: [Cvslog] r17010 - /lyx-devel/trunk/src/text3.C

2007-02-02 Thread Jean-Marc Lasgouttes
Abdelrazak == Abdelrazak Younes [EMAIL PROTECTED] writes: Abdelrazak Jean-Marc Lasgouttes wrote: No the question is to understand _why_ a reference causes a problem there. My understanding was that it was because the argument to \section is a moving argument, and I thus propose to just

Re: [PATCH] inset caption cleanup

2007-02-02 Thread Jean-Marc Lasgouttes
Abdelrazak == Abdelrazak Younes [EMAIL PROTECTED] writes: Abdelrazak Jean-Marc Lasgouttes wrote: The following patch cleans up the insetcaption code wrt allowing inset insertion: - allow graphics inset, since it has been working for some time (but I forgot to tell) Abdelrazak What is this

Re: [Cvslog] r17010 - /lyx-devel/trunk/src/text3.C

2007-02-02 Thread Abdelrazak Younes
Enrico Forestieri wrote: On Fri, Feb 02, 2007 at 12:21:25PM +0100, Abdelrazak Younes wrote: Enrico Forestieri wrote: Once, someone noted that he didn't succeed in trying to convince latex people to switch to lyx. If lyx starts getting in the way such that I cannot do what I could directly do

Re: [Cvslog] r17010 - /lyx-devel/trunk/src/text3.C

2007-02-02 Thread Jean-Marc Lasgouttes
Enrico == Enrico Forestieri [EMAIL PROTECTED] writes: You seem to miss the fact this is all about a LateX limitation, not LyX. Enrico Abdel, do you know LaTeX? Since I am a cheap oldtimer, I only have the original LaTeX 2.09 documentation. However, at page 187, it says: \label can be used in

Re: [PATCH] inset caption cleanup

2007-02-02 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: Abdelrazak == Abdelrazak Younes [EMAIL PROTECTED] writes: Abdelrazak Jean-Marc Lasgouttes wrote: The following patch cleans up the insetcaption code wrt allowing inset insertion: - allow graphics inset, since it has been working for some time (but I forgot to

Re: [PATCH] immediatly display saved filename in tab

2007-02-02 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: Peter == Peter Kümmel [EMAIL PROTECTED] writes: Peter Jean-Marc Lasgouttes wrote: ve some remarks about your patch. I Peter think the code can be further simplified. Peter I've checked in attached simplified patch. Here are some additional changes (the part in

Re: [PATCH] inset caption cleanup

2007-02-02 Thread Jean-Marc Lasgouttes
Jean-Marc == Jean-Marc Lasgouttes [EMAIL PROTECTED] writes: The following patch cleans up the insetcaption code wrt allowing inset insertion: I committed the patch, and re-allowed the following LFUNs, for which I do not see a need to act: - case LFUN_PARAGRAPH_MOVE_UP: - case

Re: About the default paragraph style in floats...

2007-02-02 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: Abdelrazak == Abdelrazak Younes [EMAIL PROTECTED] writes: Abdelrazak If it is a LateX default them I don't understand the Abdelrazak rational of having the caption centred by default but not Abdelrazak the graphics or the table. Ha! You thing that captions are

Re: [Cvslog] r17010 - /lyx-devel/trunk/src/text3.C

2007-02-02 Thread Enrico Forestieri
On Fri, Feb 02, 2007 at 01:46:27PM +0100, Abdelrazak Younes wrote: Enrico Forestieri wrote: On Fri, Feb 02, 2007 at 12:32:11PM +0100, Abdelrazak Younes wrote: Besides, could you give me one single reason as to why it is _so_ important to place the label inside the section as opposed to

Re: r17027 - /lyx-devel/trunk/src/mathed/InsetMathNest.C

2007-02-02 Thread Abdelrazak Younes
[EMAIL PROTECTED] wrote: Author: younes Date: Fri Feb 2 16:14:43 2007 New Revision: 17027 URL: http://www.lyx.org/trac/changeset/17027 Log: Fix bug 3194: http://bugzilla.lyx.org/show_bug.cgi?id=3194 This also seems to fix the annoying mouse cursor movement bug 3023: It turns out that this

Re: About the default paragraph style in floats...

2007-02-02 Thread David J. Raymond
I also vote for default centering. It is not a big issue, but I don't think that I have ever left a float justified. Dave Raymond Angus Leeming writes: Abdelrazak Younes [EMAIL PROTECTED] writes: By default, when a float is created, the paragraph style is justified whereas it should

Lyx crashes with \doublespace

2007-02-02 Thread Bo Peng
Dear all, There is a repeatable crash: 1. create a new doc 2. enter: \usepackage{setspace} \doublespace in the preamble. 3. view-pdf crash with assertion error: Assertion triggered in lyx::support::FileName::FileName(const std::string) by failing check !contains(name_, '\\') in file

Re: Bug 3198: 1.5svn latex generation problem with scrpage2 pagestyles

2007-02-02 Thread Jürgen Spitzmüller
Helge Hafting wrote: The problem here is that \pagestyle{scrheadings} happens early, before \usepackage{scrpage2}.  The latter comes from the .layout file. There would be more cases where we'd need to insert something in the preamble earlier (from textclass level). Think of the recent problems

Re: [Bug 2418] LyX cannot correctly determine PDF image size

2007-02-02 Thread Uwe Stöhr
Following this logic, I should update each component of my OS everytime an application pretends that I should have the latest/shinest versions without a real need for them. Version: @(#)ImageMagick 5.4.7 07/01/02 Q:16 http://www.imagemagick.org Copyright: Copyright (C) 2002 ImageMagick Studio

Re: About the default paragraph style in floats...

2007-02-02 Thread Jürgen Spitzmüller
Edwin Leuven wrote: i prefer it centered too. but if i remember well there is the question of whether to use \centering or \begin{center} ... \end{center} No, this is solved (we use \begin{centering} ... \end{centering}). Jürgen

Embedded Objects

2007-02-02 Thread Jürgen Spitzmüller
Uwe, with an ordinary teTeX setup from openSuse 10.2, I get the following errors when trying to view that document: Error 1: \ProcessOptionsWithKV{caption} Try typing return to proceed. If that doesn't work, type X return to quit. Error 2:

Re: r16948 - in /lyx-devel/trunk: lib/lyx2lyx/LyX.py lib/lyx2...

2007-02-02 Thread Jürgen Spitzmüller
Abdelrazak Younes wrote: 2. The linebreaks inside captions need to be \protect'ed. This is why you get the LaTeX error (1.4 protects line breaks). Could you take care of that please? I am not well versed in LateX... fixed by Jean-Marc. Jürgen

Re: [Bug 2418] LyX cannot correctly determine PDF image size

2007-02-02 Thread Jürgen Spitzmüller
Uwe Stöhr wrote: Its provoking, but do we have to take care about such old program versions? Yes (IMHO). If yes we'll be technically limited in fixing bugs related to third-party products and for new features. For example the new unicode stuff is only possible with teTeX 3 (2 years old).

Re: [Bug 2418] LyX cannot correctly determine PDF image size

2007-02-02 Thread Enrico Forestieri
On Fri, Feb 02, 2007 at 05:39:08PM +0100, Uwe Stöhr wrote: Following this logic, I should update each component of my OS everytime an application pretends that I should have the latest/shinest versions without a real need for them. Version: @(#)ImageMagick 5.4.7 07/01/02 Q:16

Re: [Bug 2418] LyX cannot correctly determine PDF image size

2007-02-02 Thread Georg Baum
Uwe Stöhr wrote: Following this logic, I should update each component of my OS everytime an application pretends that I should have the latest/shinest versions without a real need for them. Version: @(#)ImageMagick 5.4.7 07/01/02 Q:16 http://www.imagemagick.org Copyright: Copyright

Re: [Bug 2418] LyX cannot correctly determine PDF image size

2007-02-02 Thread Georg Baum
Enrico Forestieri wrote: I am speaking about software delivered with the latest Solaris 10 release. If they bundle an old version, I cannot do much about it. These are production machines which cannot follow the update strategy followed in Debian/unstable/testing, for example, but rather the

Re: r17027 - /lyx-devel/trunk/src/mathed/InsetMathNest.C

2007-02-02 Thread Abdelrazak Younes
Abdelrazak Younes wrote: [EMAIL PROTECTED] wrote: Author: younes Date: Fri Feb 2 16:14:43 2007 New Revision: 17027 URL: http://www.lyx.org/trac/changeset/17027 Log: Fix bug 3194: http://bugzilla.lyx.org/show_bug.cgi?id=3194 This also seems to fix the annoying mouse cursor movement bug 3023:

Re: r17027 - /lyx-devel/trunk/src/mathed/InsetMathNest.C

2007-02-02 Thread Edwin Leuven
Abdelrazak Younes wrote: Abdelrazak Younes wrote: [EMAIL PROTECTED] wrote: Author: younes Date: Fri Feb 2 16:14:43 2007 New Revision: 17027 URL: http://www.lyx.org/trac/changeset/17027 Log: Fix bug 3194: http://bugzilla.lyx.org/show_bug.cgi?id=3194 This also seems to fix the annoying mouse

selection in inset caption

2007-02-02 Thread Edwin Leuven
is drawn with the wrong horizontal offset...

Re: [PATCH] immediatly display saved filename in tab

2007-02-02 Thread Peter Kümmel
Jean-Marc Lasgouttes wrote: Peter == Peter Kümmel [EMAIL PROTECTED] writes: Peter Jean-Marc Lasgouttes wrote: ve some remarks about your patch. I Peter think the code can be further simplified. Peter I've checked in attached simplified patch. Here are some additional changes (the part

Re: About the default paragraph style in floats...

2007-02-02 Thread Abdelrazak Younes
Jürgen Spitzmüller wrote: Edwin Leuven wrote: i prefer it centered too. but if i remember well there is the question of whether to use \centering or \begin{center} ... \end{center} No, this is solved (we use \begin{centering} ... \end{centering}). I don't understand, what is solved? Abdel.

Re: About the default paragraph style in floats...

2007-02-02 Thread Georg Baum
Am Freitag, 2. Februar 2007 21:05 schrieb Abdelrazak Younes: Jürgen Spitzmüller wrote: Edwin Leuven wrote: i prefer it centered too. but if i remember well there is the question of whether to use \centering or \begin{center} ... \end{center} No, this is solved (we use

Re: selection in inset caption

2007-02-02 Thread Abdelrazak Younes
Edwin Leuven wrote: is drawn with the wrong horizontal offset... This is already in bugzilla. Abdel.

Re: r17027 - /lyx-devel/trunk/src/mathed/InsetMathNest.C

2007-02-02 Thread Abdelrazak Younes
Edwin Leuven wrote: Abdelrazak Younes wrote: Abdelrazak Younes wrote: [EMAIL PROTECTED] wrote: Author: younes Date: Fri Feb 2 16:14:43 2007 New Revision: 17027 URL: http://www.lyx.org/trac/changeset/17027 Log: Fix bug 3194: http://bugzilla.lyx.org/show_bug.cgi?id=3194 This also seems to

Mildly interesting...

2007-02-02 Thread John Levon
http://www.ohloh.net/projects/3881 john

Re: Mildly interesting...

2007-02-02 Thread Bo Peng
On 2/3/07, John Levon [EMAIL PROTECTED] wrote: http://www.ohloh.net/projects/3881 Interesting. Do they svn blame every lyx file to calculte comment ratio and main language? I hope that I can collect my $55000x0.9 in some way. :-) Bo

Re: [Bug 2418] LyX cannot correctly determine PDF image size

2007-02-02 Thread Uwe Stöhr
Let me be more provoking. So, to solve a bug related to PDF files generated by an obscure application on Mac, you are willing to break LyX on an entire platform?! No, of course not. Note that the bug was there on all platforms, not only on Windows. Just to answer you comparison: System

Re: convert: Unrecognized option (-define)

2007-02-02 Thread Uwe Stöhr
Uwe, unless a solution is found quickly, I will indeed revert this change for 1.4.4. Done so: http://www.lyx.org/trac/changeset/17030 but only for the 1.4.x branch. It's still in trunk until we have a decision about this. p.s. sorry for my late replies but I nowadays get some emails from the

Re:Embedded Objects

2007-02-02 Thread Uwe Stöhr
marginnote.sty not found. Looking i the preamble, I see a really long list of definitions and packages. Is this really necessary? Yes beause it's an extended manual. As in Extended.lyx there are also descriptions how to solve special problems using ERT and preamble commands. (I collected

Re: [Bug 2418] LyX cannot correctly determine PDF image size

2007-02-02 Thread Enrico Forestieri
On Fri, Feb 02, 2007 at 11:44:09PM +0100, Uwe Stöhr wrote: Let me be more provoking. So, to solve a bug related to PDF files generated by an obscure application on Mac, you are willing to break LyX on an entire platform?! No, of course not. Note that the bug was there on all platforms,

Re: r17027 - /lyx-devel/trunk/src/mathed/InsetMathNest.C

2007-02-02 Thread Abdelrazak Younes
Abdelrazak Younes wrote: Edwin Leuven wrote: Abdelrazak Younes wrote: Abdelrazak Younes wrote: [EMAIL PROTECTED] wrote: Author: younes Date: Fri Feb 2 16:14:43 2007 New Revision: 17027 URL: http://www.lyx.org/trac/changeset/17027 Log: Fix bug 3194:

Re: [Patch] Correctly document the label feature.

2007-02-02 Thread Georg Baum
Abdelrazak Younes wrote: > Abdelrazak Younes wrote: >> Abdelrazak Younes wrote: >>> It is nice to say that we should educate the user but, IMHO, the less >>> thing he has to learn in order to use LyX, the better. >> >> Especially so when the Tutorial doesn't teach the correct way: As you found

Re: convert: Unrecognized option (-define)

2007-02-02 Thread Georg Baum
Enrico Forestieri wrote: > I removed it because the figure inset would be unusable on Solaris. > Jean-Marc, may I remove it in 1.4.x, too? Please don't play bug ping pong (or if you do so, at least reopen the old bug). A proper solution would be to check for the imagemagick version in

Re: [Cvslog] r17010 - /lyx-devel/trunk/src/text3.C

2007-02-02 Thread Jean-Marc Lasgouttes
> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: >> The problem is definitely not that the section is numbered. Abdelrazak> In the LyX context that's definitely the problem. Do you have _one_ good reason to believe that?? Abdelrazak> But as I said in the comments, I can

Re: [Cvslog] r17010 - /lyx-devel/trunk/src/text3.C

2007-02-02 Thread Georg Baum
Abdelrazak Younes wrote: > No, you misunderstood me. I mean there is no reason why a user would > prefer the label before, after or in the middle of the section; he > should not care and this should be done automatically for him. This is your opinion. But as you can see from Enricos answer users

Re: [Cvslog] r17010 - /lyx-devel/trunk/src/text3.C

2007-02-02 Thread Jean-Marc Lasgouttes
> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes: >> I strongly disagree. It is very natural to insert a label when the >> cursor is inside a section. The label is a _markup_... the concept >> is not very far from the numbering of the caption labels. Do we >> have user complaining about not

Re: convert: Unrecognized option (-define)

2007-02-02 Thread Jean-Marc Lasgouttes
> "Enrico" == Enrico Forestieri <[EMAIL PROTECTED]> writes: >> So, shall I remove that option? Not everyone has the latest svn/cvs >> version of ImageMagick, and version 5.4.7 is what comes with a >> Solaris 10 installation. Enrico> I removed it because the figure inset would be unusable on

Re: DEPM does not need LyXText object

2007-02-02 Thread Jean-Marc Lasgouttes
> "Michael" == Michael Gerz <[EMAIL PROTECTED]> writes: Michael> Hi, to my surprise, LyXText::DEPM does not need a LyXText Michael> object but solely operates on cursors. Michael> To simplify the use of DEPM in other contexts (CT comes to my Michael> mind), I suggest making two method

Re: Toolbar management problem

2007-02-02 Thread Jean-Marc Lasgouttes
> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: Andre> We are currently releasing a new version of my day job's Andre> bread-and-butter product for four versions of Windows and Andre> fifteen(!) variations of Linux. And yes, there are Qt 4.2 based Andre> components in there. And how

Re: Suggestions to the official windows installer

2007-02-02 Thread Jean-Marc Lasgouttes
> "Bo" == Bo Peng <[EMAIL PROTECTED]> writes: Bo> 2. optional auto hide toolbar, Bo> I don't see this. These are the new ui files (default-alltoolbars, default-autotoolbars) that are present in 1.4.4svn and offer some predefined settings. JMarc

Re: About the default paragraph style in floats...

2007-02-02 Thread Martin Vermeer
On Fri, 02 Feb 2007 02:32:55 + (UTC) Angus Leeming <[EMAIL PROTECTED]> wrote: > Abdelrazak Younes <[EMAIL PROTECTED]> writes: > > By default, when a float is created, the paragraph style is justified > > whereas it should be centred. This is pretty annoying as the inserted > > table or

Re: [Cvslog] r17010 - /lyx-devel/trunk/src/text3.C

2007-02-02 Thread Juergen Spitzmueller
Abdelrazak Younes wrote: > In the mean time, I still think that my commit is an improvement over > current situation. It is nice to say that we should educate the user > but, IMHO, the less thing he has to learn in order to use LyX, the better. > > What do others think? Since you ask (and it's

Re: About the default paragraph style in floats...

2007-02-02 Thread Abdelrazak Younes
Angus Leeming wrote: Abdelrazak Younes <[EMAIL PROTECTED]> writes: By default, when a float is created, the paragraph style is justified whereas it should be centred. This is pretty annoying as the inserted table or figure will be justified to the left. I believe we do as LaTeX does, which

Re: [Patch] Correctly document the label feature.

2007-02-02 Thread Abdelrazak Younes
Georg Baum wrote: The patch does not document the current situation correctly. This sentence is wrong: +By the way, you could have put the label right anywhere within the section's + text as well but before the next section or subsection; section references You cannot put the label in a

Re: About the default paragraph style in floats...

2007-02-02 Thread Abdelrazak Younes
Abdelrazak Younes wrote: Hello, By default, when a float is created, the paragraph style is justified whereas it should be centred. This is pretty annoying as the inserted table or figure will be justified to the left. Could somebody who has enough knowledge about paragraph styles do this

Re: DEPM does not need LyXText object

2007-02-02 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: "Michael" == Michael Gerz <[EMAIL PROTECTED]> writes: Michael> Hi, to my surprise, LyXText::DEPM does not need a LyXText Michael> object but solely operates on cursors. Michael> To simplify the use of DEPM in other contexts (CT comes to my Michael> mind), I suggest

Re: 1.5 Scrollbar autorepeats long after releasing the mouse, and uneven page scrolling

2007-02-02 Thread Abdelrazak Younes
Enrico Forestieri wrote: On Thu, Feb 01, 2007 at 09:25:33PM +0100, Helge Hafting wrote: Load the user guide. Click the down-arrow on the scrollbar, and hold it down for 5s. Observe how LyX keeps scrolling for two more seconds after releasing the mouse. This makes holding down the scrollbar

Re: 1.5 Scrollbar autorepeats long after releasing the mouse, and uneven page scrolling

2007-02-02 Thread Abdelrazak Younes
Dear Helge, The problem is that the scrolling algorithm is based on heuristics. I have a patch for use LFUN_PAGE_UP/DOWN and LFUN_CURSOR_UP/DOWN that will solve the problem. I works quite well except from one problem: sometimes, the cursor selection state is not restored correctly. This

Re: 1.5 Scrollbar autorepeats long after releasing the mouse, and uneven page scrolling

2007-02-02 Thread Abdelrazak Younes
Helge Hafting wrote: 1.5 have become a joy to use, so I use it more and more for real work. The biggest problem right now is scrollbar autorepeat that don't stop immediately when the mouse button is released. Load the user guide. Click the down-arrow on the scrollbar, and hold it down for 5s.

Re: [Cvslog] r17010 - /lyx-devel/trunk/src/text3.C

2007-02-02 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: No the question is to understand _why_ a reference causes a problem there. My understanding was that it was because the argument to \section is a moving argument, and I thus propose to just \protect the \ref. Now Uwe tells us that both Herbert and the hyperref author

Re: Fixed: toolbar management problem - another problem

2007-02-02 Thread Helge Hafting
Bo Peng wrote: A weird effect, but easy to fix by moving that math bar to the side. I can not reproduce this with qt4.2.2. If you are using windows, maybe you can download today's snapshot from http://www.lyx.org/~bpeng and see if you can reproduce it? I don't use windows, so I can't. This

Re: [Cvslog] r17010 - /lyx-devel/trunk/src/text3.C

2007-02-02 Thread Helge Hafting
Jean-Marc Lasgouttes wrote: "Georg" == Georg Baum <[EMAIL PROTECTED]> writes: I strongly disagree. It is very natural to insert a label when the cursor is inside a section. The label is a _markup_... the concept is not very far from the numbering of the caption labels. Do we

Re: 1.5 Scrollbar autorepeats long after releasing the mouse, and uneven page scrolling

2007-02-02 Thread Helge Hafting
Abdelrazak Younes wrote: Helge Hafting wrote: 1.5 have become a joy to use, so I use it more and more for real work. The biggest problem right now is scrollbar autorepeat that don't stop immediately when the mouse button is released. Load the user guide. Click the down-arrow on the scrollbar,

Re: About the default paragraph style in floats...

2007-02-02 Thread Edwin Leuven
Martin Vermeer wrote: Is this configurable anywhere? I prefer it too as Abdel does. i prefer it centered too. but if i remember well there is the question of whether to use \centering or \begin{center} ... \end{center} ...

Re: About the default paragraph style in floats...

2007-02-02 Thread Jean-Marc Lasgouttes
> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> If it is a LateX default them I don't understand the Abdelrazak> rational of having the caption centred by default but not Abdelrazak> the graphics or the table. Ha! You thing that captions are centered! Actually

Re: convert: Unrecognized option (-define)

2007-02-02 Thread Enrico Forestieri
On Fri, Feb 02, 2007 at 09:02:20AM +0100, Georg Baum wrote: > Enrico Forestieri wrote: > > > I removed it because the figure inset would be unusable on Solaris. > > Jean-Marc, may I remove it in 1.4.x, too? > > Please don't play bug ping pong (or if you do so, at least reopen the old > bug).

Re: convert: Unrecognized option (-define)

2007-02-02 Thread Enrico Forestieri
On Fri, Feb 02, 2007 at 09:38:30AM +0100, Jean-Marc Lasgouttes wrote: > > "Enrico" == Enrico Forestieri <[EMAIL PROTECTED]> writes: > > >> So, shall I remove that option? Not everyone has the latest svn/cvs > >> version of ImageMagick, and version 5.4.7 is what comes with a > >> Solaris 10

  1   2   >