Re: [Patch] nicefrac

2006-04-03 Thread Georg Baum
Martin Vermeer wrote: On Sun, Apr 02, 2006 at 07:59:42PM +0200, Lars Gullik Bjønnes wrote: Martin Vermeer [EMAIL PROTECTED] writes: | See patch. No GUI support for now. Can we use something a bit stronger typed for the kind parameter? That would be an enum. Another possibility would

Re: [announce] testversion 1.9 of LyXWinInstaller with LyX 1.4.1svn

2006-04-03 Thread Angus Leeming
Scott Otterson scotto at u.washington.edu writes: Should the thesaurus work on the windows version of lyx? Otherwise, 1.4 is working fine on Windows. Nope. I never even thought about it! Angus

Re: [PREVIEW] Preview latex code of selected (or current) paragraphs.

2006-04-03 Thread Lars Gullik Bjønnes
Bo Peng [EMAIL PROTECTED] writes: | One (semi-) bad thing though... we (perhaps only I) have for some time | been trying to move us away from the (La)TeX centric approach. And | begin to view TeX as just the typesetter, nothing fundamental to LyX. | | If we never need to view the latex code

Re: WinLyx 1.4.1 svn: Very slow navigation response

2006-04-03 Thread Ekkehart Schlicht
Do you use natbib citations? Yes, I do. This seems to explain a lot of the difference between 141 and 137, but not all. I am working now on a different computer. It gives the following results (Instant preview switched off, scrolling through the manuscript with page down pressed.): 141

Re: Scripting language of lyx

2006-04-03 Thread Helge Hafting
Bo Peng wrote: The .lyx format is not really working. One can, e.g. not use 'real' text within math, which makes implementing e.g. \mbox impossible. There must be some good reasons to change .lyx format, and switch to unicode. But those reasons are invisible to normal users like me. All

Re: Some data

2006-04-03 Thread Helge Hafting
Andre Poenitz wrote: A few entries from a recent data sheet: 2006-03-26, 04:12, 3150 g, 50 cm, Paula. Andre' Congratulations! Helge Hafting

Re: WinLyx 1.4.1 svn: Very slow navigation response

2006-04-03 Thread Abdelrazak Younes
Hello Ekkehart, How is paragraph creation/deletion for you? Do you have a sensible delay when you press Enter at the end of a paragraph in your big document? FYI, the difference in scrolling speed using PageDown key between 141 wo Natbib and 137 is not a good test WRT performance. This is

Re: WinLyx 1.4.1 svn: Very slow navigation response

2006-04-03 Thread Juergen Spitzmueller
Ekkehart Schlicht wrote: Yes, I do. This seems to explain a lot of the difference between 141 and 137, but not all. http://bugzilla.lyx.org/show_bug.cgi?id=2460 I know exactly what the problem is. Jürgen

Re: Some 1.5 ideas - is this the time for working on them?

2006-04-03 Thread Helge Hafting
Juergen Spitzmueller wrote: Helge Hafting wrote: You are thinking about a dialog providing length of something Where length can be 1cm, 4pt, big, med, small, or fill, and something can be space, dots, or rule? This certainly seems more useful. I'll have to read up on latex to see if all

Re: Plan for Horizontal spacing formatting dialog

2006-04-03 Thread Helge Hafting
Juergen Spitzmueller wrote: Helge Hafting wrote: Pulldown list for selecting distance: small, med, big, fill, user defined I'd add the insetspace spaces here as well (thinspace, quad, qquad and friends; have a look at insetspace.C) Other than that, the plan looks good. Sure

Re: Plan for Horizontal spacing formatting dialog

2006-04-03 Thread Helge Hafting
John Spray wrote: On Thu, 2006-03-30 at 14:23 +0200, Helge Hafting wrote: I have figured out and tested the latex to generate for all combinations of input. Now I am looking at qt4 designer. :-) Could you please write the controller first, before any UI? Once frontend code is

Re: WinLyx 1.4.1 svn: Very slow navigation response

2006-04-03 Thread Ekkehart Schlicht
Abdelrazak Younes wrote: How is paragraph creation/deletion for you? Do you have a sensible delay when you press Enter at the end of a paragraph in your big document? FYI, the difference in scrolling speed using PageDown key between 141 wo Natbib and 137 is not a good test WRT performance.

Conversion to OpenOffice

2006-04-03 Thread Nick Thomas
Dear Development Team, I really like lyx, but have the need to convert to word-processor format on occasions.  I have written two Python programs that convert to OpenOffice format, and for example your UserGuide is converted successfully (at least my version is) I would like to contribute to

Re: [patch] fix bug 2344 and paths issues on cygwin

2006-04-03 Thread Enrico Forestieri
On Sun, Apr 02, 2006 at 10:20:35PM +0200, Georg Baum wrote: Am Sonntag, 2. April 2006 17:57 schrieb Enrico Forestieri: Well, I am facing a problem related to it now. Please, help this C++ newbie to solve the following problem. I had already the need to add an enum argument to

