Re: better [patch] to fix bug 3215 and bug 3390

2007-04-02 Thread Angus Leeming
Uwe Stöhr <[EMAIL PROTECTED]> writes: > Attached is the patch, now the width and height are calculated according to the aspect ratio. > > Opinions? I had time only for a quick scan of your code, so it may well be that I'm about to talk nonsense. If so, please just disregard it. Noentheless, it

Margins Dialog Permits Invalid Settings

2007-04-02 Thread Richard Heck
Comments on this bug welcome: http://bugzilla.lyx.org/show_bug.cgi?id=3416. How big a problem is this? Richard -- == Richard G Heck, Jr Professor of Philosophy Brown University http://frege.brown.edu/heck/

Re: New lyx icon (fwd)

2007-04-02 Thread Bennett Helm
On Apr 2, 2007, at 7:19 PM, [EMAIL PROTECTED] wrote: -- Forwarded message -- Date: Mon, 02 Apr 2007 23:14:56 +0200 From: Lorenzo Paulatto <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Newsgroups: gmane.editors.lyx.general Subject: New lyx icon Dear lyx users, during the last years I

Non-comparability of LyXLengths

2007-04-02 Thread Richard Heck
In thinking about LyXLengths and the like, something occurred to me that I thought I'd share, just in case anyone else comes this way: You can't in general compare lengths, as LyX understands them. The reason is that LyX's lengths include "units" like LaTeX's \lineheight and \textwidth. (Check, sa

New lyx icon (fwd)

2007-04-02 Thread christian . ridderstrom
-- Christian Ridderström, +46-8-768 39 44 http://www.md.kth.se/~chr -- Forwarded message -- Date: Mon, 02 Apr 2007 23:14:56 +0200 From: Lorenzo Paulatto <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Newsgroups: gmane.editors.lyx.general Subject: New lyx icon Dear lyx

Re: TortoiseSVN and commit

2007-04-02 Thread Abdelrazak Younes
Bernhard Roider wrote: Abdelrazak Younes wrote: Bernhard Roider wrote: Hi, i tried hard to commit my bibtex parser patch, but i cannot get TortoiseSVN to ask me for a password. I only always get the error message "Authorization failed". Can any Windows user tell me what to do? I use plink (

Re: TortoiseSVN and commit

2007-04-02 Thread Bernhard Roider
Abdelrazak Younes wrote: Bernhard Roider wrote: Hi, i tried hard to commit my bibtex parser patch, but i cannot get TortoiseSVN to ask me for a password. I only always get the error message "Authorization failed". Can any Windows user tell me what to do? I use plink (seach for 'putty plink'

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

2007-04-02 Thread Andre Poenitz
BAR_TOGGLE_STATE, // bpeng 20061101 - LFUN_NOMENCL_INSERT, // Ugras - LFUN_NOMENCL_PRINT, // Ugras + LFUN_NOMENCL_INSERT, // Ugras + LFUN_NOMENCL_PRINT, // Ugras LFUN_CLEARPAGE_INSERT, // Ugras 20061125 //290 - LFUN_CLEARDOUBLEPAGE_INSERT, //

Re: [patch] Addition of input method support

2007-04-02 Thread Abdelrazak Younes
Marc Flerackers wrote: The Japanese input method seems to be working as expected using SVN revision 17697 :). Great, thanks for testing! Marc, Iwami, Hide, Cghan, do you think CJK support in LyX is OK now for your respective language? If not, what is missing for proper CJK support? Out of c

Re: TortoiseSVN and commit

2007-04-02 Thread Abdelrazak Younes
Bernhard Roider wrote: Hi, i tried hard to commit my bibtex parser patch, but i cannot get TortoiseSVN to ask me for a password. I only always get the error message "Authorization failed". Can any Windows user tell me what to do? I use plink (seach for 'putty plink' in google, it is a free pr

Re: [patch] normalize unicode text to precomposed form

2007-04-02 Thread José Matos
On Monday 02 April 2007 9:00:57 pm Jean-Marc Lasgouttes wrote: > Georg, you're doing a great job! I second that. :-) > JMarc -- José Abílio

Re: Graphic Dialog and Explicit Widths Etc

2007-04-02 Thread Jean-Marc Lasgouttes
> "Richard" == Richard Heck <[EMAIL PROTECTED]> writes: Richard> This seems pretty similar to this suggestion of Georg's: Richard> http://bugzilla.lyx.org/show_bug.cgi?id=2076. I'll keep it in Richard> mind, and we can discuss it when there is more time for that Richard> kind of thing. Yes, I

Re: [patch] normalize unicode text to precomposed form

2007-04-02 Thread Jean-Marc Lasgouttes
> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes: Georg> If you enter accents via the kmap mechanism they will not Georg> produce a single precomposed character (e.g. é), but a Georg> combining pair (e.g. e + '). IMHO we should use the precomposed Georg> form if it does exist. The attached p

Re: Graphic Dialog and Explicit Widths Etc

2007-04-02 Thread Richard Heck
> Richard> Of course, one can get those specific settings using the > Richard> "Text Width %", etc, dimensions. But advanced users might > Richard> appreciate the flexibility LaTeX offers here. One option > Richard> would be to add to LengthCombo another choice, like > Richard> "[literal]", and al

TortoiseSVN and commit

2007-04-02 Thread Bernhard Roider
Hi, i tried hard to commit my bibtex parser patch, but i cannot get TortoiseSVN to ask me for a password. I only always get the error message "Authorization failed". Can any Windows user tell me what to do? Bernhard

Re: Graphic Dialog and Explicit Widths Etc

2007-04-02 Thread Jean-Marc Lasgouttes
> "Richard" == Richard Heck <[EMAIL PROTECTED]> writes: Richard> Of course, one can get those specific settings using the Richard> "Text Width %", etc, dimensions. But advanced users might Richard> appreciate the flexibility LaTeX offers here. One option Richard> would be to add to LengthCombo

Re: Banner

2007-04-02 Thread Jean-Marc Lasgouttes
> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> Ahh... But isn't the original banner available in SVG Abdelrazak> format? If yes, it should be cleaner to work on that... SVG did not exist at the time the banner was done :) JMarc

Re: better [patch] to fix bug 3215 and bug 3390

2007-04-02 Thread Georg Baum
Uwe Stöhr wrote: > > That is too much black magic IMHO. The fields should _not_ be set > > automatically to any number. > > But this is what the user expects: When the image has an aspect ratio of 2 > and he enters a "4" as width, the height should of course be set > accordingly. This behaviour

Re: Graphic Dialog and Explicit Widths Etc

2007-04-02 Thread Georg Baum
Richard Heck wrote: > You can't do this in LyX right now because the Width and Height fields > are tied to a validator that expects to see something that looks like an > explicit length. Moreover, the lengths are stored in LyXLength which > won't accept anything like that. > > Of course, one can

Graphic Dialog and Explicit Widths Etc

2007-04-02 Thread Richard Heck
Jean-Marc Lasgouttes wrote: > ...I do not think that we should entice people to always use explicit lengths > (centimeters, inches...). Most of the cases, a percentage of column width or > text width is more appropriate IMO. Are people going to get a ruler and > measure the size they want? >

Re: Banner

2007-04-02 Thread Abdelrazak Younes
Bennett Helm wrote: On Apr 2, 2007, at 1:12 PM, Abdelrazak Younes wrote: Bennett Helm wrote: On Apr 1, 2007, at 6:21 PM, José Matos wrote: What I would like to see (personally) is a new banner. :-) Note that the one we have now set a high standard so it is not easy to find a suitable repla

Re: better [patch] to fix bug 3215 and bug 3390

2007-04-02 Thread Richard Heck
Uwe Stöhr wrote: > > That is too much black magic IMHO. The fields should _not_ be set > automatically to any number. > > But this is what the user expects: When the image has an aspect ratio > of 2 and he enters a "4" as width, the height should of course be set > accordingly. This behaviour is e.

Re: better [patch] to fix bug 3215 and bug 3390

2007-04-02 Thread Enrico Forestieri
On Mon, Apr 02, 2007 at 01:01:30PM +0200, Georg Baum wrote: > Richards solution is better IMHO. The automatic changes are restricted to a > minimum, and the most important thing: By playing around with the settings > the user can educate himself. +1 -- Enrico

Re: Banner

2007-04-02 Thread Bennett Helm
On Apr 2, 2007, at 1:12 PM, Abdelrazak Younes wrote: Bennett Helm wrote: On Apr 1, 2007, at 6:21 PM, José Matos wrote: What I would like to see (personally) is a new banner. :-) Note that the one we have now set a high standard so it is not easy to find a suitable replacement. :-) This is

Re: Restore the old bookmark behaviors

2007-04-02 Thread Bennett Helm
On Mar 29, 2007, at 1:00 AM, Bo Peng wrote: On 3/28/07, Bo Peng <[EMAIL PROTECTED]> wrote: Most people dislike the current bookmark behavior so I have restored the old one. Please test. It works well for me -- thanks! BTW, I changed a shortcut in aqua.bind so the maintainer of this file sho

Re: better [patch] to fix bug 3215 and bug 3390

2007-04-02 Thread Abdelrazak Younes
Uwe Stöhr wrote: > PS: If you want people to look at your patch make it minimal, i.e. don't do > name changes at the same time. This was not the case in my first patch but Abdel forced me to do the name changing. Well, I did not exactly forced you ;-) You could of course have waited for y

Re: Banner

2007-04-02 Thread Abdelrazak Younes
Bennett Helm wrote: On Apr 1, 2007, at 6:21 PM, José Matos wrote: What I would like to see (personally) is a new banner. :-) Note that the one we have now set a high standard so it is not easy to find a suitable replacement. :-) This isn't exactly new, but it is a bit refreshed I like

