[PATCH] Bug 2714: Add general paragraph-params LFUN

2007-08-07 Thread Richard Heck
This patch addresses 2714, for which there was an earlier patch, but this patch proceeds more generally, in accord with some comments by JMarc. The original request was to be able to set paragraph alignment via an LFUN. This was not possible using paragraph-params-apply, because that override

Re: [PATCH 4114] Enable File -> Revert if buffer is clean but the file is externally modified.

2007-08-07 Thread Asger Ottar Alstrup
Bo Peng wrote: 5. I like File->reload a lot better than File->revert so I also change the menu name. This part can be removed if you guys like revert better. Note, however, that the LFUN is actually named LFUN_BUFFER_RELOAD. This command is traditionally called Revert. I checked in some random

Re: LyX Icons

2007-08-07 Thread Richard Heck
Typhoon wrote: Who owns the LyX logos? I am doing a short (about 100 pages) book "Self-publishing with LyX" which will be issued under one of the Creative Commons licences. I would like to use the LyX logo on the front. Who do I get permission from? I'm forwarding this to lyx-devel, as you'r

[PATCH] Bug 4112: Roman numerals give out at XX

2007-08-07 Thread Richard Heck
Patch fixes the bug. OK? Richard -- == Richard G Heck, Jr Professor of Philosophy Brown University http://frege.brown.edu/heck/ == Get my public key from http://sks.ke

Re: LyX tables dont compile.

2007-08-07 Thread Martin Vermeer
On Mon, Aug 06, 2007 at 12:11:41PM -0400, [EMAIL PROTECTED] wrote: > Attached an examples > 1) TEST.lyx this contains a lyx file without table. > > Problem is. > The file as is (without empty table) compiles under LyX and produces a > dvi file. > If I add a table from the menu, then LyX refuse

Re: [PATCH 4114] Enable File -> Revert if buffer is clean but the file is externally modified.

2007-08-07 Thread Bo Peng
> Sorry dude but I beat you to it :) > > http://bugzilla.lyx.org/show_bug.cgi?id=3766 I am happy that I am fixing two bugs. :-) I had a look at your bug report and test-ran kwrite. It behaves the same as gvim in that it checks if the file is modified when it gets focus. It also uses name File->Re

Re: [PATCH 4114] Enable File -> Revert if buffer is clean but the file is externally modified.

2007-08-07 Thread Darren Freeman
On Tue, 2007-08-07 at 21:51 -0500, Bo Peng wrote: > I filed this bug because I would like to have a better way to reload > externally modified .lyx file. Currently, one has to close and reopen > the file, or make the buffer dirty to use File->revert. Sorry dude but I beat you to it :) http://bugz

Re: [PATCH 4114] Enable File -> Revert if buffer is clean but the file is externally modified.

2007-08-07 Thread Richard Heck
I have no objection, and the patch looks fairly straightforward. I can try to test tomorrow. Richard Bo Peng wrote: I filed this bug because I would like to have a better way to reload externally modified .lyx file. Currently, one has to close and reopen the file, or make the buffer dirty to

Re: A 'refresh' menu item?

2007-08-07 Thread John McCabe-Dansted
On 8/8/07, Bo Peng <[EMAIL PROTECTED]> wrote: > My point is that it is not needed at all. Disk file is unlikely to be > changed when you work in lyx so it is enough to check it only when you > leave and re-enter lyx. I sometimes leave lyx open at work, and then log in at home. It might be a good i

[PATCH 4114] Enable File -> Revert if buffer is clean but the file is externally modified.

2007-08-07 Thread Bo Peng
I filed this bug because I would like to have a better way to reload externally modified .lyx file. Currently, one has to close and reopen the file, or make the buffer dirty to use File->revert. A long discussion about vim or emacs-like 'automatic reloading' feature was fruitless, so I propose the

Re: [Cvslog] r19347 [1/5] - in /lyx-devel/trunk: ABOUT-NLS config/conf...

2007-08-07 Thread Bo Peng
On 8/7/07, Bo Peng <[EMAIL PROTECTED]> wrote: > > Bo, I think building gettext with scons is broken now. Could you fix > > it? It is difficult to fix blindly. > > OK. Done. (It is really easy.) Note that scons tries to use system gettext first. With Joost's windows dependency package, included ge

Re: Ignoring text in spell-check

2007-08-07 Thread Mael Hilléreau
Selon Mael Hilléreau <[EMAIL PROTECTED]>: > To character level?? I don't understand. The spellchecker allows to skip at > word > level. What we need is to skip some parts at a higher level: specific > instance > of an inset, or some type of inset (bugs 1042 and 1509 deal with this). > > IMO the in

Re: Ignoring text in spell-check