Re: WinLyx 1.4.1 svn: Very slow navigation response

2006-04-03 Thread Abdelrazak Younes
Ekkehart Schlicht a écrit : Abdelrazak Younes wrote: How is paragraph creation/deletion for you? Do you have a sensible delay when you press Enter at the end of a paragraph in your big document? FYI, the difference in scrolling speed using PageDown key between 141 wo Natbib and 137 is not

Re: [patch] Cygwin polishing

2006-04-03 Thread Enrico Forestieri
On Sun, Apr 02, 2006 at 07:45:39PM +0200, Abdelrazak Younes wrote: Enrico Forestieri a écrit : On Sun, Apr 02, 2006 at 07:02:08PM +0200, Abdelrazak Younes wrote: Enrico Forestieri a écrit : On Sun, Apr 02, 2006 at 06:16:34PM +0200, Abdelrazak Younes wrote: [...] It always contains

Re: Plan for Horizontal spacing formatting dialog

2006-04-03 Thread Juergen Spitzmueller
Helge Hafting wrote: As a user, I think differently about inserting big spacing like fill or 5cm, than I think about thinspace and friends. The thinspace is very much like the ordinary space - it is a character you insert.   It's not a character. It's separating characters. You don't really

Re: Conversion to OpenOffice

2006-04-03 Thread Lars Gullik Bjønnes
Nick Thomas [EMAIL PROTECTED] writes: | Dear Development Team, | | I really like lyx, but have the need to convert to word-processor format on | occasions.  I have written two Python programs that convert to OpenOffice | format, and for example your UserGuide is converted successfully (at

Re: [patch] Cygwin polishing

2006-04-03 Thread Enrico Forestieri
On Sun, Apr 02, 2006 at 10:07:54PM +0200, Georg Baum wrote: Am Sonntag, 2. April 2006 17:26 schrieb Enrico Forestieri: Well, I think that I cannot hardcode a format in external_path as this would be a regression. The fixes should go to 1.5svn first, and IMO it is acceptable if 1.5svn is

Re: LyX 1.4.1

2006-04-03 Thread Jean-Marc Lasgouttes
Michael == Michael Gerz [EMAIL PROTECTED] writes: Michael Hartmut H. and me think that users will not understand the Michael difference include and input. We should mention the term Michael LaTeX so that users know where the terms come from at Michael least. It would be even better to find a

Re: [patch] fix layout2layout

2006-04-03 Thread Jean-Marc Lasgouttes
Georg == Georg Baum [EMAIL PROTECTED] writes: Georg Am Freitag, 31. März 2006 14:40 schrieb Jean-Marc Lasgouttes: I tested it and it seems to work and I think you should apply it to 1.4. The best would be to ask people who reported bugs to test it. It is only one file to put un user

Re: [Pre-PATCH] Make use of local .cls and .layout file.

2006-04-03 Thread Jean-Marc Lasgouttes
Bo == Bo Peng [EMAIL PROTECTED] writes: Bo I get no response from the list so I will proceed with the second Bo approach, namely adding filePath to buffer param(), unless I find Bo a way to retrieve filePath() from within param(). What about *moving* filepath from Buffer::Pimpl to BufferParams?

Re: [Patch] nicefrac

2006-04-03 Thread Martin Vermeer
On Mon, Apr 03, 2006 at 08:38:16AM +0200, Georg Baum wrote: Martin Vermeer wrote: On Sun, Apr 02, 2006 at 07:59:42PM +0200, Lars Gullik Bjønnes wrote: Martin Vermeer [EMAIL PROTECTED] writes: | See patch. No GUI support for now. Can we use something a bit stronger typed for the

Re: [patch] Cygwin polishing

2006-04-03 Thread Jean-Marc Lasgouttes
Enrico == Enrico Forestieri [EMAIL PROTECTED] writes: Enrico Don't get me wrong. I think that he did a superb job. I was Enrico talking about the cygwin target. My impression is that it does Enrico not received sufficient attention and my fear was that it was Enrico going down the sink, like

Re: [patch] Cygwin polishing

2006-04-03 Thread Jean-Marc Lasgouttes
Enrico == Enrico Forestieri [EMAIL PROTECTED] writes: Enrico Moreover, nuking the checkbox maybe be seen as a regression... Nuking a checkbox is not a regression per se. Adding a pref just because we can't make up our mind is bad. Considering that cygwin users who want such or such kind of

Re: [PATCH] Re: Some files we should not distribute...

2006-04-03 Thread Jean-Marc Lasgouttes
Lars == Lars Gullik Bjønnes [EMAIL PROTECTED] writes: Lars Not sure... try to remove them... we can always re-add them Lars again if we discover problems later. (test with a distcheck Lars before committing perhaps?) I changed my mind. I plan to experiment with not generating the files at all

Re: [PATCH] Re: Another brake

2006-04-03 Thread Jean-Marc Lasgouttes
Martin == Martin Vermeer [EMAIL PROTECTED] writes: Martin This line of code originates from revision 9682, when Martin Jean-Marc moved updateCounters from text2.C to buffer_funcs.C, Martin and at the same time replaced pit_type arithmetic by Martin pariterators. That's when end and its

Re: [patch] fix bug 2344 and paths issues on cygwin

2006-04-03 Thread Georg Baum
Enrico Forestieri wrote: No, it is not because of that. The point is that lyx::support::latex_path() calls ChangeExtensions, which in turn calls internal_path(), which would turn the path into posix in cygwin. I see. Calling internal_path() in ChangeExtension seems wrong to me. I'll have a

Re: [patch] Cygwin polishing

2006-04-03 Thread Enrico Forestieri
On Mon, Apr 03, 2006 at 11:11:40AM +0200, Jean-Marc Lasgouttes wrote: Enrico == Enrico Forestieri [EMAIL PROTECTED] writes: Enrico Moreover, nuking the checkbox maybe be seen as a regression... Nuking a checkbox is not a regression per se. Adding a pref just because we can't make up our

Re: [PREVIEW] Preview latex code of selected (or current) paragraphs.

2006-04-03 Thread Jose' Matos
On Monday 03 April 2006 06:02, Bo Peng wrote: No, I won't try to stop it, I will interpret this as your agreement to put it in 1.5.x as long as it is nicely implemented. Please remove the name latex from the internal implementation as the same procedure allows to see docbook (both sgml

Re: [announce] testversion 1.9 of LyXWinInstaller with LyX 1.4.1svn

2006-04-03 Thread Uwe Stöhr
Wang Xiangqi wrote: I can install LyXWinInstaller 1.9 successfully on my office computer under Windows xp. However, when I tried it on my notebook (also Win XP), it freezed when running the configuration during installing at +checking for /Resources/../src/tex2lyx/tex2lyx..., then just stopped

Re: [PATCH] Re: Another brake

2006-04-03 Thread Jean-Marc Lasgouttes
Abdelrazak == Abdelrazak Younes [EMAIL PROTECTED] writes: Abdelrazak bool needEnumCounterReset(ParagraphList pars, size_t const pos) Abdelrazak Maybe I am missing something but this is simpler. Please Abdelrazak correct me if I am wrong. I agree that using dociterators all over makes a code

Re: Conversion to OpenOffice

2006-04-03 Thread Jose' Matos
On Sunday 02 April 2006 20:47, Nick Thomas wrote: Dear Development Team, Welcome Nick. :-) I really like lyx, but have the need to convert to word-processor format on occasions.  I have written two Python programs that convert to OpenOffice format, and for example your UserGuide is