Re: better [patch] to fix bug 3215 and bug 3390

2007-04-02 Thread Uwe Stöhr
> That is too much black magic IMHO. The fields should _not_ be set > automatically to any number. But this is what the user expects: When the image has an aspect ratio of 2 and he enters a "4" as width, the height should of course be set accordingly. This behaviour is e.g. also in Photoshop.

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

2007-04-02 Thread Michael Gerz
Andre Poenitz schrieb: Yes, it is too fat by far. Maybe a specila LFUN handling greek only would alread help in this case. I am a little short of time ATM. If someone likes to step forward, I would be more than happy. Michael

Re: [patch] new bibtex parser (bug 1826)

2007-04-02 Thread Abdelrazak Younes
Andre Poenitz wrote: On Mon, Apr 02, 2007 at 12:56:13PM +0100, José Matos wrote: On Monday 02 April 2007 10:11:41 am Abdelrazak Younes wrote: Are you feeling better Jose? Yes. :-) Abdel. Looking to what has been committed I think that the release after beta 2 will be rc1. :-) Too earl

Re: [patch] (almost) get rid of ctype

2007-04-02 Thread Andre Poenitz
On Mon, Apr 02, 2007 at 03:26:10PM +0200, Georg Baum wrote: > [EMAIL PROTECTED] wrote: > > > --- lyx-devel/trunk/src/mathed/InsetMathSymbol.C (original) > > +++ lyx-devel/trunk/src/mathed/InsetMathSymbol.C Sun Apr 1 15:06:41 2007 > > @@ -20,6 +20,7 @@ > > #include "LaTeXFeatures.h" > > #include

