Re: LFUN Docs and LFUN Order

2008-01-07 Thread christian . ridderstrom
On Mon, 7 Jan 2008, rgheck wrote: Yes, that was the idea: that when we auto-generate the doxygen stuff, we'll get a nicely organized output. I'm no expert with doxygen, so I'll let you and Pavel figure out if this is workable. I'm no expert either, but I don't mind learning to use doxygen -

Re: LFUN Docs and LFUN Order

2008-01-07 Thread christian . ridderstrom
On Mon, 7 Jan 2008, Pavel Sanda wrote: If so, couldn't that be done in some other way? What if we just add for instance a documentation section describing 'word-right', 'word-left', 'word-...' and then for the definition of 'word-right' etc , we refer to that section. i dont follow you exac

Navigate back

2008-01-07 Thread sebastian guttenberg
Hi all There is this great feature since 1.5 that one can save bookmarks. Unfortunately there is still no "navigate back" feature (or is there?). I guess that this would be relatively easy to realize, using the bookmark feature. I would suggest to automatically save a bookmark "last position", when

Re: [Cvslog] r22422 - /lyx-devel/trunk/src/lfuns.h

2008-01-07 Thread Abdelrazak Younes
Pavel Sanda wrote: Do we really want to use doxygen on the file, or is he plan to write some script that creates a wiki page or lyx document from this data? i already use it. my intetion was to take the output html page and then transform it little by some script. Sounds cool! but its possi

Re: [Cvslog] r22417 - /lyx-devel/branches/BRANCH_1_5_X/lib/ui/stdmenus...

2008-01-07 Thread Enrico Forestieri
On Tue, Jan 08, 2008 at 12:00:57AM +0100, Jean-Marc Lasgouttes wrote: > Enrico Forestieri <[EMAIL PROTECTED]> writes: > > >> This looks more like the global pref Uwe wants to introduce, isn't it? > >> > >> I am open to better ideas. > > > > I don't follow you here. I am only suggesting > > > > s/

Re: Showing a pin to the top-left corner of embedded figures.

2008-01-07 Thread Bo Peng
> Ah, embedded in the sense of "embedded to the bundle". Yes. > I misunderstood and > thought you wanted to mark "inline" figures. We should actually formalize our use of 'bundle/unbundle', 'embed/extract', 'pack/unpack' for this embedding feature. Bo

Re: Showing a pin to the top-left corner of embedded figures.

2008-01-07 Thread Jürgen Spitzmüller
Bo Peng wrote: > Because I need a method to tell which insets are embedded, and which > are not, so that I can adjust embedding status quickly. For > InsetInclude, I add "(embedded)" to button label. For graphics, this > is the best method I can think of. Ah, embedded in the sense of "embedded to

Re: Showing a pin to the top-left corner of embedded figures.

2008-01-07 Thread Bo Peng
On Jan 8, 2008 12:40 AM, Jürgen Spitzmüller <[EMAIL PROTECTED]> wrote: > Bo Peng wrote: > > The attached patch adds a 'pin' icon to the left top corner of > > embedded figures (see attached test-pin.png). > > Why? Because I need a method to tell which insets are embedded, and which are not, so tha

Re: [Cvslog] r22425 - in /lyx-devel/trunk/lib/layouts: endnotes.module...

2008-01-07 Thread Jürgen Spitzmüller
Am Dienstag, 8. Januar 2008 schrieb [EMAIL PROTECTED]: > It turns out we do need this optional argument, because configure.py needs > to be able to tell what packages a given module requires. While I agree this is correct for endnotes, I think this is wrong for the linguistics module. Not the mod

Re: [PATCH] Extra Requires Hack

2008-01-07 Thread Jürgen Spitzmüller
Richard Heck wrote: > Ick. OK, then, we can do that. I'm still not sure this is enough. I recall having seen (and even introduced) uses of requires where the output is done at a completely different place. The require("CJK") call in LaTeXFeatures::useLanguage is such a case. This still would fa

Re: Showing a pin to the top-left corner of embedded figures.

2008-01-07 Thread Jürgen Spitzmüller
Bo Peng wrote: > The attached patch adds a 'pin' icon to the left top corner of > embedded figures (see attached test-pin.png). Why? Jürgen

Re: KDE-apps and LyX

2008-01-07 Thread Jürgen Spitzmüller
Uwe Stöhr wrote: > Since this weekends' server down of kde.org, trolltech.com, and lyx.org, > LyX is no longer listed in kdeapps: > http://www.kde-apps.org/content/show.php/LyX > > Jürgen, could you contact the kde-apps team as you registered LyX there? I see it: http://www.kde-apps.org/content/sh