Re: [paatch] fix bug 2045

2006-04-03 Thread Jean-Marc Lasgouttes
Georg == Georg Baum [EMAIL PROTECTED] writes: Georg Bug 2045 (C-U does not work in mathed) has annoyed me today Georg again, so I fixed it. The attached patch is going in soon. I targetted the bug for 1.4.2. Please attach the patch there. JMarc

Re: [Patch] nicefrac

2006-04-03 Thread Georg Baum
Martin Vermeer wrote: Looking at tfrac and dfrac, I would rather merge them with frac too, as they are so small that separate insets is overkill. IMHO. Yes, why not. Storing an emum should not be more expensive than a bool, and some switch statements in draw() and write() are also fast.

Re: Conversion to OpenOffice

2006-04-03 Thread Juergen Spitzmueller
Jose' Matos wrote: Would you be interested in having it, and if so how do I get it to you?   If the file is the same you sent me, I can post it here if you want to (maybe changing the packaging from zip to tar.gz as some mail filter do not allow zip files). Steve Harris already put it onthe

[Patch] Re: [Patch] nicefrac

2006-04-03 Thread Martin Vermeer
On Sun, Apr 02, 2006 at 08:54:46PM +0300, Martin Vermeer wrote: See patch. No GUI support for now. Here is a new patch, using enum, and having GUI support. Wasn't so much work after all. Please give this some testing. - Martin Index: LaTeXFeatures.C

Re: Automatic recognization of .cls/.layout files.