2007-08-07 Thread Mael Hilléreau
Selon Jean-Marc Lasgouttes <[EMAIL PROTECTED]>: > Dov Feldstern <[EMAIL PROTECTED]> writes: > > > Hmmm, interesting... I think we need to first decide what exactly is > > required. If it's enough to take care of this at the inset-type level, > > then JMarc's suggestion from earlier tonight is prob

Oh, and one last thing...

2007-08-07 Thread Jean-Marc Lasgouttes
Just a last tiny little patch for the Mac. This one autogenerates Info.plist from Info.plist.in, in order to make sure that the version number is correct. I tested installation and "make dist" and it seems to work. Bennett, does it seem like a good idea? Note that The patch does not apply u

Re: Ignoring text in spell-check

2007-08-07 Thread Jean-Marc Lasgouttes
Dov Feldstern <[EMAIL PROTECTED]> writes: > Hmmm, interesting... I think we need to first decide what exactly is > required. If it's enough to take care of this at the inset-type level, > then JMarc's suggestion from earlier tonight is probably the simplest; My thought was just ERT and Listings.

Re: [Cvslog] r19360 - in /lyx-devel/trunk/src: LyX.cpp Messages.cpp Me...

2007-08-07 Thread Jean-Marc Lasgouttes
[EMAIL PROTECTED] writes: > [the "translation" patch series] Part 2: fixing document label translations > > * src/gettext.cpp (locale_init): factor some code; call > Messages::init(). > * LyX.cpp (exec): call Messages::init() after initializing package(). > * Messages.cpp (init):

Re: [Cvslog] r19347 [1/5] - in /lyx-devel/trunk: ABOUT-NLS config/conf...

2007-08-07 Thread Jean-Marc Lasgouttes
"Bo Peng" <[EMAIL PROTECTED]> writes: > That would be unfortunate. You guys should just have fun there, and > avoid breaking the trunk after a dozen beers. :-) We'll say "the moose made me do it!". But I hope we'll be less controversial than it was last time %-] It is not a matter of breaking. Bu

Ignoring text in spell-check (was: Re: Caption in listings inset is messed up)

2007-08-07 Thread Dov Feldstern
Mael Hilléreau wrote: Selon Dov Feldstern : I think it's wrong. We're mixing latex-related information (language) with GUI-related information (should this be spell-checked?). These two things have to be decoupled. I agree. Perhaps a new inset (e.g. "Ignore spellchecking") should be introduce

Re: [Cvslog] r19347 [1/5] - in /lyx-devel/trunk: ABOUT-NLS config/conf...

2007-08-07 Thread Bo Peng
> Do you really believe any locking will be possible once Bromarv is > started? As usual, there will be a flurry of activity and some > breakage on the trunk. That would be unfortunate. You guys should just have fun there, and avoid breaking the trunk after a dozen beers. :-) Bo

Re: Caption in listings inset is messed up

2007-08-07 Thread Dov Feldstern
Dov Feldstern wrote: Bo Peng wrote: So, something fishy is definitely going on, I'm looking into it now. I think the first thing to do is to figure out the correct latex syntax when other languages are used. Herbert said that only latin language is supported so maybe non-latin language is not

Re: Where to catch 'lyx gets focus' event?

2007-08-07 Thread Enrico Forestieri
On Tue, Aug 07, 2007 at 04:33:12PM -0500, Bo Peng wrote: > > What about doing nothing? Who should modify the .lyx file behind my > > back? The only one could be me, and I know I did it, as I think I am > > not in that senile state, still. > > After you did it, you will have to close and open, or

Re: [Cvslog] r19347 [1/5] - in /lyx-devel/trunk: ABOUT-NLS config/conf...

2007-08-07 Thread Jean-Marc Lasgouttes
"Bo Peng" <[EMAIL PROTECTED]> writes: >> It is much eqsier to keep them somewhat syncronized while we can. > > I do not think so. merging everything from 1.5.3 to 1.6.x needs only > one command. Given the frequency of crashes I am getting now, locking > 1.6.x till 1.5.3 is reasonable. Do you real

Re: [the "translation" patch series] Part 3: improving the loading of localized files

2007-08-07 Thread Jean-Marc Lasgouttes
Enrico Forestieri <[EMAIL PROTECTED]> writes: > I don't want to hurt any feelings, so, before doing anything I'll try > to contact Kostantino, first. I guess you can change the menu shortcuts without asking, but the rest deserves some discussion. JMarc

Re: [Cvslog] r19347 [1/5] - in /lyx-devel/trunk: ABOUT-NLS config/conf...

2007-08-07 Thread Bo Peng
> It is much eqsier to keep them somewhat syncronized while we can. I do not think so. merging everything from 1.5.3 to 1.6.x needs only one command. Given the frequency of crashes I am getting now, locking 1.6.x till 1.5.3 is reasonable. Bo

Re: [Cvslog] r19347 [1/5] - in /lyx-devel/trunk: ABOUT-NLS config/conf...