Re: [Cvslog] r22420 - /lyx-devel/trunk/lib/layouts/chess.layout

2008-01-07 Thread Jürgen Spitzmüller
Jean-Marc Lasgouttes wrote: > Looks like the chess layout should be changed to a module (if there is > a reason to use this instead of an external inset). Makes sense. But this would be a file format change, or how would we convert existing chess documents? Jürgen

Re: changeset/22414

2008-01-07 Thread Jürgen Spitzmüller
Uwe Stöhr wrote: > The layout file format has been increased by this. Do we need to add a > conversion routine to layout2layout? No. We'd need a reversion routine only, but AFAICS layout2layout does not revert anything. Jürgen

Re: character counter

2008-01-07 Thread Martin Vermeer
On Tue, Jan 08, 2008 at 12:46:18AM +0100, Andre Poenitz wrote: > On Mon, Jan 07, 2008 at 11:08:11PM +0100, Pavel Sanda wrote: > > > > Is there any chance a character counter could be implemented into Lyx? > > > > It > > > > would be of great help when writing university papers > > > > > > > such c

Re: Showing a pin to the top-left corner of embedded figures.

2008-01-07 Thread Bo Peng
On Jan 7, 2008 1:02 PM, Bo Peng <[EMAIL PROTECTED]> wrote: > The attached new pin.png has transparent background. With the attached updated patch, the icon is updated with embedding status changes. I will apply the patch tomorrow if there is no objection. Bo Index: development/scons/scons_manife

Re: character counter

2008-01-07 Thread Andre Poenitz
On Mon, Jan 07, 2008 at 11:08:11PM +0100, Pavel Sanda wrote: > > > Is there any chance a character counter could be implemented into Lyx? It > > > would be of great help when writing university papers > > > > > such counter is quite simple. do we want it ? > > > > Absolutely! It was reported that t

Module Declaration Syntax

2008-01-07 Thread rgheck
I'm about to add some more functionality to the modules stuff, namely, an ability for a module to "require" another module, or to "exclude" one. For example, the Theorems and Theorems (AMS) modules should not be used together. The question is how to represent this information in the module fi

Re: [Cvslog] r22417 - /lyx-devel/branches/BRANCH_1_5_X/lib/ui/stdmenus...

2008-01-07 Thread Jean-Marc Lasgouttes
Enrico Forestieri <[EMAIL PROTECTED]> writes: >> This looks more like the global pref Uwe wants to introduce, isn't it? >> >> I am open to better ideas. > > I don't follow you here. I am only suggesting > > s/Number whole Formula/Activate Numbering/ > > as that is what will be done when the menu

Re: [Cvslog] r22417 - /lyx-devel/branches/BRANCH_1_5_X/lib/ui/stdmenus...

2008-01-07 Thread Enrico Forestieri
On Mon, Jan 07, 2008 at 11:17:49PM +0100, Jean-Marc Lasgouttes wrote: > Enrico Forestieri <[EMAIL PROTECTED]> writes: > > > I find "Number whole Formula" to be quite misleading. > > What about "Activate Numbering" instead? > > This looks more like the global pref Uwe wants to introduce, isn't it?

Re: [Cvslog] r22422 - /lyx-devel/trunk/src/lfuns.h

2008-01-07 Thread Pavel Sanda
> Do we really want to use doxygen on the file, or is he plan to write > some script that creates a wiki page or lyx document from this data? i already use it. my intetion was to take the output html page and then transform it little by some script. but its possible to forget all about doxygen, pu

Re: [Cvslog] r22417 - /lyx-devel/branches/BRANCH_1_5_X/lib/ui/stdmenus...

2008-01-07 Thread Jean-Marc Lasgouttes
Enrico Forestieri <[EMAIL PROTECTED]> writes: > I find "Number whole Formula" to be quite misleading. > What about "Activate Numbering" instead? This looks more like the global pref Uwe wants to introduce, isn't it? I am open to better ideas. JMarc

Re: [Cvslog] r22417 - /lyx-devel/branches/BRANCH_1_5_X/lib/ui/stdmenus...

2008-01-07 Thread Jean-Marc Lasgouttes
Martin Vermeer <[EMAIL PROTECTED]> writes: > This is not renaming, it's re-titling :-) I thought briefly about an alternative to rename, and failed. But I am not sure I prefer re-title. Rephrase? JMarc

Re: [Cvslog] r22422 - /lyx-devel/trunk/src/lfuns.h