2006-04-03 Thread Jean-Marc Lasgouttes
Georg == Georg Baum [EMAIL PROTECTED] writes: 1. When lyx starts, compare the dates between $HOME/.lyx/textclass.lst and $HOME/.lyx/layouts. If new layouts have been added to local layout directory. Run a (partial) reconfigure before lyx starts. (This can be done through a call to, for

Re: [patch] fix bug 2344 and paths issues on cygwin

2006-04-03 Thread Jean-Marc Lasgouttes
Georg == Georg Baum [EMAIL PROTECTED] writes: Georg, cygwin runs on windows and it understands both posix and win-style paths. So, what is external and what is internal? In the win32 version C:/xxx is the internal representation, in the *nix version /c/xxx is the internal representation. Why

Re: Testing of my patches under windows.

2006-04-03 Thread Jean-Marc Lasgouttes
Bo == Bo Peng [EMAIL PROTECTED] writes: Bo 1. my session patch. All features work fine, including remembering Bo of windows size/position, save/load bookmarks, lastfiles, restore Bo cursor to saved document locations, open files from last session Bo .The only thing missing is the GUI

Re: Some data

2006-04-03 Thread Jean-Marc Lasgouttes
Andre == Andre Poenitz [EMAIL PROTECTED] writes: Andre A few entries from a recent data sheet: Andre 2006-03-26, 04:12, 3150 g, 50 cm, Paula. ... and a made in China sticker. Err, no, they did not outsource that yet, did they? Although I am late in the party, I am glad to join in with my

Re: [Patch] buffer_funcs.C cleanup

2006-04-03 Thread Jean-Marc Lasgouttes
Abdelrazak == Abdelrazak Younes [EMAIL PROTECTED] writes: The pos is not really a 'pos' is it? It is an index in the ParagraphList? (we use pos for position inside paragraphs) Abdelrazak Well it is a position inside the ParagraphList but we can Abdelrazak rename that to index. No PB. We use

Re: [patch] fix bug 2344 and paths issues on cygwin

2006-04-03 Thread Enrico Forestieri
On Mon, Apr 03, 2006 at 11:22:48AM +0200, Georg Baum wrote: Enrico Forestieri wrote: No, it is not because of that. The point is that lyx::support::latex_path() calls ChangeExtensions, which in turn calls internal_path(), which would turn the path into posix in cygwin. I see.

Re: [PATCH] Re: Another brake

2006-04-03 Thread Jean-Marc Lasgouttes
Martin == Martin Vermeer [EMAIL PROTECTED] writes: Martin what about short-circuiting execution of setCounter if the Martin paragraph has no label? I.e. labeltype == LABEL_NO_LABEL. You Martin could do that by returning from setLabel at the start for a Martin labelless paragraph. I think it

Re: [Patch] buffer_funcs.C cleanup

2006-04-03 Thread Jean-Marc Lasgouttes
Abdelrazak == Abdelrazak Younes [EMAIL PROTECTED] writes: Abdelrazak Hum no, not when the inset was following an enum list. I Abdelrazak was calling needEnumCounterReset with buf.paragraphs() Abdelrazak instead of it.plist. The following patch is fixing this. Abdelrazak If you want me to commit

Re: [patch] fix bug 2344 and paths issues on cygwin

2006-04-03 Thread Enrico Forestieri
On Mon, Apr 03, 2006 at 11:40:03AM +0200, Jean-Marc Lasgouttes wrote: Georg == Georg Baum [EMAIL PROTECTED] writes: Georg, cygwin runs on windows and it understands both posix and win-style paths. So, what is external and what is internal? In the win32 version C:/xxx is the internal

[PATCH] buffer_funcs cleanup (was Re: [PATCH] Re: Another brake)

2006-04-03 Thread Abdelrazak Younes
Jean-Marc Lasgouttes a écrit : Abdelrazak == Abdelrazak Younes [EMAIL PROTECTED] writes: Abdelrazak bool needEnumCounterReset(ParagraphList pars, size_t const pos) Abdelrazak Maybe I am missing something but this is simpler. Please Abdelrazak correct me if I am wrong. I agree

Re: [Patch] buffer_funcs.C cleanup

2006-04-03 Thread Martin Vermeer
On Mon, Apr 03, 2006 at 11:52:57AM +0200, Jean-Marc Lasgouttes wrote: Abdelrazak == Abdelrazak Younes [EMAIL PROTECTED] writes: The pos is not really a 'pos' is it? It is an index in the ParagraphList? (we use pos for position inside paragraphs) Abdelrazak Well it is a position inside

Re: Crashes While Opening Preferences

2006-04-03 Thread Darren Oh
No. On Mar 31, 2006, at 4:07 AM, Jean-Marc Lasgouttes wrote: Darren == Darren Oh [EMAIL PROTECTED] writes: Darren Thank you for the suggestion. Unfortunately, that doesn't seem Darren to be the problem. I removed the LyX and LyX-1.4 directories Darren and restarted LyX, but it still crashed

Re: [Patch] buffer_funcs.C cleanup

2006-04-03 Thread Jean-Marc Lasgouttes
Abdelrazak == Abdelrazak Younes [EMAIL PROTECTED] writes: Abdelrazak I think yes. The ParagraphLists should be independent, Abdelrazak there is absolutely no reason to use a ParIterator here. I Abdelrazak would like to go even further. What do you mean? Abdelrazak Indeed, I don't like at all

Re: [Patch] buffer_funcs.C cleanup

2006-04-03 Thread Abdelrazak Younes
Jean-Marc Lasgouttes a écrit : Abdelrazak == Abdelrazak Younes [EMAIL PROTECTED] writes: Abdelrazak Hum no, not when the inset was following an enum list. I Abdelrazak was calling needEnumCounterReset with buf.paragraphs() Abdelrazak instead of it.plist. The following patch is

Re: LyX and Unicode - the way forward

2006-04-03 Thread Jean-Marc Lasgouttes
Lars == Lars Gullik Bjønnes [EMAIL PROTECTED] writes: Lars We need to look into how we shall make this happen. Lars IMHO there are three (semi-)ortogonal issues we have to tackle: Lars 1. Input (unicode input from gui) 2. Output (write utf8 to file Lars and parse it) 3. Storage (Store the

[Patch] Re: [Patch] buffer_funcs.C cleanup

2006-04-03 Thread Martin Vermeer
On Mon, Apr 03, 2006 at 12:07:51PM +0200, Jean-Marc Lasgouttes wrote: Abdelrazak == Abdelrazak Younes [EMAIL PROTECTED] writes: ... Abdelrazak Side notes: Abdelrazak 1) When inside an enum with depth greater than 0, enter at Abdelrazak the end of the paragraph resets the depth to 0. I

Re: [PATCH] buffer_funcs cleanup (was Re: [PATCH] Re: Another brake)

2006-04-03 Thread Lars Gullik Bjønnes
Abdelrazak Younes [EMAIL PROTECTED] writes: | Jean-Marc Lasgouttes a écrit : | Abdelrazak == Abdelrazak Younes [EMAIL PROTECTED] writes: | | | Abdelrazak bool needEnumCounterReset(ParagraphList pars, size_t | const pos) Abdelrazak Maybe I am missing something but this is | simpler. Please

Re: two patches

2006-04-03 Thread Jean-Marc Lasgouttes
Uwe == Uwe Stöhr [EMAIL PROTECTED] writes: Uwe I added a patch to http://bugzilla.lyx.org/show_bug.cgi?id=2455 Uwe and to http://bugzilla.lyx.org/show_bug.cgi?id=2418 Uwe both are in the just released LyXWinInstaller testversion 1.9 Uwe because I think they are useful. Uwe Opinions? Well, I

Re: Plan for Horizontal spacing formatting dialog

2006-04-03 Thread Angus Leeming
Helge Hafting [EMAIL PROTECTED] writes: Todays stupid question - what is a controller? ;-) In LyX all our dialogs are represented by lyx::frontend::Dialog in src/frontends/controllers/Dialog.[Ch]. This class uses two base classes, lyx::frontend::Dialog::Controller and