2007-08-07 Thread Jean-Marc Lasgouttes
"Bo Peng" <[EMAIL PROTECTED]> writes: > I proposed that we lock the trunk and focus on 1.5.x for now, but > JMarc preferred to submit to both. It is much eqsier to keep them somewhat syncronized while we can. JMarc

Re: Where to catch 'lyx gets focus' event?

2007-08-07 Thread Bo Peng
> a LyX file is supposed to be modified only by LyX, no It can be modified by 'svn update', 'vim' and any other text editors. But I agree with you that this feature may not be the best one to work on right now. Bo

Re: [Cvslog] r19347 [1/5] - in /lyx-devel/trunk: ABOUT-NLS config/conf...

2007-08-07 Thread Jean-Marc Lasgouttes
Michael Gerz <[EMAIL PROTECTED]> writes: >> Indeed. But not with the stable build system :) >> > Be serious! :-) Scons has become our door to the Windows world. But I was not serious! And as I said to Bo, I could not fix this seriously without being able to test (it is not just adding a few .c

Re: Where to catch 'lyx gets focus' event?

2007-08-07 Thread Mael Hilléreau
Selon Bo Peng <[EMAIL PROTECTED]>: > > What about doing nothing? Who should modify the .lyx file behind my > > back? The only one could be me, and I know I did it, as I think I am > > not in that senile state, still. > > After you did it, you will have to close and open, or use file->revert > (whi

Re: [the "translation" patch series] Part 3: improving the loading of localized files

2007-08-07 Thread Enrico Forestieri
On Tue, Aug 07, 2007 at 11:27:28PM +0200, Jean-Marc Lasgouttes wrote: > Enrico Forestieri <[EMAIL PROTECTED]> writes: > > >> It is in now. > > > > Thanks. Just a question: am I allowed to patch it.po, or is that > > reserved to the official translator? > > Well, I know you, so you are not just y

firefox in berlios windows installer

2007-08-07 Thread Uwe Stöhr
> Uwe's windows installer for Lyx 1.5.1 reports that it couldn't find firefox, though in my case > it's certainly there, and in the default location, too ("C:\Program Files\Mozilla > Firefox\firefox.exe"). Obviously not a big deal for lyx; just thought I'd mention it. You mean in the console w

Re: [Cvslog] r19347 [1/5] - in /lyx-devel/trunk: ABOUT-NLS config/conf...

2007-08-07 Thread Bo Peng
> PS: Although I appreciate the speed at which bugs get fixed in the 1.5.X > branch, I am a bit surprised that it seems to be much easier to get > things into 1.5.[1-9] than in 1.5.0. Why are we less strict, now that > 1.5.0 is out? For instance, we have to inform the translators that > several imp

Re: [Cvslog] r19347 [1/5] - in /lyx-devel/trunk: ABOUT-NLS config/conf...

2007-08-07 Thread Michael Gerz
Jean-Marc Lasgouttes schrieb: Michael Gerz <[EMAIL PROTECTED]> writes: I guess this hold also for the so-called "stable branch", right? :-) Indeed. But not with the stable build system :) Be serious! :-) Scons has become our door to the Windows world. Michael PS: Although I appr

Re: Where to catch 'lyx gets focus' event?

2007-08-07 Thread Bo Peng
> What about doing nothing? Who should modify the .lyx file behind my > back? The only one could be me, and I know I did it, as I think I am > not in that senile state, still. After you did it, you will have to close and open, or use file->revert (which is disabled when your buffer is clean) to re

Re: Listing - include entry in dialog

2007-08-07 Thread Jean-Marc Lasgouttes
Pavel Sanda <[EMAIL PROTECTED]> writes: > i wanted to ask how you look on changing > Insert->File->Child Document->Include Type->"Listing" > > to some more comprehensible string for users as: > > Insert->File->Child Document->Include Type->"Program Listing" > > or something similar ? > (see http:

Re: [the "translation" patch series] Part 3: improving the loading of localized files

2007-08-07 Thread Jean-Marc Lasgouttes
Enrico Forestieri <[EMAIL PROTECTED]> writes: >> It is in now. > > Thanks. Just a question: am I allowed to patch it.po, or is that > reserved to the official translator? Well, I know you, so you are not just yet another random Italian guy grabbing power :) And it is not taking over the translati

Re: A 'refresh' menu item?

2007-08-07 Thread Jean-Marc Lasgouttes
"Bo Peng" <[EMAIL PROTECTED]> writes: >> Every keystroke is not so often if the test is not expensive. > > My point is that it is not needed at all. Disk file is unlikely to be > changed when you work in lyx so it is enough to check it only when you > leave and re-enter lyx. When I launch an "svn

Re: Where to catch 'lyx gets focus' event?