Re: [patch] new bibtex parser (bug 1826)

2007-04-02 Thread Andre Poenitz
On Mon, Apr 02, 2007 at 12:56:13PM +0100, José Matos wrote: > On Monday 02 April 2007 10:11:41 am Abdelrazak Younes wrote: > > > > Are you feeling better Jose? > > Yes. :-) > > > Abdel. > > Looking to what has been committed I think that the release after beta 2 > will be rc1. :-) Too earl

Re: [Cvslog] r17695 - /lyx-devel/trunk/src/client/debug.h

2007-04-02 Thread Andre Poenitz
On Mon, Apr 02, 2007 at 11:37:15AM +0200, Abdelrazak Younes wrote: > Andre Poenitz wrote: > >On Mon, Apr 02, 2007 at 01:12:31AM -, [EMAIL PROTECTED] wrote: > >>Author: leeming > >>Date: Mon Apr 2 03:12:29 2007 > >>New Revision: 17695 > >> > >>URL: http://www.lyx.org/trac/changeset/17695 > >>Lo

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

2007-04-02 Thread Andre Poenitz
On Mon, Apr 02, 2007 at 10:45:09AM +0200, Michael Gerz wrote: > [EMAIL PROTECTED] schrieb: > >Author: poenitz > >Date: Fri Mar 30 15:29:09 2007 > >New Revision: 17647 > > > >URL: http://www.lyx.org/trac/changeset/17647 > >Log: > >enable LFUN_MATH_INSERT in text > > > Andre, > > what was the reas

Re: better [patch] to fix bug 3215 and bug 3390

2007-04-02 Thread Jean-Marc Lasgouttes
> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> Then the graphic will be in the caption inset not directly Abdelrazak> within the float inset. I think it is fine to provide this Abdelrazak> reasonable default when the graphics is not deepty nested Abdelrazak> within

Re: better [patch] to fix bug 3215 and bug 3390

2007-04-02 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> Agreed. That's exactly what I am doing every time. We Abdelrazak> should make this the default behaviour instead of the 100% Abdelrazak> scale which is not what you want most of the time within

[patch] (almost) get rid of ctype