2008-01-07 Thread Jean-Marc Lasgouttes
Pavel Sanda <[EMAIL PROTECTED]> writes: >> Can't we just put the comments in the C++ file? > > if you show me how :) > in other words i was not successful to generate doxygen output > when putting the doxy entries in LyXAction.cpp. but i put just > minimal effort to explore that possibility. Do w

Re: [Cvslog] r22420 - /lyx-devel/trunk/lib/layouts/chess.layout

2008-01-07 Thread Jean-Marc Lasgouttes
[EMAIL PROTECTED] writes: > Author: spitz > Date: Mon Jan 7 19:15:49 2008 > New Revision: 22420 > > URL: http://www.lyx.org/trac/changeset/22420 > Log: > * lib/layouts/chess.layout: > - require chess (instead of manually loading in the preamble). Looks like the chess layout should be chang

Re: LFUN Docs and LFUN Order

2008-01-07 Thread Pavel Sanda
> If so, couldn't that be done in some other way? What if we just add for > instance a documentation section describing 'word-right', 'word-left', > 'word-...' and then for the definition of 'word-right' etc , we refer to > that section. i dont follow you exactly. can you show a code example o

Re: character counter

2008-01-07 Thread Pavel Sanda
> > Is there any chance a character counter could be implemented into Lyx? It > > would be of great help when writing university papers > > > such counter is quite simple. do we want it ? > > Absolutely! It was reported that this is a killer feature in some fields: this will be only informative c

KDE-apps and LyX

2008-01-07 Thread Uwe Stöhr
Since this weekends' server down of kde.org, trolltech.com, and lyx.org, LyX is no longer listed in kdeapps: http://www.kde-apps.org/content/show.php/LyX Jürgen, could you contact the kde-apps team as you registered LyX there? regards Uwe

Re: [Cvslog] r22417 - /lyx-devel/branches/BRANCH_1_5_X/lib/ui/stdmenus...

2008-01-07 Thread Enrico Forestieri
On Mon, Jan 07, 2008 at 11:26:36PM +0200, Martin Vermeer wrote: > On Mon, Jan 07, 2008 at 05:22:12PM +, [EMAIL PROTECTED] wrote: > > Author: lasgouttes > > Date: Mon Jan 7 18:22:11 2008 > > New Revision: 22417 > > > > URL: http://www.lyx.org/trac/changeset/22417 > > Log: > > rename menu entri

Any lessons to be learned from WriteRoom?

2008-01-07 Thread christian . ridderstrom
The article in NY Times spawned a discussion on ./, see this link http://slashdot.org/article.pl?sid=08/01/06/1731247&from=rss One interesting post of possible interest to use was the following about 'WriteRoom': I'm Jesse Grosjean, the guy who wrote WriteRoom h

Re: character counter

2008-01-07 Thread Uwe Stöhr
> Is there any chance a character counter could be implemented into Lyx? It > would be of great help when writing university papers > such counter is quite simple. do we want it ? Absolutely! It was reported that this is a killer feature in some fields: In Germany expertises are sold by the amo

changeset/22418

2008-01-07 Thread Uwe Stöhr
Why have you changes the menu entry? Alt-m n that is bound to this menu really toggles the numbering: When the formula is numbered, it will we unnumbered. So now the menu entry is not correct. That this menu toggles the numbering is btw. correct and shouldn't be changed. regards Uwe

Re: character counter

2008-01-07 Thread rgheck
McFisto McFist wrote: On Jan 7, 2008 8:50 PM, Richard Heck <[EMAIL PROTECTED] > wrote: McFisto McFist wrote: > Hello, hopefully this is the right place for this. > > Is there any chance a character counter could be implemented into Lyx? It >

changeset/22414

2008-01-07 Thread Uwe Stöhr
The layout file format has been increased by this. Do we need to add a conversion routine to layout2layout? regards Uwe

Re: LFUN Docs and LFUN Order

2008-01-07 Thread rgheck
[EMAIL PROTECTED] wrote: On Mon, 7 Jan 2008, Richard Heck wrote: The code numbers in lfuns.h will be a pain if we're trying to keep the list organized. What was the reason for re-arranging the LFUNs? Better/nicer documentation? If so, couldn't that be done in some other way? What if we ju

Re: [Cvslog] r22417 - /lyx-devel/branches/BRANCH_1_5_X/lib/ui/stdmenus...

2008-01-07 Thread Martin Vermeer
On Mon, Jan 07, 2008 at 05:22:12PM +, [EMAIL PROTECTED] wrote: > Author: lasgouttes > Date: Mon Jan 7 18:22:11 2008 > New Revision: 22417 > > URL: http://www.lyx.org/trac/changeset/22417 > Log: > rename menu entries for numbering formulas ... > Menu "edit_math" > - Item "T