2007-08-07 Thread Enrico Forestieri
On Tue, Aug 07, 2007 at 03:55:50PM -0500, Bo Peng wrote: > > Yep. -2 (even without seeing the patch :) > > How about a combination of both? > > 1. when lyx gets focus, check diskfile. if modified, set diskModified = true > 2. when the buffer is modified and if diskModified, ask if reload the > f

Re: [Cvslog] r19347 [1/5] - in /lyx-devel/trunk: ABOUT-NLS config/conf...

2007-08-07 Thread Jean-Marc Lasgouttes
Michael Gerz <[EMAIL PROTECTED]> writes: > I guess this hold also for the so-called "stable branch", right? :-) Indeed. But not with the stable build system :) JMarc

Re: [the "translation" patch series] Part 3: improving the loading of localized files

2007-08-07 Thread Enrico Forestieri
On Tue, Aug 07, 2007 at 10:46:37PM +0200, Jean-Marc Lasgouttes wrote: > Enrico Forestieri <[EMAIL PROTECTED]> writes: > > > Works for me as it is. What could be the problem with having special > > entries in the .po files? > > It is in now. Thanks. Just a question: am I allowed to patch it.po,

Re: [the "translation" patch series] Part 4: translating the LyX menu on the mac

2007-08-07 Thread Jean-Marc Lasgouttes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: > Mael Hilléreau <[EMAIL PROTECTED]> writes: > >>> Sorry, it was "make fr.gmo". I am note sure why, but these files are >>> not rebuilt automatically. Of course, you wil need patch transl1-v1. >> >> Indeed, now "About" is translated, but not "Reconf

Re: [Cvslog] r19347 [1/5] - in /lyx-devel/trunk: ABOUT-NLS config/conf...

2007-08-07 Thread Bo Peng
> Bo, I think building gettext with scons is broken now. Could you fix > it? It is difficult to fix blindly. OK. Bo

Re: A 'refresh' menu item?

2007-08-07 Thread Bo Peng
> Every keystroke is not so often if the test is not expensive. My point is that it is not needed at all. Disk file is unlikely to be changed when you work in lyx so it is enough to check it only when you leave and re-enter lyx. Bo

Re: Where to catch 'lyx gets focus' event?

2007-08-07 Thread Bo Peng
> Yep. -2 (even without seeing the patch :) How about a combination of both? 1. when lyx gets focus, check diskfile. if modified, set diskModified = true 2. when the buffer is modified and if diskModified, ask if reload the file. If so, reload.the file. If not, set diskModified to false. Briefly

Re: [Cvslog] r19347 [1/5] - in /lyx-devel/trunk: ABOUT-NLS config/conf...

2007-08-07 Thread Michael Gerz
Jean-Marc Lasgouttes schrieb: [EMAIL PROTECTED] writes: Author: lasgouttes Date: Tue Aug 7 21:22:32 2007 New Revision: 19347 URL: http://www.lyx.org/trac/changeset/19347 Log: the "translation" patch series] Part 1: upgrading to gettext 0.14.6 Bo, I think building gettext with scons

Re: [Cvslog] r19347 [1/5] - in /lyx-devel/trunk: ABOUT-NLS config/conf...

2007-08-07 Thread Jean-Marc Lasgouttes
[EMAIL PROTECTED] writes: > Author: lasgouttes > Date: Tue Aug 7 21:22:32 2007 > New Revision: 19347 > > URL: http://www.lyx.org/trac/changeset/19347 > Log: > the "translation" patch series] Part 1: upgrading to gettext 0.14.6 Bo, I think building gettext with scons is broken now. Could you fix

Re: [the "translation" patch series] Part 3: improving the loading of localized files

2007-08-07 Thread Jean-Marc Lasgouttes
Enrico Forestieri <[EMAIL PROTECTED]> writes: > Works for me as it is. What could be the problem with having special > entries in the .po files? It is in now. JMarc

Re: A 'refresh' menu item?

2007-08-07 Thread Jean-Marc Lasgouttes
"Bo Peng" <[EMAIL PROTECTED]> writes: > This totally depends on how many times you want to check. It would be > difficult to implement your idea because you do not want to check at > every key stroke (file change). The gvim behavior is easier because I > only need to check once when lyx gets focus

Re: A 'refresh' menu item?

2007-08-07 Thread Bo Peng
> > Considering that the third suggestion is simply File->revert, this is > > the only one left. Maybe we can add something like view->regenerate > > preview. It is even better to toggle between view-> instant preview > > and re-generate preview when preview is enabled in this way. > > What do you

Re: Where to catch 'lyx gets focus' event?

2007-08-07 Thread Enrico Forestieri
On Tue, Aug 07, 2007 at 10:25:27PM +0200, Jean-Marc Lasgouttes wrote: > "Bo Peng" <[EMAIL PROTECTED]> writes: > > I would like to test out the idea of checking if diskfile has been > > changed when lyx main window gets focus, i.e., when lyx becomes the > > current application. Where can I catch th