Re: [Patch] buffer_funcs.C cleanup

2006-04-03 Thread Abdelrazak Younes
Martin Vermeer a écrit : On Mon, Apr 03, 2006 at 11:52:57AM +0200, Jean-Marc Lasgouttes wrote: Abdelrazak == Abdelrazak Younes [EMAIL PROTECTED] writes: The pos is not really a 'pos' is it? It is an index in the ParagraphList? (we use pos for position inside paragraphs)

Re: [Patch] buffer_funcs.C cleanup

2006-04-03 Thread Lars Gullik Bjønnes
Martin Vermeer [EMAIL PROTECTED] writes: | On Mon, Apr 03, 2006 at 11:52:57AM +0200, Jean-Marc Lasgouttes wrote: | Abdelrazak == Abdelrazak Younes [EMAIL PROTECTED] writes: | | The pos is not really a 'pos' is it? It is an index in the | ParagraphList? (we use pos for position inside

Re: [Patch] Re: [Patch] buffer_funcs.C cleanup

2006-04-03 Thread Abdelrazak Younes
Martin Vermeer a écrit : On Mon, Apr 03, 2006 at 12:07:51PM +0200, Jean-Marc Lasgouttes wrote: Abdelrazak == Abdelrazak Younes [EMAIL PROTECTED] writes: ... Abdelrazak Side notes: Abdelrazak 1) When inside an enum with depth greater than 0, enter at Abdelrazak the end

Re: Automatic recognization of .cls/.layout files.

2006-04-03 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes [EMAIL PROTECTED] writes: | Yes, 2. is definitely not good. Actually we should never use current | directory in LyX. yes. and Path should die. -- Lgb

Re: two patches

2006-04-03 Thread Angus Leeming
Jean-Marc Lasgouttes [EMAIL PROTECTED] writes: BTW, I saw someone complaining that LyX for windows was very slow. Did you compile with --disable-stdlib-debug? I believe that Uwe is using my snapshot of LyX 1.4.x svn from 19 March. That suposition is based on the fact taht he always has in the

Re: [Patch] buffer_funcs.C cleanup

2006-04-03 Thread Martin Vermeer
On Mon, 2006-04-03 at 12:31 +0200, Lars Gullik Bjønnes wrote: Martin Vermeer [EMAIL PROTECTED] writes: | On Mon, Apr 03, 2006 at 11:52:57AM +0200, Jean-Marc Lasgouttes wrote: | Abdelrazak == Abdelrazak Younes [EMAIL PROTECTED] writes: | | The pos is not really a 'pos' is it? It is an