Re: character counter

2008-01-07 Thread Abdelrazak Younes
Pavel Sanda wrote: Is there any chance a character counter could be implemented into Lyx? It would be of great help when writing university papers such counter is quite simple. do we want it ? Why not? You'll have to modify the relevant dialog accordingly. Abdel.

Re: LFUN Docs and LFUN Order

2008-01-07 Thread christian . ridderstrom
On Mon, 7 Jan 2008, Richard Heck wrote: The code numbers in lfuns.h will be a pain if we're trying to keep the list organized. What was the reason for re-arranging the LFUNs? Better/nicer documentation? If so, couldn't that be done in some other way? What if we just add for instance a doc

Re: character counter

2008-01-07 Thread Pavel Sanda
> Is there any chance a character counter could be implemented into Lyx? It > would be of great help when writing university papers such counter is quite simple. do we want it ? pavel diff --git a/src/BufferView.cpp b/src/BufferView.cpp index 19e16da..bfd87fb 100644 --- a/src/BufferView.cpp +++ b/

Re: [Cvslog] r22422 - /lyx-devel/trunk/src/lfuns.h

2008-01-07 Thread Pavel Sanda
> Can't we just put the comments in the C++ file? if you show me how :) in other words i was not successful to generate doxygen output when putting the doxy entries in LyXAction.cpp. but i put just minimal effort to explore that possibility. > This would even let us the keep the 'historical' lfun

Re: [Cvslog] r22422 - /lyx-devel/trunk/src/lfuns.h

2008-01-07 Thread Andre Poenitz
On Mon, Jan 07, 2008 at 06:54:25PM -, [EMAIL PROTECTED] wrote: > Author: sanda > Date: Mon Jan 7 19:54:23 2008 > New Revision: 22422 > > URL: http://www.lyx.org/trac/changeset/22422 > Log: > Add lfuns doxy. > > Modified: > lyx-devel/trunk/src/lfuns.h > > Modified: lyx-devel/trunk/src/lf

Re: character counter

2008-01-07 Thread Richard Heck
McFisto McFist wrote: Hello, hopefully this is the right place for this. Is there any chance a character counter could be implemented into Lyx? It would be of great help when writing university papers There is a word counter. Your teachers count characters? rh

Re: [PATCH] Extra Requires Hack

2008-01-07 Thread Richard Heck
Jürgen Spitzmüller wrote: Richard Heck wrote: This is a hack, and I haven't tested it, or even compiled it, since I can't compile here at the moment. Just an idea in lieu of more sophisticated packaging stuff. Note that we are also requiering macros, such as "LyX", "noun" or "ct-xcolo

Re: [PATCH] Extra Requires Hack

2008-01-07 Thread Jürgen Spitzmüller
Richard Heck wrote: > This is a hack, and I haven't tested it, or even compiled it, since I > can't compile here at the moment. Just an idea in lieu of more > sophisticated packaging stuff. Note that we are also requiering macros, such as "LyX", "noun" or "ct-xcolor-soul". All these would need to

Re: [patch] Re: xdg-open

2008-01-07 Thread Richard Heck
Jürgen Spitzmüller wrote: Pavel Sanda wrote: Juergen you are the 1.5 chief, what you think ? Actually, I'm not sure how to proceed here. What do others think? If it's causing problems, let's just roll it back until we have something that actually works. We've had a good discussion

Re: LFUN Docs and LFUN Order

2008-01-07 Thread Richard Heck
Andre Poenitz wrote: On Mon, Jan 07, 2008 at 09:31:58AM +0100, Abdelrazak Younes wrote: Jürgen Spitzmüller wrote: Pavel Sanda wrote: i also wonder whats the meaning of number-counting of the lfuns. does anybody use it or can it be deleted too ? I use it. It's very help

Re: [patch] Re: xdg-open

2008-01-07 Thread Jürgen Spitzmüller
Pavel Sanda wrote: > Juergen you are the 1.5 chief, what you think ? Actually, I'm not sure how to proceed here. What do others think? Jürgen

Re: [Cvslog] r22421 - /lyx-devel/trunk/lib/layouts/amsart-plain.layout

2008-01-07 Thread Jürgen Spitzmüller
Richard Heck wrote: > I'm guessing it's because amsdefs.inc Provides amsmath, and then you have: > bool LaTeXFeatures::mustProvide(string const & name) const > { > return isRequired(name) && !params_.getTextClass().provides(name); > } > So the require is ignored. Yes, this makes sense. And then, i

[PATCH] Extra Requires Hack