Re: A 'refresh' menu item?

2007-08-07 Thread Bo Peng
> I guess CRC could be too expensive to large files, so ti,e looks better. This totally depends on how many times you want to check. It would be difficult to implement your idea because you do not want to check at every key stroke (file change). The gvim behavior is easier because I only need to c

Re: [the "translation" patch series] Part 1: upgrading to gettext 0.14.6

2007-08-07 Thread Jean-Marc Lasgouttes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: > If nobody complains I will apply this to branch and trunk this > evening. It is in now. JMarc

Re: Where to catch 'lyx gets focus' event?

2007-08-07 Thread Jean-Marc Lasgouttes
"Bo Peng" <[EMAIL PROTECTED]> writes: > I would like to test out the idea of checking if diskfile has been > changed when lyx main window gets focus, i.e., when lyx becomes the > current application. Where can I catch this event? Don't know. But, as someone who uses focus follows mouse, I am sure

Nomenclature works fine but a slight bug remains

2007-08-07 Thread Heiko Schroeder
Dear list, LyX translates the nomenclature very fine, but I wonder a bit why it is not possible to set the very important options for foreign languages. With \usepackage[german]{nomenclature} e.g. in the LaTeX Preamble you will get a problem because LyX already puts into the file \usepackage{

Re: Very great problems with conversions of the LyX UserGuide

2007-08-07 Thread Heiko Schroeder
Thanks Uwe, that was the correct idea. I did not get it that there is even such a great difference in minor releases of ImageMagick. The version in SuSE 10.2 does not convert pngs to eps as proper as Gimp does e.g. Regards Heiko -- Heiko Schroeder Praha, Ceska Republica http://home.foni.net/~h

Re: A 'refresh' menu item?

2007-08-07 Thread Jean-Marc Lasgouttes
"Bo Peng" <[EMAIL PROTECTED]> writes: > This also makes sense. I prefer the vim way because this may lead to > too many checks. What do you prefer to check? CRC or file modification > time? I guess CRC could be too expensive to large files, so ti,e looks better. >> We did not have an emacs vs vi

Re: A 'refresh' menu item?

2007-08-07 Thread Jean-Marc Lasgouttes
"Bo Peng" <[EMAIL PROTECTED]> writes: > I think a better solution is to include included listings etc to > FileMonitor, just like what we do to Figures. Yes. >> Yes, it is more difficult to find a workaround for this one >> (especially since regenerating the previews at each change would be >>

Where to catch 'lyx gets focus' event?

2007-08-07 Thread Bo Peng
I would like to test out the idea of checking if diskfile has been changed when lyx main window gets focus, i.e., when lyx becomes the current application. Where can I catch this event? Thanks. Bo

firefox in berlios windows installer

2007-08-07 Thread Philip A. Viton
Uwe's windows installer for Lyx 1.5.1 reports that it couldn't find firefox, though in my case it's certainly there, and in the default location, too ("C:\Program Files\Mozilla Firefox\firefox.exe"). Obviously not a big deal for lyx; just thought I'd mention it. Phi

Re: A 'refresh' menu item?

2007-08-07 Thread Bo Peng
> I prefer the emacs approach that asks when I try to modify the > document. Less nagging (especially when I know what I am doing and to > to compare visually the two versions). This also makes sense. I prefer the vim way because this may lead to too many checks. What do you prefer to check? CRC o

Re: A 'refresh' menu item?

2007-08-07 Thread Bo Peng
> Again: why not fix LyX instead? Isn't this supposed to be implemented > already? I am sure there are some cases this does not work. I will try to reproduce it. Bo

Re: A 'refresh' menu item?

2007-08-07 Thread Jean-Marc Lasgouttes
"Bo Peng" <[EMAIL PROTECTED]> writes: >> I would much better see code that checks the time of the .lyx file >> before each lfun dispatching that modifies the file. This seems quite >> easy to do conceptually. > > I like gvim very much in this regard. It asks me if I would like to > reload a change

Re: A 'refresh' menu item?

2007-08-07 Thread Jean-Marc Lasgouttes
"Bo Peng" <[EMAIL PROTECTED]> writes: >> i.e output is dirty? Then I don't actually understand why this could >> arise... Do >> you have an example? > > When my document includs a listings (or a figure?) that is externally > modified, lyx does not know that so view->pdf simply bring back the > pd

Re: A 'refresh' menu item?

2007-08-07 Thread Mael Hilléreau
Selon Bo Peng <[EMAIL PROTECTED]>: > > I think pressing space or something like that is a much easier > > shortcut. Our menus are already crowded. > > I sometimes do this, but to avoid adding an extra space to the > document, I usually remove the space immediately. The funny thing is, > lyx is ver

Re: A 'refresh' menu item?

2007-08-07 Thread Bo Peng
> I thought that output would be automatically updated when any included object > would change. I already checked that it's the case for figures (preview and > output are updated). Then this is the way to go, we need to add child document to FileMonitor. Bo

Re: A 'refresh' menu item?

2007-08-07 Thread Bo Peng
> I think pressing space or something like that is a much easier > shortcut. Our menus are already crowded. I sometimes do this, but to avoid adding an extra space to the document, I usually remove the space immediately. The funny thing is, lyx is very clever in that it does not regenerate the out

Re: A 'refresh' menu item?

2007-08-07 Thread Mael Hilléreau
Selon Bo Peng <[EMAIL PROTECTED]>: > When my document includs a listings (or a figure?) that is externally > modified, lyx does not know that so view->pdf simply bring back the > pdf file generated from last latex run. I thought that output would be automatically updated when any included object

Re: A 'refresh' menu item?

2007-08-07 Thread Bo Peng
> I would much better see code that checks the time of the .lyx file > before each lfun dispatching that modifies the file. This seems quite > easy to do conceptually. I like gvim very much in this regard. It asks me if I would like to reload a changed file each time when I switch from another app

Re: A 'refresh' menu item?

2007-08-07 Thread Mael Hilléreau
Selon Mael Hilléreau <[EMAIL PROTECTED]>: > Selon Bo Peng <[EMAIL PROTECTED]>: > > > Is Document -> Refresh a good idea? > > Yes IMHO. What about View>Refresh? I admit that it could be confusing to have View>Update and View>Refresh... but it would be more logic IMO. Mael.

Re: A 'refresh' menu item?

2007-08-07 Thread Bo Peng
> > Mark document dirty is useful when an external file is changed and I > > would like to regenerate pdf etc when the buffer is clean. > > i.e output is dirty? Then I don't actually understand why this could arise... > Do > you have an example? When my document includs a listings (or a figure?)

Re: A 'refresh' menu item?

2007-08-07 Thread Jean-Marc Lasgouttes
"Bo Peng" <[EMAIL PROTECTED]> writes: > Mark document dirty is useful when an external file is changed and I > would like to regenerate pdf etc when the buffer is clean. I think pressing space or something like that is a much easier shortcut. Our menus are already crowded. > Regenerate preview i

Re: [PATCH 4111] load .tex child document in relative path crashes lyx.

2007-08-07 Thread Bo Peng
> And so you decied to add it, right? ;) > > Go ahead and commit. Done. Thanks. Remember to fix middle-button-paste. :-) Bo