2007-04-02 Thread Georg Baum
[EMAIL PROTECTED] wrote: > --- lyx-devel/trunk/src/mathed/InsetMathSymbol.C (original) > +++ lyx-devel/trunk/src/mathed/InsetMathSymbol.C Sun Apr 1 15:06:41 2007 > @@ -20,6 +20,7 @@ > #include "LaTeXFeatures.h" > #include "debug.h" > > +#include > > namespace lyx { > > @@ -215,8 +216,13

Re: better [patch] to fix bug 3215 and bug 3390

2007-04-02 Thread Jean-Marc Lasgouttes
> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> Agreed. That's exactly what I am doing every time. We Abdelrazak> should make this the default behaviour instead of the 100% Abdelrazak> scale which is not what you want most of the time within Abdelrazak> figure float

Instant preview is broken!

2007-04-02 Thread Abdelrazak Younes
two new major bugs: Bug 3408 Wrong dimension of previewed inset when leaving out http://bugzilla.lyx.org/show_bug.cgi?id=3408 Bug 3409 Wrong position of updated preview and missing metrics update. http://bugzilla.lyx.org/show_bug.cgi?id=3409 Somebody touched this recently? Abdel.

Re: [patch] new bibtex parser (bug 1826)

2007-04-02 Thread José Matos
On Monday 02 April 2007 1:08:45 pm Jean-Marc Lasgouttes wrote: > > "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: > > Abdelrazak> Shall I understand you are taking back your job? As you > Abdelrazak> see we didn't manage to release beta 2 without you... Yes. > My lack of enth

Re: better [patch] to fix bug 3215 and bug 3390

2007-04-02 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: "Georg" == Georg Baum <[EMAIL PROTECTED]> writes: Georg> Uwe Stöhr wrote: I wrote: In my opinion the best solution would be to calculate the aspectration from the image bounding box and calculating the width and height accordingly. We already have the infrastructur

Re: better [patch] to fix bug 3215 and bug 3390

2007-04-02 Thread Jean-Marc Lasgouttes
> "Alain" == Alain Bertrand <[EMAIL PROTECTED]> writes: Alain> Well, it my case, it happens not unfrequently : in exam forms I Alain> use sometimes two figures and for example I may need that the Alain> second has a very precise width, corresponding to a dimension Alain> used in the first fig.

Re: [patch] new bibtex parser (bug 1826)

2007-04-02 Thread Jean-Marc Lasgouttes
> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> Shall I understand you are taking back your job? As you Abdelrazak> see we didn't manage to release beta 2 without you... My lack of enthusiasm probably did not help :) JMarc

Re: [patch] new bibtex parser (bug 1826)

2007-04-02 Thread Abdelrazak Younes
José Matos wrote: On Monday 02 April 2007 10:11:41 am Abdelrazak Younes wrote: Are you feeling better Jose? Yes. :-) Glad for you :-) Abdel. Looking to what has been committed I think that the release after beta 2 will be rc1. :-) Shall I understand you are taking back your job?

Re: [patch] new bibtex parser (bug 1826)

2007-04-02 Thread José Matos
On Monday 02 April 2007 10:11:41 am Abdelrazak Younes wrote: > > Are you feeling better Jose? Yes. :-) > Abdel. Looking to what has been committed I think that the release after beta 2 will be rc1. :-) -- José Abílio

Re: [patch] new bibtex parser (bug 1826)

2007-04-02 Thread Jürgen Spitzmüller
José Matos wrote: > Jürgen do you have any opinion on this patch? No. Unfortunately, I don't have time to look at it or test it ATM. Jürgen

Re: better [patch] to fix bug 3215 and bug 3390

2007-04-02 Thread Alain Bertrand
Jean-Marc Lasgouttes a écrit : Agreed. Moreover, I do not think that we should entice people to always use explicit lengths (centimeters, inches...). Most of the cases, a percentage of column width or text width is more appropriate IMO. Are people going to get a ruler and measure the size they w

Re: better [patch] to fix bug 3215 and bug 3390

2007-04-02 Thread Jean-Marc Lasgouttes
> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes: Georg> Uwe Stöhr wrote: >> I wrote: >>> In my opinion the best solution would be to calculate the >>> aspectration from the image bounding box and calculating the width >>> and height accordingly. We already have the infrastructure for >>> th

Re: better [patch] to fix bug 3215 and bug 3390

2007-04-02 Thread Georg Baum
Uwe Stöhr wrote: > I wrote: > >> In my opinion the best solution would be to calculate the aspectration >> from the image bounding box and calculating the width and height >> accordingly. We already have the infrastructure for this. I'll try to >> implement this until tomorrow. > > Attached is t

Re: allow parentheses in file paths