2008-01-07 Thread Richard Heck
This is a hack, and I haven't tested it, or even compiled it, since I can't compile here at the moment. Just an idea in lieu of more sophisticated packaging stuff. rh Index: LaTeXFeatures.cpp === --- LaTeXFeatures.cpp (revision

Re: Showing a pin to the top-left corner of embedded figures.

2008-01-07 Thread Bo Peng
The attached new pin.png has transparent background. Bo <><>

Re: LFUN Docs and LFUN Order

2008-01-07 Thread Andre Poenitz
On Mon, Jan 07, 2008 at 09:31:58AM +0100, Abdelrazak Younes wrote: > Jürgen Spitzmüller wrote: >> Pavel Sanda wrote: >>> i also wonder whats the meaning of number-counting of the lfuns. >>> does anybody use it or can it be deleted too ? >> I use it. It's very helpful for debugging. > > Are you sure

Showing a pin to the top-left corner of embedded figures.

2008-01-07 Thread Bo Peng
Dear all, The attached patch adds a 'pin' icon to the left top corner of embedded figures (see attached test-pin.png). Because I am not familiar with lyx graphics, I need an OK to proceed. To test, please apply pin.diff, and add pin.png to lib/images. Note that the icon is not updated correctly r

Re: [Cvslog] r22421 - /lyx-devel/trunk/lib/layouts/amsart-plain.layout

2008-01-07 Thread Richard Heck
[EMAIL PROTECTED] wrote: Author: spitz Date: Mon Jan 7 19:31:05 2008 New Revision: 22421 URL: http://www.lyx.org/trac/changeset/22421 Log: Requires amsmath does not work. No idea why. I'm guessing it's because amsdefs.inc Provides amsmath, and then you have: bool LaTeXFeatures::mustProvide

Re: Quote mark added when switching windows

2008-01-07 Thread Bennett Helm
On Jan 7, 2008, at 1:33 PM, Konrad Hofbauer wrote: Bennett Helm wrote: Any other possibility for a (temporary) workaround until it gets fixed in Qt??? Two possibilities, but you're not going to like them: 1. Use the mouse to switch windows. 2. Use only a single window (with and to switch

Re: Quote mark added when switching windows

2008-01-07 Thread Konrad Hofbauer
Bennett Helm wrote: Any other possibility for a (temporary) workaround until it gets fixed in Qt??? Two possibilities, but you're not going to like them: 1. Use the mouse to switch windows. 2. Use only a single window (with and to switch between tabs). I don't know of any keyboard-based

Re: Quote mark added when switching windows

2008-01-07 Thread Bennett Helm
On Jan 7, 2008, at 12:11 PM, Konrad Hofbauer wrote: Dear all, That the quote-mark gets sent through when switching windows is quite a big issue for me. I use this key-combination all the time in all applications, and because of this I had more than once an (undiscovered) quote-sign in a p

Re: [patch] Re: bug in linguistics module or modules in general

2008-01-07 Thread Richard Heck
The idea is that there can be incompatible modules: The Theorems and Theorems (AMS) modules are an example. And there may be modules that require other ones. So this will provide a facility for tracking that. I understand. But I don't understand the relation to the optional argument. I'd

[patch] Re: xdg-open

2008-01-07 Thread Pavel Sanda
> >> not regress for everyone. imo. > > > > well now the status is we have regression of 1.5.3 to 1.5.2 for some > > users. > > some = (small) minority, as well as creating a much better user-experience > for the rest. continuing this way we can one day conclude that we should stop support linu

Re: [Cvslog] r22350 - in /lyx-devel/trunk/src/mathed: InsetMathHull.cp...

2008-01-07 Thread Jean-Marc Lasgouttes
Jürgen Spitzmüller <[EMAIL PROTECTED]> writes: > Jean-Marc Lasgouttes wrote: >> Would this patch be OK? > > Looks sensible. Applied (no status.15x entry necessary). JMarc

Re: [Cvslog] r22365 - /lyx-devel/trunk/src/frontends/qt4/Menus.cpp

2008-01-07 Thread Jean-Marc Lasgouttes
Jürgen Spitzmüller <[EMAIL PROTECTED]> writes: > Jean-Marc Lasgouttes wrote: >> Here it is. OK? > > OK. Done. JMarc

Re: Quote mark added when switching windows

2008-01-07 Thread Konrad Hofbauer
Dear all, That the quote-mark gets sent through when switching windows is quite a big issue for me. I use this key-combination all the time in all applications, and because of this I had more than once an (undiscovered) quote-sign in a printed publication. If one has something marked in LyX

Re: [patch] Re: bug in linguistics module or modules in general

2008-01-07 Thread Jürgen Spitzmüller
rgheck wrote: > Right, of course. We should document, then, that Requires only works for > packages known to LyX. I'll do that. > > What we can do, eventually, is to simply add a \usepackage call with all > > remaining "unknown" required packages at the very end. For this, though, > > we need to

Re: [patch] Re: bug in linguistics module or modules in general

2008-01-07 Thread rgheck
Jürgen Spitzmüller wrote: rgheck wrote: I think this is a different issue. If someone wants to Require a package we don't have listed in LaTeXFeatures, then, yes, we can't check for it, and so we ought to ignore it for that purpose. But that's different from saying they can't Require such a p

Re: [patch] Re: bug in linguistics module or modules in general

2008-01-07 Thread Jürgen Spitzmüller
rgheck wrote: > I think this is a different issue. If someone wants to Require a package > we don't have listed in LaTeXFeatures, then, yes, we can't check for it, > and so we ought to ignore it for that purpose. But that's different from > saying they can't Require such a package at all. Actually,

Re: [patch] Re: bug in linguistics module or modules in general

2008-01-07 Thread rgheck
Jürgen Spitzmüller wrote: rgheck wrote: Yes, it would. OK. I'll do this before I commit anything. Something like this will work. Just a couple thoughts. First, I don't think we want to tie this too tightly to LaTeXFeatures, so that we have to hardcode what packages can be Require

Re: 1.6svn: pasting lyxtext containing branches should create the branches that doesn't exist already

2008-01-07 Thread Martin Vermeer
On Mon, 07 Jan 2008 12:15:03 +0100 Helge Hafting <[EMAIL PROTECTED]> wrote: > Open two documents, one with branches. > Copy the contents with branches into the other document. > Notice that the branch-boxes are created, but > document->settings shows no branches at all. > > This at least causes t

Re: [patch] Re: bug in linguistics module or modules in general

2008-01-07 Thread Jürgen Spitzmüller
rgheck wrote: > Yes, it would. OK. I'll do this before I commit anything. > Something like this will work. Just a couple thoughts. > > First, I don't think we want to tie this too tightly to LaTeXFeatures, > so that we have to hardcode what packages can be Required. This will > make maintenance d

Re: [patch] add shortcut for numbered formulas

2008-01-07 Thread Jean-Marc Lasgouttes
Uwe Stöhr <[EMAIL PROTECTED]> writes: > But when we have a default setting, we can also have a toggle button > in the toolbar. It is more useful to be able to toggly numbering in > the toolbar, because there are cases where e.g. in derivations 10 > consecutive formulas are numbered and the next 10

Re: [patch] Re: bug in linguistics module or modules in general

2008-01-07 Thread rgheck
Jürgen Spitzmüller wrote: Jürgen Spitzmüller wrote: A "Requires" tag, as a counterpart of the "Provides" tag. patch attached. I guess this needs a layout format increment, right? Yes, it would. Something like this will work. Just a couple thoughts. First, I don't think we want

Re: 1.6svn: "File is modified externally" when it isn't.

2008-01-07 Thread Helge Hafting
Bo Peng wrote: Such a warning is fine when the file _is_ externally modified, but that was not the case. LyX restored its own automatic backup, that is internal stuff. :-) Is this from the latest svn? I recently changed this part for embedding support. It is from a svn checkout last fr