Re: A 'refresh' menu item?

2007-08-07 Thread Mael Hilléreau
Selon Bo Peng <[EMAIL PROTECTED]>: > Is Document -> Refresh a good idea? Yes IMHO. > Menu "refresh" > Item "Mark document dirty|M" "refresh document" > Item "Regenerate preview|P" "refresh preview" > Item "Reload buffer" "refresh buffer" > E

Re: [PATCH 4111] load .tex child document in relative path crashes lyx.

2007-08-07 Thread Jean-Marc Lasgouttes
"Bo Peng" <[EMAIL PROTECTED]> writes: >> Here is the deal: you can rename the button if you make sure with Uwe >> that the relevant manual is updated. Is that fair? > > I briefly checked the menu, and found no document for this 'load' button. :-) And so you decied to add it, right? ;) Go ahead a

Re: [PATCH 4111] load .tex child document in relative path crashes lyx.

2007-08-07 Thread Bo Peng
> Here is the deal: you can rename the button if you make sure with Uwe > that the relevant manual is updated. Is that fair? I briefly checked the menu, and found no document for this 'load' button. :-) Bo

Re: [the "translation" patch series] Part 3: improving the loading of localized files

2007-08-07 Thread Jean-Marc Lasgouttes
Andre Poenitz <[EMAIL PROTECTED]> writes: >> - Use QLocale::something. I am wary of using a different algorithm >> than the one used by gettext. Here is query gettext to know what >> language has been used. This seems rather robust. > > I seem to have difficulties to parse that. gettext uses

Re: [the "translation" patch series] Part 2: fixing document label translations on the mac

2007-08-07 Thread Jean-Marc Lasgouttes
Mael Hilléreau <[EMAIL PROTECTED]> writes: > True. I didn't see that before. JMarc mentioned in this thread that > real time translation will be fixed later for TOC & Co (1.6), but > this is a bug since after reopening, the problem persists (see > attached file, inconsistency between label and out

Re: [PATCH 4111] load .tex child document in relative path crashes lyx.

2007-08-07 Thread Jean-Marc Lasgouttes
"Bo Peng" <[EMAIL PROTECTED]> writes: > Can I apply the attached patch to the branch? If you do not like the > name change (Load->Edit) because of translation, documentation etc, I > can fix the crash in branch, and apply the full patch to trunk. Here is the deal: you can rename the button if you

Re: [the "translation" patch series] Part 2: fixing document label translations on the mac