Re: [PATCH] buffer_funcs cleanup (was Re: [PATCH] Re: Another brake)

2006-04-03 Thread Abdelrazak Younes
Lars Gullik Bjønnes a écrit : Abdelrazak Younes [EMAIL PROTECTED] writes: [...] | IMHO, this is because the code is not object oriented. In this context | docIterator is an advantage. The code is not 'not object oriented' either. IMHO, it is not _much_ object oriented. That's just an

Re: two patches

2006-04-03 Thread Uwe Stöhr
Jean-Marc Lasgouttes schrieb: Concerning 2418, don't you rely on a pretty recent imagemagick version? As I wrote in the bug report it doesn't matter which version of imagemagick is installed, the additional option for pdf doesn't make problems, it is ignored in older versions of Imagemagick

Re: [PATCH] buffer_funcs cleanup

2006-04-03 Thread Jean-Marc Lasgouttes
Abdelrazak == Abdelrazak Younes [EMAIL PROTECTED] writes: Abdelrazak IMHO, this is because the code is not object oriented. In Abdelrazak this context docIterator is an advantage. When/if we move Abdelrazak to a truly object oriented way of dealing with insets I Abdelrazak believe that most of

Re: [Patch] buffer_funcs.C cleanup

2006-04-03 Thread Jean-Marc Lasgouttes
Martin == Martin Vermeer [EMAIL PROTECTED] writes: We use 'pit' for that. Martin ...which is confusing, as it obviously doesn't stand for Martin paragraph iterator. Sure, but it we use a name consistently, if it easier to replace it later. JMarc

Re: [PATCH] buffer_funcs cleanup

2006-04-03 Thread Abdelrazak Younes
Jean-Marc Lasgouttes a écrit : Abdelrazak == Abdelrazak Younes [EMAIL PROTECTED] writes: Abdelrazak IMHO, this is because the code is not object oriented. In Abdelrazak this context docIterator is an advantage. When/if we move Abdelrazak to a truly object oriented way of dealing

Re: [PATCH] buffer_funcs cleanup

2006-04-03 Thread Angus Leeming
Abdelrazak Younes [EMAIL PROTECTED] writes: Anyway, do what you want with the patch. I will maintain my own version locally. Hey, Abdel! Don't get stroppy; JMarc is one of the good guys! And besides, you Frenchies should stick together ;-) Angus

Re: Crashes While Opening Preferences

2006-04-03 Thread Bennett Helm
On Mar 30, 2006, at 5:31 PM, Darren Oh wrote: Thank you for the suggestion. Unfortunately, that doesn't seem to be the problem. I removed the LyX and LyX-1.4 directories and restarted LyX, but it still crashed when I tried to open Preferences. Another test: create a new user account on

Re: [Patch] buffer_funcs.C cleanup

2006-04-03 Thread Jean-Marc Lasgouttes
Martin == Martin Vermeer [EMAIL PROTECTED] writes: poff - yes that's a good name. Paragraph offset. Martin or pidx. Index tends to be used for cell inset, doesn't it? JMarc

Re: two patches

2006-04-03 Thread Jean-Marc Lasgouttes
Uwe == Uwe Stöhr [EMAIL PROTECTED] writes: Uwe As I wrote in the bug report it doesn't matter which version of Uwe imagemagick is installed, the additional option for pdf doesn't Uwe make problems, it is ignored in older versions of Imagemagick and Uwe only has an effect in recent versions.

Re: [PATCH] buffer_funcs cleanup

2006-04-03 Thread Abdelrazak Younes
Angus Leeming a écrit : Abdelrazak Younes [EMAIL PROTECTED] writes: Anyway, do what you want with the patch. I will maintain my own version locally. Hey, Abdel! Don't get stroppy; I am not. I just don't have the courage nor the time to argue for days. So I just gave up. Nothing to be upset

Re: [PATCH] buffer_funcs cleanup

2006-04-03 Thread Jean-Marc Lasgouttes
Angus == Angus Leeming [EMAIL PROTECTED] writes: Angus Abdelrazak Younes [EMAIL PROTECTED] writes: Anyway, do what you want with the patch. I will maintain my own version locally. Angus Hey, Abdel! Don't get stroppy; JMarc is one of the good guys! Angus And besides, you Frenchies should stick

Re: [PATCH] buffer_funcs cleanup

2006-04-03 Thread Martin Vermeer
On Mon, 2006-04-03 at 14:44 +0200, Abdelrazak Younes wrote: Is it the use of needsUpdateCounters (should maybe be needsCountersUpdate) that helps? Yes. This is important. I suggest you create a minimal patch doing only this. We test it, make sure it's OK, have it in, and continue from

Re: [PATCH] buffer_funcs cleanup

2006-04-03 Thread Jean-Marc Lasgouttes
Abdelrazak == Abdelrazak Younes [EMAIL PROTECTED] writes: Abdelrazak Sorry but I do not see why modifying an enum in one Abdelrazak footnote should impact a caption inside a float inset. I put some of the 'interesting' constructs in the attached file. Abdelrazak Beside, counters inside a float