Re: 1.6svn: "File is modified externally" when it isn't.

2008-01-07 Thread Bo Peng
> Such a warning is fine when the file _is_ externally modified, but > that was not the case. LyX restored its own automatic backup, > that is internal stuff. :-) Is this from the latest svn? I recently changed this part for embedding support. Bo

Re: LFUN Docs and LFUN Order

2008-01-07 Thread rgheck
Abdelrazak Younes wrote: Jürgen Spitzmüller wrote: Abdelrazak Younes wrote: For this use case a translation to the LFUN command string would be more suited. Probably. But I see no need to break what we have (the question was if the numbers should be deleted). If we are to put some order i

Re: xdg-open

2008-01-07 Thread RGH
Sven Hoexter wrote: So the only to viable options I see are a) remove the xdg-open calls aa) and maybe replace them with a list of the distro specific tools like mimeopen or run-mailcap (pretty long and ugly list ...) b) try push some changes to xdg-open and hope for a fast adoption rate with

Re: xdg-open

2008-01-07 Thread rgheck
Helge Hafting wrote: rgheck wrote: We've been using xdg-open as the first choice for the Debian packages and subsequently the Ubuntu packages for over a year now and didn't receive such a problem report so I suspect that it makes more sense to fix the broken setup instead of reverting this