2007-08-07 Thread Jean-Marc Lasgouttes
Mael Hilléreau <[EMAIL PROTECTED]> writes: > Pfff I found: it was just the "\mark_foreign_language false" preference > :-S > > I didn't know about its effect and probably set it up accidentally. Sorry for > that. I thought briefly about that, but I did not know that it actually exsted. JMar

Re: [the "translation" patch series] Part 2: fixing document label translations on the mac

2007-08-07 Thread Jean-Marc Lasgouttes
Enrico Forestieri <[EMAIL PROTECTED]> writes: > Ok, I think I got it. Not only your patch is innocent here, but it > makes the on screen view consistent with the output. It is not always easy to spot the difference between "not translated" and "translated to english" :) JMarc

A 'refresh' menu item?

2007-08-07 Thread Bo Peng
Is Document -> Refresh a good idea? Menu "refresh" Item "Mark document dirty|M" "refresh document" Item "Regenerate preview|P" "refresh preview" Item "Reload buffer" "refresh buffer" End Mark document dirty is useful when an external

Re: [the "translation" patch series] Part 3: improving the loading of localized files

2007-08-07 Thread Andre Poenitz
On Tue, Aug 07, 2007 at 10:22:41AM +0200, Jean-Marc Lasgouttes wrote: > Mael Hilléreau <[EMAIL PROTECTED]> writes: > > > Forget about this. I found that it works after running the "make > > fr.gmo && make install" of part 3 :) > > Seeking comments and OKs for this one. The part of this patch that

Re: [the "translation" patch series] Part 2: fixing document label translations on the mac

2007-08-07 Thread Mael Hilléreau
Selon Enrico Forestieri <[EMAIL PROTECTED]>: > > IMHO, that's not exactly what one would expect. One should expect that the > > labels would always be consistent with output. Hence they should always be > > translated to the _current_ language, not the document language. > > Nonetheless, I find it

Re: [the "translation" patch series] Part 2: fixing document label translations on the mac

2007-08-07 Thread Enrico Forestieri
On Tue, Aug 07, 2007 at 12:43:13PM +0200, Jean-Marc Lasgouttes wrote: > I'd like testing on native windows too. I tested it with a mingw build. I don't know if you count that as truly native, though, as only a MSVC build seems to be considered as such nowadays ;-) It works with the exact some gl

Re: [the "translation" patch series] Part 2: fixing document label translations on the mac

2007-08-07 Thread Enrico Forestieri
On Tue, Aug 07, 2007 at 06:18:31PM +0200, Mael Hilléreau wrote: > Selon Enrico Forestieri <[EMAIL PROTECTED]>: > > > These labels should always be translated to the > > document language as that is what one is expecting. > > IMHO, that's not exactly what one would expect. One should expect that

Re: [the "translation" patch series] Part 2: fixing document label translations on the mac

2007-08-07 Thread Mael Hilléreau
Selon Enrico Forestieri <[EMAIL PROTECTED]>: > These labels should always be translated to the > document language as that is what one is expecting. IMHO, that's not exactly what one would expect. One should expect that the labels would always be consistent with output. Hence they should always b

Re: Mouse Selection Issue in X11

2007-08-07 Thread Bo Peng
> Under Linux, I'm having problems with mouse selection, using current > 1.6svn---though not, oddly enough, in 1.5.2svn. Before 1.5.1 is released, I added a quick fix to trunk to fix middle button paste. JMarc is supposed to replace that with a better fix of his, and fix the trunk as well. See htt

Re: [the "translation" patch series] Part 2: fixing document label translations on the mac

2007-08-07 Thread Enrico Forestieri
On Tue, Aug 07, 2007 at 05:07:32PM +0200, Mael Hilléreau wrote: > Selon Enrico Forestieri <[EMAIL PROTECTED]>: > > > > ?? I see that "Chapter" is translated (to english) as your document's > > language > > > is french. In addition, if you get the same result as me, there's no pb > > since it > >

Mouse Selection Issue in X11

2007-08-07 Thread Richard Heck
Under Linux, I'm having problems with mouse selection, using current 1.6svn---though not, oddly enough, in 1.5.2svn. The issue is this: If I select some stuff with the mouse, release the button, and then move the mouse any, the selection vanishes. If I hold the mouse very still, the selection

Re: [the "translation" patch series] Part 2: fixing document label translations on the mac

2007-08-07 Thread Mael Hilléreau
Selon Mael Hilléreau <[EMAIL PROTECTED]>: > Selon Mael Hilléreau <[EMAIL PROTECTED]>: > > > Selon Jean-Marc Lasgouttes <[EMAIL PROTECTED]>: > > > > > Mael Hilléreau <[EMAIL PROTECTED]> writes: > > > > > > > Strange... Then I have no idea about the reason of this! > > > > > > > > Intel Mac OS X.4.1