Re: two patches

2006-04-03 Thread Uwe Stöhr
Angus Leeming wrote: I believe that Uwe is using my snapshot of LyX 1.4.x svn from 19 March. Yup, I wrote this in the announcement. (It was hard to find some time to work on the installer, so I needed to steal the binaries ;-) ) Btw. thanks for your work on Aspell 0.6, the spellchecking

Re: [PATCH] buffer_funcs cleanup

2006-04-03 Thread Abdelrazak Younes
Jean-Marc Lasgouttes a écrit : Angus == Angus Leeming [EMAIL PROTECTED] writes: Angus Abdelrazak Younes [EMAIL PROTECTED] writes: Anyway, do what you want with the patch. I will maintain my own version locally. Angus Hey, Abdel! Don't get stroppy; JMarc is one of the good guys! Angus And

Re: two patches

2006-04-03 Thread Uwe Stöhr
Jean-Marc Lasgouttes schrieb: Uwe I got feedback that the button in the toolbar (bug Uwe 2455) is useful, but the menu entry is not. It needs too much Uwe clicks to use the menu, so that using return + increasing the Uwe depth is faster. It seems we are going to have a fix for 2445, so

Re: two patches

2006-04-03 Thread Jean-Marc Lasgouttes
Uwe == Uwe Stöhr [EMAIL PROTECTED] writes: Uwe Jean-Marc Lasgouttes schrieb: I got feedback that the button in Uwe the toolbar (bug 2455) is useful, but the menu entry is not. It Uwe needs too much clicks to use the menu, so that using return + Uwe increasing the depth is faster. It seems we

Re: [PATCH] buffer_funcs cleanup

2006-04-03 Thread Jean-Marc Lasgouttes
Abdelrazak == Abdelrazak Younes [EMAIL PROTECTED] writes: JMarc PS: Hmm, ``stroppy''. One more word in the weekly english lesson. Thanks Angus. Webster says it is a contraction of obstreperous. This one looks even better in a casual conversation ! Abdelrazak Google translate that in

Re: [PATCH] buffer_funcs cleanup

2006-04-03 Thread Jean-Marc Lasgouttes
Jean-Marc == Jean-Marc Lasgouttes [EMAIL PROTECTED] writes: Abdelrazak == Abdelrazak Younes [EMAIL PROTECTED] writes: Abdelrazak Sorry but I do not see why modifying an enum in one Abdelrazak footnote should impact a caption inside a float inset. Jean-Marc I put some of the 'interesting'

Re: [PATCH] buffer_funcs cleanup

2006-04-03 Thread Abdelrazak Younes
Jean-Marc Lasgouttes a écrit : Abdelrazak == Abdelrazak Younes [EMAIL PROTECTED] writes: Abdelrazak Sorry but I do not see why modifying an enum in one Abdelrazak footnote should impact a caption inside a float inset. I put some of the 'interesting' constructs in the attached file. I

Re: [PREVIEW] Preview latex code of selected (or current) paragraphs.

2006-04-03 Thread Bo Peng
Please remove the name latex from the internal implementation as the same procedure allows to see docbook (both sgml and xml). That is a good point. The menu item will be named 'view source', instead of 'view latex'. Lots of things named latex in lyx sources are not latex related at all.

Re: two patches

2006-04-03 Thread Angus Leeming
Uwe Stöhr [EMAIL PROTECTED] writes: Angus Leeming wrote: I believe that Uwe is using my snapshot of LyX 1.4.x svn from 19 March. Yup, I wrote this in the announcement. (It was hard to find some time to work on the installer, so I needed to steal the binaries ) Btw. thanks for your work on

Re: [PATCH] buffer_funcs cleanup

2006-04-03 Thread Abdelrazak Younes
Martin Vermeer a écrit : On Mon, 2006-04-03 at 14:44 +0200, Abdelrazak Younes wrote: Is it the use of needsUpdateCounters (should maybe be needsCountersUpdate) that helps? Yes. This is important. I suggest you create a minimal patch doing only this. We test it, make sure it's OK, have

Re: [PREVIEW] Preview latex code of selected (or current) paragraphs.