[patch] Re: bug in linguistics module or modules in general

2008-01-07 Thread Jürgen Spitzmüller
Jürgen Spitzmüller wrote: > A "Requires" tag, as a counterpart of the "Provides" tag. patch attached. I guess this needs a layout format increment, right? Jürgen Index: src/TextClass.cpp === --- src/TextClass.cpp (Revision 22411) ++

Re: xdg-open

2008-01-07 Thread Rex Dieter
Pavel Sanda wrote: >> not regress for everyone. imo. > > well now the status is we have regression of 1.5.3 to 1.5.2 for some > users. some = (small) minority, as well as creating a much better user-experience for the rest. ok, I'm done (I think I've made my point/opinion as clearly as I can n

Re: xdg-open

2008-01-07 Thread Pavel Sanda
> the minority, and the focus should be to help fix these exceptional cases, this means to put the whole mime stuff into xdg because there is no promise that every distro has the mailcap/mime packages. even if you manage to write such patches it will take some time to push it upstream (i see the P

Re: xdg-open

2008-01-07 Thread Rex Dieter
Pavel Sanda wrote: > >> I don't think that it would help a lot to hack parts of the mime >> detection > > DE detection will solve it, but it would uglify the code and could break > anytime DE change something etc. > >> > So the only to viable options I see are >> > a) remove the xdg-open calls

Re: xdg-open

2008-01-07 Thread Pavel Sanda
> > what i see know is that simple xdg-open runs just in case you use one of > > the three dm or have the luck of having the distro which patches it > > perl-mimeinfo and/or run-mailcap looks like a winner for you then. That's thats not question of winner for me. i can hardcode my lyx preference

Re: xdg-open

2008-01-07 Thread Rex Dieter
Rex Dieter wrote: > fwiw, mimeopen support was added to fedora's xdg-utils, and I had the > intention of pushing that upstream, but never got round-tuit. My bad. FYI, xdg-utils: perl-mimeinfo support https://bugs.freedesktop.org/show_bug.cgi?id=13953 -- Rex

Re: xdg-open

2008-01-07 Thread Pavel Sanda
> I don't think that it would help a lot to hack parts of the mime detection DE detection will solve it, but it would uglify the code and could break anytime DE change something etc. > > So the only to viable options I see are > > a) remove the xdg-open calls agree with this. > > aa) and maybe

Re: xdg-open

2008-01-07 Thread Rex Dieter
Sven Hoexter wrote: > I don't know how long it will take to puch some of the mime stuff > integrated in Debian and Fedora(?) and maybe others upstream. I plan on finishing this by the end of the week. As an aside, while I'm working on this anyway, anyone with any other xdg-utils-related patche

Re: [patch] add shortcut for numbered formulas

2008-01-07 Thread Uwe Stöhr
Jean-Marc Lasgouttes schrieb: No, what exists is the proper toggling of existing formula (as a whole or line by line). This was not what I meant. We could have a pref setting for numbering new formulas by default, but I do not think it should be something on the toolbar (people who really ne

Re: xdg-open

2008-01-07 Thread Rex Dieter
Pavel Sanda wrote: > what i see know is that simple xdg-open runs just in case you use one of > the three dm or have the luck of having the distro which patches it perl-mimeinfo and/or run-mailcap looks like a winner for you then. That's primarily why I'll be working to get these both integrated

Re: xdg-open

2008-01-07 Thread Jürgen Spitzmüller
Sven Hoexter wrote: > So the only to viable options I see are > a) remove the xdg-open calls > aa) and maybe replace them with a list of the distro specific tools like >     mimeopen or run-mailcap (pretty long and ugly list ...) > b) try push some changes to xdg-open and hope for a fast adoption r

Re: xdg-open

2008-01-07 Thread Sven Hoexter
On Mon, Jan 07, 2008 at 10:15:32AM +0100, Pavel Sanda wrote: Hi, > > they should configure it properly. If they don't want to use xdg-open, > > then get rid of xdg-utils and LyX configure will pick the next possible > > viewer... > > you can not rid of xdg-utils simply - they are in dependencie

Re: 1.6svn: pasting lyxtext containing branches should create the branches that doesn't exist already

2008-01-07 Thread Abdelrazak Younes
Helge Hafting wrote: Open two documents, one with branches. Copy the contents with branches into the other document. Notice that the branch-boxes are created, but document->settings shows no branches at all. This at least causes the problem that one cannot turn branches on and off, and possibly

1.6svn: pasting lyxtext containing branches should create the branches that doesn't exist already