2007-04-02 Thread Jürgen Spitzmüller
Uwe Stöhr wrote: > I don't know if allowing parentheses arises problems on Linux but I can't > imagine that. It will probably arise severe problems on log file parsing (dependency checking). Jürgen

Re: Bug status

2007-04-02 Thread Abdelrazak Younes
Angus Leeming wrote: Abdelrazak Younes wrote: +bool GuiApplication::notify(QObject * receiver, QEvent * event) +{ + bool return_value; + try { + return_value = QApplication::notify(receiver, event); + } + catch (...) { + lyxerr << to_utf8(_("ERROR: Excepti

Re: [Cvslog] r17695 - /lyx-devel/trunk/src/client/debug.h

2007-04-02 Thread Abdelrazak Younes
Andre Poenitz wrote: On Mon, Apr 02, 2007 at 01:12:31AM -, [EMAIL PROTECTED] wrote: Author: leeming Date: Mon Apr 2 03:12:29 2007 New Revision: 17695 URL: http://www.lyx.org/trac/changeset/17695 Log: LYXERR compilation fix. Modified: lyx-devel/trunk/src/client/debug.h Modified: lyx-d

Re: Crash in LyX 1.50svn: Undo in mathmode.

2007-04-02 Thread Abdelrazak Younes
John McCabe-Dansted wrote: To reproduce, press the following keys: Cntl-n (new document) Cntl-m (enter math mode) a _ b -> (leave subscript) -> (leave mathmode) <- (reenter mathmode) Shift- <- (selects a_b) Cntl-m (changes font) Cntl-z(undos change) Confirmed. Backtrace: lyx-qt4.

Re: [patch] new bibtex parser (bug 1826)

2007-04-02 Thread Abdelrazak Younes
José Matos wrote: On Monday 02 April 2007 6:38:17 am Andre Poenitz wrote: On Sun, Apr 01, 2007 at 09:35:26PM +0200, Bernhard Roider wrote: Is it ok for you if i commit this patch? The augmented patch (i.e. !ifs instead of ifs.eof()) is fine with me. Go ahead. Are you feeling better Jose?

Re: [patch] new bibtex parser (bug 1826)

2007-04-02 Thread José Matos
On Monday 02 April 2007 6:38:17 am Andre Poenitz wrote: > On Sun, Apr 01, 2007 at 09:35:26PM +0200, Bernhard Roider wrote: > > Is it ok for you if i commit this patch? > > The augmented patch (i.e. !ifs instead of ifs.eof()) is fine with me. Go ahead. > Andre' -- José Abílio

Re: lyx-1.5.0svn: "moc: QTocDialog.h: No such file"

2007-04-02 Thread John McCabe-Dansted
On 3/30/07, John McCabe-Dansted <[EMAIL PROTECTED]> wrote: /usr/bin/moc-qt4 -o QTocDialog_moc.cpp QTocDialog.h moc: QTocDialog.h: No such file BTW, rerunning ./autogen.sh and ./configure seems to have fixed this problem for me. -- John C. McCabe-Dansted PhD Student University of Western Austra

Crash in LyX 1.50svn: Undo in mathmode.

2007-04-02 Thread John McCabe-Dansted
To reproduce, press the following keys: Cntl-n (new document) Cntl-m (enter math mode) a _ b -> (leave subscript) -> (leave mathmode) <- (reenter mathmode) Shift- <- (selects a_b) Cntl-m (changes font) Cntl-z(undos change) You should then get the error such as the following: Error:

Re: Getting citep etc. to work for egs.cls

2007-04-02 Thread Jean-Marc Lasgouttes
> "Michael" == Michael Gerz <[EMAIL PROTECTED]> writes: >> This is the updated patch with layout2layout support. I needed to >> change one other place as well (compile error due to Martin's >> recent natbib change). >> Michael> While cleaning up my email folder, I stumbled over this Michael

Re: Getting citep etc. to work for egs.cls

2007-04-02 Thread Michael Gerz
Georg Baum schrieb: Am Donnerstag, 22. März 2007 09:41 schrieb Jean-Marc Lasgouttes: OK, here is the still untested second iteration. I introduce a helper isNeeded, which is equivalent to "isRequired && ! provided" (if you have a better name, please tell). With this change, any feature known

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

2007-04-02 Thread Michael Gerz
[EMAIL PROTECTED] schrieb: Author: poenitz Date: Fri Mar 30 15:29:09 2007 New Revision: 17647 URL: http://www.lyx.org/trac/changeset/17647 Log: enable LFUN_MATH_INSERT in text Andre, what was the reason that you revived math insert in text mode? I disabled it about a year ago and nobody ha