2006-04-03 Thread Jose' Matos
On Monday 03 April 2006 15:54, Bo Peng wrote:   Lots of things named latex in lyx sources are not latex related at all. They can be used to it but they are not exclusive to it. There is a historical reason for this. Docbook etc do not even exist when lyx was written. (Correct me if I am

Re: two patches

2006-04-03 Thread Uwe Stöhr
Angus Leeming writes: No, it means that I was playing detective: you said X, so I concluded Y. Localization has always worked for me on linux where I also use --with-version-suffix, so I've no reason to suppose it won't also work on Windows. Does localization works for you when you install

Re: [PATCH] buffer_funcs cleanup

2006-04-03 Thread Jean-Marc Lasgouttes
Abdelrazak == Abdelrazak Younes [EMAIL PROTECTED] writes: Abdelrazak IMHO even if there's no performance penalty on linux Abdelrazak (which I really doubt on slow machine) the way the Abdelrazak counters are updated is too heavy. We should instead Abdelrazak maintains lists of interdependent

Bibliography in branch w/hard-coded path to .bst = crash on typeset

2006-04-03 Thread Bennett Helm
This crash occurs with most recent svn (13547). New document. Create a branch. Within the branch, insert a bibliographic database, entering the complete path to the .bst file. Add a citation, and typeset. I get a crash. (gdb output below.) Curiously, simply generating the latex file does

Re: Some 1.5 ideas - is this the time for working on them?

2006-04-03 Thread Martin Vermeer
On Mon, Apr 03, 2006 at 09:47:25AM +0200, Helge Hafting wrote: Juergen Spitzmueller wrote: Helge Hafting wrote: You are thinking about a dialog providing length of something Where length can be 1cm, 4pt, big, med, small, or fill, and something can be space, dots, or rule? This

Re: [PATCH] buffer_funcs cleanup

2006-04-03 Thread Martin Vermeer
On Mon, Apr 03, 2006 at 05:05:56PM +0200, Abdelrazak Younes wrote: Martin Vermeer a écrit : On Mon, 2006-04-03 at 14:44 +0200, Abdelrazak Younes wrote: Is it the use of needsUpdateCounters (should maybe be needsCountersUpdate) that helps? Yes. This is important. I suggest you create

Re: two patches

2006-04-03 Thread Martin Vermeer
On Mon, Apr 03, 2006 at 03:43:07PM +0200, Jean-Marc Lasgouttes wrote: Uwe == Uwe Stöhr [EMAIL PROTECTED] writes: Uwe Jean-Marc Lasgouttes schrieb: I got feedback that the button in Uwe the toolbar (bug 2455) is useful, but the menu entry is not. It Uwe needs too much clicks to use the menu,

Re: [announce] testversion 1.9 of LyXWinInstaller with LyX 1.4.1svn

2006-04-03 Thread Joachim Krieg
Sunday, April 2, 2006, 7:20:08 PM, Uwe wrote: Hello LyXers, under http://developer.berlios.de/project/showfiles.php?group_id=5117release_id=9632 you can find a testversion of the LyX installer for Windows (version 1.9), the first one that comes with LyX 1.4. I installed LyX with your

Re: Testing of my patches under windows.

2006-04-03 Thread Michael Gerz
Beck, Andrew Thomas - BECAT001 wrote: I was just wondering if there's some reason why we can't include these steps in the various auto* files? This recipe changes fairly often while greatly appreciated is a bit of a hassle to keep up with. Most steps are already covered by Angus' build

Switching change tracking mode on/off

2006-04-03 Thread Michael Gerz
Martin, are you sure that you can switch CT on and off without having to accept/reject all changes? In BufferView::Pimpl::trackChanges (see below), Paragraph::trackChanges is invoked for every paragraph of the document, right? What if the document already contains changes? If CT is

LyX 1.4.1svn Graphics dialog bug (MATLAB images, OK button disabled)

2006-04-03 Thread Joost Verburg
Hello, I'm again testing the LyX 1.4.x branch and found another annoying bug. When the Graphics dialog is opened to modify the properties of a graphic, and no information has previously been entered on the Clipping tab, LyX activates the Get from File function and grabs the bounding box

Re: Crashes While Opening Preferences

2006-04-03 Thread Darren Oh
The problem ended after I restarted my computer and opened and closed the LyX program and documents a few times. On Apr 3, 2006, at 6:15 AM, Darren Oh wrote: No. On Mar 31, 2006, at 4:07 AM, Jean-Marc Lasgouttes wrote: Darren == Darren Oh [EMAIL PROTECTED] writes: Darren Thank you for

Re: [PREVIEW] Preview latex code of selected (or current) paragraphs.

2006-04-03 Thread Bo Peng
2. When a piece of code is selected, the view-source dialog will update with the latex code of the selected paragraphs. There seems to be too many SEL-related LFUN in text3.C, where would be a good place to trigger the update of view-source dialog? It does not sound right to change all LFUNs

Strange Menu Behavior on Mac

2006-04-03 Thread Darren Oh
In version 1.4.0 for Mac, after opening and closing a document, clicking on Preferences brings up the About window and clicking on Quit LyX brings up the Preferences window. Clicking on About LyX results in the error Command not allowed without any document open (buffer-export fax).

[Fwd: LyXInstaller]

2006-04-03 Thread Uwe Stöhr
Angus, have you ever seen this?: Original-Nachricht Betreff: LyXInstaller Datum: Mon, 3 Apr 2006 19:37:53 +0200 (MEST) Von: Yann Disser I just installed the new LyXInstaller (small) and got this error when executing lyx: Exception caught: boost::filesystem::is_directory:

  1   2   3   >