2008-01-07 Thread Helge Hafting
Open two documents, one with branches. Copy the contents with branches into the other document. Notice that the branch-boxes are created, but document->settings shows no branches at all. This at least causes the problem that one cannot turn branches on and off, and possibly other internal problem

Re: [patch] add shortcut for numbered formulas

2008-01-07 Thread Jean-Marc Lasgouttes
Uwe Stöhr <[EMAIL PROTECTED]> writes: > Jean-Marc Lasgouttes schrieb: > >> The two actions for numbering now properly toggle and disable as >> needed. If we had an icon, it could be added to the relevant toolbar. > > I can provide an icon, but first want to test it out. What would be the > defini

1.6svn asserts, backtrace:

2008-01-07 Thread Helge Hafting
I had two documents open, and was writing into a paragraph. Then this assert happened. It happens now and then, so I was able to make it happen again and get a trace in gdb: lyx: ../../src/xcb_io.c:182: process_responses: Forutsetningen (assertion) «((int) (((dpy->last_request_read)) - ((dpy->

Re: [patch] add shortcut for numbered formulas

2008-01-07 Thread Uwe Stöhr
Jean-Marc Lasgouttes schrieb: The two actions for numbering now properly toggle and disable as needed. If we had an icon, it could be added to the relevant toolbar. I can provide an icon, but first want to test it out. What would be the definition of the toggle button? When the numbering is t

1.6svn: Can't extend selection by mouse drag - no autoscrolling

2008-01-07 Thread Helge Hafting
I tried to select more than a screenful of text by mouse. It doesn't work very well. Dragging the mouse below the main window will sometimes autoscroll a line or two, but usually no more than getting the last half-line fully displayed. There is usually no autoscroll even though there is plenty of

1.6svn: "File is modified externally" when it isn't.

2008-01-07 Thread Helge Hafting
Lyx crashed with an assert: yx: ../../src/xcb_io.c:182: process_responses: (assertion) «((int) (((dpy->last_request_read)) - ((dpy->request))) <= 0)» failed. So I restarted LyX. LyX told me that the copy was newer than the original, so I choosed the copy. Then I saved, and got the wrong message

Re: Bug 4460, Crash opening LaTeXConfig.lyx

2008-01-07 Thread Jean-Marc Lasgouttes
rgheck <[EMAIL PROTECTED]> writes: > The reported exception is "basic_string::erase". Unfortunately, the > event and receiver variables are optimized out, so I can't tell what > event this was. Do we really have to endure these untraceable exceptions instead of good old SIGSEGV? JMarc

Re: Display problems in LyX-1.6svn

2008-01-07 Thread Abdelrazak Younes
Helge Hafting wrote: I checked out 1.6 on friday, and noticed some problems: Those probably results from my scrolling work. But I won't have time to investigate until next month, sorry about that. But I am sure others can help if they have the time (Stefan, Tomaso and Martin are the one I am

Re: LyX 1.5 Patch Candidate List #14

2008-01-07 Thread Jean-Marc Lasgouttes
Michael Gerz <[EMAIL PROTECTED]> writes: > http://www.lyx.org/trac/changeset/22147 - lasgouttes - fix > out-of-vector addressing when typesetting UserGuide. Not relevant for 1.5. JMarc

Re: bug in linguistics module or modules in general

2008-01-07 Thread Jean-Marc Lasgouttes
RGH <[EMAIL PROTECTED]> writes: > As spitz says: We need a Requires tag. Yes. Note however that using a DependsOn tag would be a workaround. JMarc

Re: Display problems in LyX-1.6svn

2008-01-07 Thread Stefan Schimanski
* painting errors I saw this a couple of times, but can't reproduce reliably: while typing into the middle of a paragraph, the new text is painted on top of the old, i.e. the old is not erased first. So the line gets very black after typing a word or two (this changes the interword spacing on the

Display problems in LyX-1.6svn

2008-01-07 Thread Helge Hafting
I checked out 1.6 on friday, and noticed some problems: * Invisible document Brought up two documents with "lyx doc1.lyx doc2.lyx" doc1.lyx seemed normal, but doc2.lyx came up with an empty main window! The scrollbar was present though. I scrolled through half the document, and suddenly the docu

Re: [patch] add shortcut for numbered formulas

2008-01-07 Thread Jean-Marc Lasgouttes
Uwe Stöhr <[EMAIL PROTECTED]> writes: >> I would find a toggle numbering button on the toolbar more useful > > Me too. I tried to implement this, but failed. I don't get it to work > that when the toggle numbering button is activated, the LFUN > "math_display" also turns on numbering. Do you have

  1   2   >