Re: [the "translation" patch series] Part 2: fixing document label translations on the mac

2007-08-07 Thread Enrico Forestieri
On Tue, Aug 07, 2007 at 04:38:01PM +0200, Enrico Forestieri wrote: > On Tue, Aug 07, 2007 at 04:26:52PM +0200, Jean-Marc Lasgouttes wrote: > > > Enrico Forestieri <[EMAIL PROTECTED]> writes: > > > > > On Tue, Aug 07, 2007 at 02:13:28PM +0200, Jean-Marc Lasgouttes wrote: > > > > > >> If you take

Re: [PATCH 4111] load .tex child document in relative path crashes lyx.

2007-08-07 Thread Bo Peng
> > Did you test it? If so, I need another OK to proceed. > > > It seems to work here, yes. JMarc, Can I apply the attached patch to the branch? If you do not like the name change (Load->Edit) because of translation, documentation etc, I can fix the crash in branch, and apply the full patch to tr

Re: [the "translation" patch series] Part 2: fixing document label translations on the mac

2007-08-07 Thread Mael Hilléreau
Selon Mael Hilléreau <[EMAIL PROTECTED]>: > Selon Jean-Marc Lasgouttes <[EMAIL PROTECTED]>: > > > Mael Hilléreau <[EMAIL PROTECTED]> writes: > > > > > Strange... Then I have no idea about the reason of this! > > > > > > Intel Mac OS X.4.10 > > > QT 4.3 > > > > > > I found that the cursor is slight

Re: [PATCH 4111] load .tex child document in relative path crashes lyx.

2007-08-07 Thread Richard Heck
Bo Peng wrote: The patch looks obvious. Did you test it? If so, I need another OK to proceed. It seems to work here, yes. rh -- == Richard G Heck, Jr Professor of Philosophy Brown University http://frege.brown.edu/heck/ =

Re: LyX 1.5.1 doesn't open a document set prepared with an oldest version

2007-08-07 Thread Richard Heck
Rosati Claudio wrote: HI, I'm working on a mac, and I have a document set (actually made of a main document - Manuale_di_Fonia.lyx - and 5 chapter files) made with an older LyX version, and that the 1.5.1 is unable to open (just the chapter n. 2, the one actually containing something interes

LyX 1.5.1 doesn't open a document set prepared with an oldest version

2007-08-07 Thread Rosati Claudio
HI, I'm working on a mac, and I have a document set (actually made of a main document - Manuale_di_Fonia.lyx - and 5 chapter files) made with an older LyX version, and that the 1.5.1 is unable to open (just the chapter n. 2, the one actually containing something interesting). The error mes

Re: [the "translation" patch series] Part 2: fixing document label translations on the mac

2007-08-07 Thread Mael Hilléreau
Selon Enrico Forestieri <[EMAIL PROTECTED]>: > > ?? I see that "Chapter" is translated (to english) as your document's > language > > is french. In addition, if you get the same result as me, there's no pb > since it > > is what we get into the output, no? > > No, the document language is French,

Re: [the "translation" patch series] Part 2: fixing document label translations on the mac

2007-08-07 Thread Enrico Forestieri
On Tue, Aug 07, 2007 at 04:46:39PM +0200, Mael Hilléreau wrote: > Selon Enrico Forestieri <[EMAIL PROTECTED]>: > > > > I have no Part, just a chapter (see attached). Perhaps you didn't send the > > right > > > file? > > > > I sent the right file and you get the same result I get (underlining of t

Re: [the "translation" patch series] Part 2: fixing document label translations on the mac

2007-08-07 Thread Mael Hilléreau
Selon Jean-Marc Lasgouttes <[EMAIL PROTECTED]>: > Mael Hilléreau <[EMAIL PROTECTED]> writes: > > > Strange... Then I have no idea about the reason of this! > > > > Intel Mac OS X.4.10 > > QT 4.3 > > > > I found that the cursor is slightly different in foreign portions (see > > attached). > > Did y

Re: [the "translation" patch series] Part 2: fixing document label translations on the mac

2007-08-07 Thread Mael Hilléreau
Selon Enrico Forestieri <[EMAIL PROTECTED]>: > > I have no Part, just a chapter (see attached). Perhaps you didn't send the > right > > file? > > I sent the right file and you get the same result I get (underlining of the > foreign language apart), ie. untranslated Chapter (you should see Chapitre

Re: LyX configure problem on Mac

2007-08-07 Thread Enrico Forestieri
On Tue, Aug 07, 2007 at 04:29:11PM +0200, Jean-Marc Lasgouttes wrote: > Enrico Forestieri <[EMAIL PROTECTED]> writes: > > > If you use this URL: > > > > http://www.debian.org/distrib/packages > > And I can get all distribution there. > http://packages.debian.org/cgi-bin/search_packages.pl?keywo

  1   2   >