Re: [PATCH] Add Framed and Shaded to Notes Menu

2007-06-07 Thread Martin Vermeer
On Wed, 06 Jun 2007 22:05:38 +0100 José Matos [EMAIL PROTECTED] wrote: On Wednesday 06 June 2007 21:26:22 Richard Heck wrote: I thought I'd alphabetize the ones after LyX Note. It doesn't much matter, though. Feel free to commit whichever one you like. +1 Please, could one of you

Re: [PATCH] Bug 3823 -- bad color output for LyXNotes

2007-06-07 Thread Herbert Voss
Enrico Forestieri wrote: Both forms are equivalent, indeed \bgroup and \egroup are defined as \let\bgroup={ \let\egroup=} by TeX. The macro forms are useful because you can include them in a definition without worrying about how they nest. I mean that you can do something like:

Re: [PATCH] 3810 --add check for evince

2007-06-07 Thread José Matos
On Thursday 07 June 2007 03:50:30 Bo Peng wrote: I had the same experience! My beamer slide suddenly does not display in full screen and is cramped to a corner. It took me quite a while to realize that kpdf is called instead of acroread. kpdf has a full screen presentational mode, I do all

Re: Spaces on RTL boundaries

2007-06-07 Thread Ran Rutenberg
Hi, I tried to write a bidi file using the four patches and I didn't see a big difference in writing with the patches and without them. One small problem I did find is that when writing a word in a RTL language (the document should be a RTL document) then switching to a LTR language and writing a

Re: [patch] KeyMap bug (again)

2007-06-07 Thread Jean-Marc Lasgouttes
Dov == Dov Feldstern [EMAIL PROTECTED] writes: Dov I imagine it should, too. Is the keymap really actually used for Dov the accents? How does one insert an accent? Perhaps the accent Dov lfuns should actually call (dispatch?) the SELF_INSERT lfun, Dov instead of inserting the accent character

Re: Change tracking and replace: unexpected behavior

2007-06-07 Thread Michael Gerz
Jürgen Spitzmüller schrieb: Jean-Marc Lasgouttes wrote: I think we should restrict manual replace too (if possible). It should not be allowed to do with replace something that would not be possible via normal editing. Probably. Although OpenOffice allows this (and so does Word).

Re: [PATCH] 3810 --add check for evince

2007-06-07 Thread Jean-Marc Lasgouttes
Darren == Darren Freeman [EMAIL PROTECTED] writes: Darren That particular one would be free-software vs proprietary. But Darren how many people would have just a proprietary viewer I Darren wonder.. Acroread basically won't be used any more. Of course we could assume that, if people actually

Re: [PATCH] over-write=overwrite

2007-06-07 Thread Jean-Marc Lasgouttes
José == José Matos [EMAIL PROTECTED] writes: José On Wednesday 06 June 2007 15:01:57 Jean-Marc Lasgouttes wrote: Jose'? JMarc José OK. Applied.

Re: [PATCH] Add Framed and Shaded to Notes Menu

2007-06-07 Thread Jean-Marc Lasgouttes
Martin == Martin Vermeer [EMAIL PROTECTED] writes: Martin On Wed, 06 Jun 2007 22:05:38 +0100 Martin José Matos [EMAIL PROTECTED] wrote: On Wednesday 06 June 2007 21:26:22 Richard Heck wrote: I thought I'd alphabetize the ones after LyX Note. It doesn't much matter, though. Feel free to

Re: [PATCH] 3782 Crash with selection of table cells

2007-06-07 Thread Jean-Marc Lasgouttes
Bo == Bo Peng [EMAIL PROTECTED] writes: Bo Finally, a patch that fixes a critical bug (as opposed to fixing Bo WONTFIX). :-) Description: Bo Create a 2 by 1 table with several characters in the lower cell, Bo select both cells and S-Right when the cursor is in the upper Bo cell. This crashes

Re: Bug 3804: Questions

2007-06-07 Thread Jean-Marc Lasgouttes
Richard == Richard Heck [EMAIL PROTECTED] writes: Richard Fixing this is trivial, in a way: I can just change the Richard button policy in frontends/qt4/Dialogs.cpp. However, this Richard causes a problem elsewhere: If you leave the dialog open and Richard move the cursor, you still can't apply.

Re: [patch] bug 3407: Undo in mathmode

2007-06-07 Thread Jean-Marc Lasgouttes
Bernhard == Bernhard Roider [EMAIL PROTECTED] writes: Bernhard As i posted in bugzilla there is no crash anymore in current Bernhard svn. One remaining issue is that undo does not work as it Bernhard should. The attached patch addresses this, but it surely Bernhard affects other parts of the

Re: WANTED: users of Right-To-Left languages who want proper support in LyX 1.5

2007-06-07 Thread Stefan Schimanski
Thank you for your feedback. אבג space F!2abcspaceF12 דהו I get אבג [ abc]דהו Yes, that is what I would expect from the current implementation ( only the space should be eliminated. Will check that. when I move back (to the space) with the cursor the extra space is eliminated (I've

Re: [PATCH] 3782 Crash with selection of table cells

2007-06-07 Thread Alfredo Braunstein
Jean-Marc Lasgouttes wrote: Bo Finally, a patch that fixes a critical bug (as opposed to fixing Bo WONTFIX). :-) Description: Bo Create a 2 by 1 table with several characters in the lower cell, Bo select both cells and S-Right when the cursor is in the upper Bo cell. This crashes lyx. I

Re: Spaces on RTL boundaries

2007-06-07 Thread Stefan Schimanski
Stefan, I like it! :) I haven't gone over the code at all yet, I hope to be able to do that over the weekend, maybe. But in terms of the behavior --- I like it a lot. And it solves all of the related crashes that I know of. And I think that it's the right approach in terms of not using any

Re: [patch] bug 3407: Undo in mathmode

2007-06-07 Thread Alfredo Braunstein
Jean-Marc Lasgouttes wrote: The documentation of granAndEraseSelection states: /// Erase the selection and return it as a string. /// Does not handle undo. Does only work if the whole selection is in mathed. Should have Mathed in the name then no? A/

Re: Spaces on RTL boundaries

2007-06-07 Thread Stefan Schimanski
Ran Rutenberg wrote: Hi, I tried to write a bidi file using the four patches and I didn't see a big difference in writing with the patches and without them. One small problem I did find is that when writing a word in a RTL language (the document should be a RTL document) then switching to a LTR

Re: [patch] layout file for the IOP article class

2007-06-07 Thread Uwe Stöhr
So what about this now? Can I commit it or do you have other remarks? regards Uwe

Re: [PATCH] Add \varrho and its icon to toolbar

2007-06-07 Thread Uwe Stöhr
I made a patch to add this one. Please see attached. OK for me. Could somebody else please apply it when it is OK for you too. regards Uwe

RE: [PATCH] Add \varrho and its icon to toolbar

2007-06-07 Thread Leuven, E.
Uwe wrote: OK for me. Could somebody else please apply it when it is OK for you too. done: http://www.lyx.org/trac/changeset/18697

Remembering settings in PS/PDF viewer

2007-06-07 Thread Darren Freeman
Hi all, Is there any way to remember the settings last used in the PS/PDF viewers? I keep changing the zoom to 150% each time I generate output. I would also love it if I could get to the same page number I was last looking at. I'm using kghostview and kpdf. Maybe keep the one viewer open,

Re: Spaces on RTL boundaries

2007-06-07 Thread Stefan Schimanski
Hi! I cleaned up the patches a bit more. * Finally removed Text::bidi (its global status was not necessary anymore after the no_bidi_isboundary patch), see local_bidi.patch * Fixed the behavior if RTL is disabled in the preference dialog * Fixed the EPM. Try out the ABC[ DEF] ghi example

Re: [patch] bug 3407: Undo in mathmode

2007-06-07 Thread Jean-Marc Lasgouttes
Alfredo == Alfredo Braunstein [EMAIL PROTECTED] writes: Alfredo Jean-Marc Lasgouttes wrote: The documentation of granAndEraseSelection states: /// Erase the selection and return it as a string. /// Does not handle undo. Does only work if the whole selection is in mathed. Alfredo Should

Re: [PATCH] 3810 --add check for evince

2007-06-07 Thread Richard Heck
Darren Freeman wrote: On Wed, 2007-06-06 at 21:50 -0500, Bo Peng wrote: I was sitting there, in bewilderment, because my overview of all the pages on the left was missing! I tried, oh how I tried. Couldn't be anything I did since five minutes ago, could it? Hmm. Wasn't using evince before!

Re: [PATCH] 3810 --add check for evince

2007-06-07 Thread Richard Heck
Jean-Marc Lasgouttes wrote: Darren That particular one would be free-software vs proprietary. But Darren how many people would have just a proprietary viewer I Darren wonder.. Acroread basically won't be used any more. Of course we could assume that, if people actually installed acroread, it

Re: Bugzilla Bookmarklet

2007-06-07 Thread Richard Heck
[EMAIL PROTECTED] wrote: On Tue, 5 Jun 2007, Richard Heck wrote: In Opera, you can e.g. google from the URI address bar. All you have to do is enter a URI such as g LyX software and you will go and do a google search. Apparently, this is also possible in Firefox, using the keywords

Re: Remembering settings in PS/PDF viewer

2007-06-07 Thread Richard Heck
Darren Freeman wrote: Hi all, Is there any way to remember the settings last used in the PS/PDF viewers? I keep changing the zoom to 150% each time I generate output. I would also love it if I could get to the same page number I was last looking at. I'm using kghostview and kpdf. kpdf

Re: [PATCH] Part of Bug 3719 -- TOC out of sync

2007-06-07 Thread Richard Heck
Bo Peng wrote: The way to solve this might be to put some appropriate code into InsetCaption::notifyCursorLeaves(). I do not think it is a good idea to update Toc during editing, because simple add/remove of sections, change of environment will break Toc, so it is close to impossible to

[PATCH-again] Bug 3821: Odd middle-click behavior

2007-06-07 Thread Richard Heck
Comments? OK? The issue here is that middle-click of external material pastes where the cursor WAS, not where one clicks. This works, but I don't know if it's best. I can't seem to figure out where the cursor position is set in the other branch: You don't get this behavior with pastes of

Re: [PATCH] 3810 --add check for evince

2007-06-07 Thread Darren Freeman
On Thu, 2007-06-07 at 09:48 -0400, Richard Heck wrote: Darren Freeman wrote: Acroread basically won't be used any more. As well it shouldn't. ;-) Although since Adobe created the PS/PDF standards, you could say acroread is the reference implementation :) Adobe should really be sponsoring a

Re: Bugzilla Bookmarklet

2007-06-07 Thread José Matos
On Thursday 07 June 2007 14:50:28 Richard Heck wrote: Apparently, this is also possible in Firefox, using the keywords field of the bookmark entry. Who knew? Richard konqueror has general support for this as well. gg: LyX software -- José Abílio

Re: [PATCH] 3810 --add check for evince

2007-06-07 Thread Darren Freeman
On Thu, 2007-06-07 at 09:48 -0400, Richard Heck wrote: Is there some way to find out what the user has installed as his or her default pdf reader? Obviously, this will be highly platform sensitive, and even desktop sensitive, but it would be the most user-friendly thing to do. If we call

Re: [PATCH-again] Bug 3821: Odd middle-click behavior

2007-06-07 Thread José Matos
On Thursday 07 June 2007 15:12:47 Richard Heck wrote: Comments? OK? I was expecting other feedback. Since the patch is trivial and no one objected you have my OK. :-) -- José Abílio

Re: [PATCH] Part of Bug 3719 -- TOC out of sync

2007-06-07 Thread Bo Peng
There don't seem to be many of these. [EMAIL PROTECTED] src]$ srcgrep 'tocBackend().update()' buffer_funcs.cpp:704: cbuf.tocBackend().update(); frontends/controllers/ControlToc.cpp:120: kernel().buffer().getMasterBuffer()-tocBackend().update(); MenuBackend.cpp:708:

Re: [PATCH] 3810 --add check for evince

2007-06-07 Thread José Matos
On Thursday 07 June 2007 15:18:55 Darren Freeman wrote: If we call LyX a Qt-only app, then we could do this the KDE way and query the file association preferences, as used by Konqueror and others. One day they will get Gnome and KDE integrated well enough to have one using the preferences of

Re: [PATCH-again] Bug 3821: Odd middle-click behavior

2007-06-07 Thread Bo Peng
The issue here is that middle-click of external material pastes where the cursor WAS, not where one clicks. Really? If so, it is a bug that should be fixed. The patch looks OK to me. Note that: - lyx paste to where mouse is - many other applicate paste to where cursor is (e.g. gvim) Bo

Re: Bugzilla Bookmarklet

2007-06-07 Thread christian . ridderstrom
On Thu, 7 Jun 2007, Richard Heck wrote: [EMAIL PROTECTED] wrote: On Tue, 5 Jun 2007, Richard Heck wrote: In Opera, you can e.g. google from the URI address bar. All you have to do is enter a URI such as g LyX software and you will go and do a google search. Apparently, this is

Re: Remembering settings in PS/PDF viewer

2007-06-07 Thread Darren Freeman
On Thu, 2007-06-07 at 09:56 -0400, Richard Heck wrote: kpdf stores zoom and such between sessions on my machine. Actually I only tried PS so I should have said kghostview only. Maybe keep the one viewer open, overwrite the file, and send it a signal to revert? I would have thought that

Re: [PATCH] 3810 --add check for evince

2007-06-07 Thread Darren Freeman
On Thu, 2007-06-07 at 15:22 +0100, José Matos wrote: That exists already under a common umbrella (freedesktop.org): http://portland.freedesktop.org/xdg-utils-1.0/xdg-open.html Wow. That's handy! So why not add it to the front of the list of tests? It doesn't solve the problem of loading the

Re: [PATCH] 3782 Crash with selection of table cells

2007-06-07 Thread Bo Peng
I do not think the analysis is correct. The real problem is that saveSelection is not prepared (like most of our cut-and-paste mechanism) to handle multi-cell selections. How come my analysis is incorrect? We are talking about the same thing. I said: saveSelection can not handle this case so I

Re: UTF8-UCS4 failure on FreeBSD 6.2-RELEASE

2007-06-07 Thread Koji Yokota
Georg Baum wrote: Then Koji could fire up a debugger, set a breakpoint in parse_printf_directive() and report what the result of the narrow() call is. Do you mean the return value of wrap_narrow() call? If so, the result of gdb was: $1 = -65 '\277' It appeared twice in

Re: [PATCH] 3810 --add check for evince

2007-06-07 Thread José Matos
On Thursday 07 June 2007 16:16:31 Darren Freeman wrote: Wow. That's handy! So why not add it to the front of the list of tests? The only patch carried by the Fedora package does precisely that. I will wait to see how it works there before suggesting it for inclusion. FWIW this is a topic that

EndEnvironment layout entry.

2007-06-07 Thread Bo Peng
It is currently non-trivial to write 1. item1 1. item1 2. item2 e.g. \begin{enumerate} \item item1 \end{enumerate} \begin{enumerate} \item item1 \item item2 \end{enumerate} Because it is not easy to tell lyx to break an environment. The same problem exists for consecutive definitions, proof

Re: [PATCH] 3782 Crash with selection of table cells

2007-06-07 Thread Jean-Marc Lasgouttes
Bo == Bo Peng [EMAIL PROTECTED] writes: Bo How come my analysis is incorrect? We are talking about the same Bo thing. Bo I said: saveSelection can not handle this case so I do not call Bo it. You said: let me disable this case in saveSelection. Bo I actually said: saveSelection should not be

[PATCH] Allow short titles in AMS articles

2007-06-07 Thread Paul A. Rubin
The attached patch to amsdefs.inc (versions 1.4.x and 1.5.x) turns on short titles, which amsart.cls supports. I'm not sure why they're not on already -- maybe there was a reason? Hopefully the patch file is readable. If not, just add OptionalArgs 1 to the Title section of amsdefs.inc.

Re: EndEnvironment layout entry.

2007-06-07 Thread Herbert Voss
Bo Peng wrote: It is currently non-trivial to write 1. item1 1. item1 2. item2 that's pretty easy choose enumerate -- insert text choose standard -- insert Ctrl-L and % choose enumerate -- insert text view Herbert

Windows: 1.5.0rc1 uses wrong home directory

2007-06-07 Thread Paul A. Rubin
Henceforth %AD%=C:\Documents and Settings\me\Application Data so I don't have to keep typing it. I had 1.5.0beta3 installed (with home = %AD%\LyX15beta1), then installed 1.5.0rc1 and uninstalled beta3 (leaving settings intact). That created %AD%\LyX15, to which I copied some stuff from the

Re: EndEnvironment layout entry.

2007-06-07 Thread Bo Peng
choose enumerate -- insert text choose standard -- insert Ctrl-L and % choose enumerate -- insert text There are many such ways but you are inserting some unnecessary stuff to lyx, and the latex output. And, it is visually unclear what is happening here. I am proposing something like 1 item1

Re: [PATCH] Hover over mathed show mathed corners.

2007-06-07 Thread Enrico Forestieri
On Wed, Jun 06, 2007 at 09:38:39AM -0500, Bo Peng wrote: I deem that this will be more acceptable than my previous patch. I was wrong so this is now http://bugzilla.lyx.org/show_bug.cgi?id=3825 . Maybe you will have more luck if you remove mathhoverbg from the patch ;-) -- Enrico

Re: [PATCH] 3782 Crash with selection of table cells

2007-06-07 Thread Bo Peng
Try the following: create a 2x1 table with 2 characters in cell 1 and 4 in cell 4. Put cursor at the end of cell 2 and do Shift-Up, Shift-Left. I see. You get a crash, but no LFUN_FINISHED action is invoked. It is really multi-cell selection that is broken. But my patch was correct in that

Re: [PATCH] Hover over mathed show mathed corners.

2007-06-07 Thread Bo Peng
I was wrong so this is now http://bugzilla.lyx.org/show_bug.cgi?id=3825 . Maybe you will have more luck if you remove mathhoverbg from the patch ;-) If I get another OK if I remove mathhoberbg, I will remove it and submit. Cheers, Bo

Re: Remembering settings in PS/PDF viewer

2007-06-07 Thread Jürgen Spitzmüller
Darren Freeman wrote: Question: how is a new user to decide which of the three seemingly identical options to pick for generating a PDF? Their difference should be documented. Are they almost functionally equivalent? No. Shouldn't one of them be chosen in preference to the others?

Re: [PATCH] 3810 --add check for evince

2007-06-07 Thread Bo Peng
kpdf has a full screen presentational mode, I do all my presentations using it. I meant the automatic full screen mode set by \hypersetup{ pdfpagemode=FullScreen } Bo

Re: Remembering settings in PS/PDF viewer

2007-06-07 Thread Enrico Forestieri
On Fri, Jun 08, 2007 at 12:39:54AM +1000, Darren Freeman wrote: I originally dropped generating DVI because it wouldn't print (xdvi sucks!). I disagree. Try compiling xdvi using --with-xdvi-x-toolkit=motif I attach here a screenshot I took on Solaris. -- Enrico attachment: xdvi.png

Re: [PATCH] 3782 Crash with selection of table cells

2007-06-07 Thread Jean-Marc Lasgouttes
Bo == Bo Peng [EMAIL PROTECTED] writes: Bo But my patch was correct in that saveSelection should not be Bo called before LFUN_FINISHED is processed in that particular case. Bo The patch fixes the problem and save the correct selected text Bo (things in the lower cell). saveSelection does not

Re: [patch] bug 2691: Invoking Thesaurus crashes LyX

2007-06-07 Thread Jürgen Spitzmüller
Jean-Marc Lasgouttes wrote: Yes. Done. Jürgen

Re: [PATCH] 3782 Crash with selection of table cells

2007-06-07 Thread Bo Peng
saveSelection does not hurt even in the LFUN_FINISHED case. At worst it is useless. Logically speaking, we should saveSelection after cur has moved to its place. In that case, cur is undispatched so saveSelection should not be called. I am not sure the patch is done at the right place. The

Re: [PATCH] Hover over mathed show mathed corners.

2007-06-07 Thread Richard Heck
Bo Peng wrote: I was wrong so this is now http://bugzilla.lyx.org/show_bug.cgi?id=3825 . Maybe you will have more luck if you remove mathhoverbg from the patch ;-) If I get another OK if I remove mathhoberbg, I will remove it and submit. So long as the (default) color difference is small, I

Re: EndEnvironment layout entry.

2007-06-07 Thread Richard Heck
Bo Peng wrote: It is currently non-trivial to write 1. item1 1. item1 2. item2 e.g. \begin{enumerate} \item item1 \end{enumerate} \begin{enumerate} \item item1 \item item2 \end{enumerate} Because it is not easy to tell lyx to break an environment. This isn't exactly this one:

[patch] bug 3817: change tracking and pdflatex: color of last changed text persists with subsequent normal text

2007-06-07 Thread Jürgen Spitzmüller
As discussed. OK? Jürgen Index: src/LaTeXFeatures.cpp === --- src/LaTeXFeatures.cpp (Revision 18698) +++ src/LaTeXFeatures.cpp (Arbeitskopie) @@ -670,8 +670,8 @@ macros \\providecolor{lyxdeleted}{rgb}{ cdel.r/255 ','

Re: EndEnvironment layout entry.

2007-06-07 Thread Bo Peng
This isn't exactly this one: http://bugzilla.lyx.org/show_bug.cgi?id=2697, but it is close. This is exactly what I am talking about. I think an environment like what I have proposed is enough, just need a bit tuning from layout experts. Bo

Re: EndEnvironment layout entry.

2007-06-07 Thread Richard Heck
Bo Peng wrote: Style EndEnvironment KeepEmpty 1 MarginStatic LatexType Paragraph LatexName dummy ParIndent MM TopSep0 BottomSep 0 ParSep0 Align

Re: [patch] bug 3817: change tracking and pdflatex: color of last changed text persists with subsequent normal text

2007-06-07 Thread José Matos
On Thursday 07 June 2007 18:56:46 Jürgen Spitzmüller wrote: As discussed. OK? Yep. Jürgen -- José Abílio

Re: Remembering settings in PS/PDF viewer

2007-06-07 Thread Richard Heck
Darren Freeman wrote: On Thu, 2007-06-07 at 09:56 -0400, Richard Heck wrote: kpdf stores zoom and such between sessions on my machine. Actually I only tried PS so I should have said kghostview only. Maybe keep the one viewer open, overwrite the file, and send it a signal to

Re: [PATCH] Hover over mathed show mathed corners.

2007-06-07 Thread Bo Peng
So long as the (default) color difference is small, I think this will be fine with people. So I'd say OK. Thanks. It is committed at r18701. Move your mouse over mathed, you will like the hovering effect. Bo

Re: [PATCH-again] Bug 3821: Odd middle-click behavior

2007-06-07 Thread Richard Heck
José Matos wrote: On Thursday 07 June 2007 15:12:47 Richard Heck wrote: Comments? OK? I was expecting other feedback. Since the patch is trivial and no one objected you have my OK. :-) Me too. ;-) Bo Peng wrote: The issue here is that middle-click of external material pastes

[patch] (part of) bug 848

2007-06-07 Thread Jürgen Spitzmüller
http://bugzilla.lyx.org/show_bug.cgi?id=848 This bug was reported in Jan 2003 against LyX 1.2.2. Here's the patch. I understand it took as so long. The fix was very tricky ;-) OK for branch and trunk? Jürgen Index: lib/doc/LaTeXConfig.lyx.in

Re: EndEnvironment layout entry.

2007-06-07 Thread Bo Peng
Try a Dynamic margin (or FirstDynamic). If you use a static margin with a labeled environment, then the label appears to the left of the margin---I think---which is why you see the behavior you do. They do not work. :-( I see no documentation about these directives, so I will have to read the

Re: [patch] (part of) bug 848

2007-06-07 Thread Richard Heck
Jürgen Spitzmüller wrote: http://bugzilla.lyx.org/show_bug.cgi?id=848 This bug was reported in Jan 2003 against LyX 1.2.2. Here's the patch. I understand it took as so long. The fix was very tricky ;-) OK for branch and trunk? Looks fine to me. Very, very nice work!! Richard Jürgen

Re: [patch] (part of) bug 848

2007-06-07 Thread José Matos
On Thursday 07 June 2007 19:15:47 Jürgen Spitzmüller wrote: http://bugzilla.lyx.org/show_bug.cgi?id=848 This bug was reported in Jan 2003 against LyX 1.2.2. Here's the patch. I understand it took as so long. The fix was very tricky ;-) I think that this deserves to be mentioned in the rc2

Re: EndEnvironment layout entry.

2007-06-07 Thread Bo Peng
They do not work. :-( Are you sure? Oops, I was using LeftMargin... :-) Jose: I can polish this and add lyx2lyx. I wrote this for my own use but if there is a bug report for it, I guess I can make this official. Is this something you want for 1.5.0? Bo

Re: EndEnvironment layout entry.

2007-06-07 Thread RGH
Bo Peng wrote: They do not work. :-( Are you sure? Oops, I was using LeftMargin... :-) I can polish this and add lyx2lyx. What does lyx2lyx do with layouts it doesn't recognize (i.e., ones I custom-defined)? That's what this would be, basically, unless you want to convert it to the ERT

Re: EndEnvironment layout entry.

2007-06-07 Thread Bo Peng
I can polish this and add lyx2lyx. What does lyx2lyx do with layouts it doesn't recognize (i.e., ones I custom-defined)? That's what this would be, basically, unless you want to convert it to the ERT hack or whatever. It would be nice to convert it to something like \begin_layout Standard

Re: EndEnvironment layout entry.

2007-06-07 Thread José Matos
On Thursday 07 June 2007 19:34:15 Bo Peng wrote: Jose: I can polish this and add lyx2lyx. I wrote this for my own use but if there is a bug report for it, I guess I can make this official. Is this something you want for 1.5.0? Honestly? I have a personal agenda against this kind of

Re: EndEnvironment layout entry.

2007-06-07 Thread Bo Peng
I can polish this and add lyx2lyx. I guess it is better called 'Splitter' or 'Separator', and is displayed as '--- split environment ---' Othewise, we will see lyx files with all environment properly ended with this environment. Cheers, Bo

Re: EndEnvironment layout entry.

2007-06-07 Thread Bo Peng
What I am afraid is that with this short term solution we delay further the real solution. :-( I still can not understand your proposal. What do you want to do after 1 item1 to append 1 something else? Using the environment approach, I enter ret, choose separator layout, ret, and then

Re: [patch] bug 3407: Undo in mathmode

2007-06-07 Thread Alfredo Braunstein
Jean-Marc Lasgouttes wrote: Alfredo Should have Mathed in the name then no? No because the long term objectove is to merge all these things, I guess. I think that the nice name should be reserved as a reward for the merger ;-) And a bit of mystery and surprise makes life more interesting

Re: EndEnvironment layout entry.

2007-06-07 Thread José Matos
On Thursday 07 June 2007 20:03:09 Bo Peng wrote: Do you want to insert an inset? I want everything to be an inset. Say an inset chapter, with the first line being the title, and all other lines being inside the inset. The same would be applied to sections and subsections and so on... An

Re: EndEnvironment layout entry.

2007-06-07 Thread José Matos
On Thursday 07 June 2007 20:03:09 Bo Peng wrote: Using the environment approach, I enter ret, choose separator layout, ret, and then start a new list. (How to avoid that second ret?) Something like new page inset? An inset separator? Bo -- José Abílio

Re: EndEnvironment layout entry.

2007-06-07 Thread Bo Peng
Something like new page inset? An inset separator? That still falls into the insert something category. You still have to insert in the 'standard' environment. Otherwise your inset, although output nothing in latex, will be nested. I mean 1. item1 2. your do-nothing inset 3. item1 Bo

Re: [PATCH] Allow short titles in AMS articles

2007-06-07 Thread Martin Vermeer
On Thu, Jun 07, 2007 at 12:33:45PM -0400, Paul A. Rubin wrote: The attached patch to amsdefs.inc (versions 1.4.x and 1.5.x) turns on short titles, which amsart.cls supports. I'm not sure why they're not on already -- maybe there was a reason? I suppose it was because the feature was added

Re: Fixing #3790, 3801, 3809 in the only right way, no further patchworks!

2007-06-07 Thread Stefan Schimanski
Here are two further patches to clean up the code: * local_bidi.patch: The bidi object in the class Text is only used in places now where a ParagraphMetrics::computeRowMetrics call comes before. And this function the Bidi object is updated. So it is a little step now to remove the

Re: [PATCH] 3782 Crash with selection of table cells

2007-06-07 Thread Alfredo Braunstein
Bo Peng wrote: saveSelection does not hurt even in the LFUN_FINISHED case. At worst it is useless. Logically speaking, we should saveSelection after cur has moved to its place. In that case, cur is undispatched so saveSelection should not be called. Maybe the best would be calling

Re: Fixing #3790, 3801, 3809 in the only right way, no further patchworks!

2007-06-07 Thread José Matos
On Thursday 07 June 2007 21:01:10 Stefan Schimanski wrote: Here are two further patches to clean up the code: * local_bidi.patch: The bidi object in the class Text is only used in places now where a ParagraphMetrics::computeRowMetrics call comes before. And this function the Bidi object is

Re: [PATCH] 3782 Crash with selection of table cells

2007-06-07 Thread Bo Peng
Logically speaking, we should saveSelection after cur has moved to its place. In that case, cur is undispatched so saveSelection should not be called. Maybe the best would be calling saveSelection at the end of Cursor::dispatch (maybe adding the check if the cursor has moved), and nowhere

Re: [PATCH] 3782 Crash with selection of table cells

2007-06-07 Thread Alfredo Braunstein
Bo Peng wrote: Logically speaking, we should saveSelection after cur has moved to its place. In that case, cur is undispatched so saveSelection should not be called. Maybe the best would be calling saveSelection at the end of Cursor::dispatch (maybe adding the check if the cursor has

Re: [patch] KeyMap bug (again)

2007-06-07 Thread José Matos
On Thursday 07 June 2007 08:47:24 Jean-Marc Lasgouttes wrote: The patch is OK to me (with the extra switchKeymap). Dov if you come with a patch with this suggestion implemented then you have my OK. :-) JMarc -- José Abílio

Re: Spaces on RTL boundaries

2007-06-07 Thread José Matos
On Thursday 07 June 2007 14:19:41 Stefan Schimanski wrote: Order to apply: no_bidi_isboundary.patch no_bidi_setcurrentfont.patch local_bidi.patch cursor_get_font.patch rtl_spaces.patch What is missing to apply from this set? Stefan -- José Abílio

Re: Spaces on RTL boundaries

2007-06-07 Thread Stefan Schimanski
Am 07.06.2007 um 22:29 schrieb José Matos: On Thursday 07 June 2007 14:19:41 Stefan Schimanski wrote: Order to apply: no_bidi_isboundary.patch no_bidi_setcurrentfont.patch local_bidi.patch cursor_get_font.patch rtl_spaces.patch What is missing to apply from this set? Just the last one.

Re: Spaces on RTL boundaries

2007-06-07 Thread José Matos
On Thursday 07 June 2007 21:41:45 Stefan Schimanski wrote: Just the last one. Want to hear some report by people here in the   thread. Then it can go in. That is fair. Stefan -- José Abílio

Re: Spaces on RTL boundaries

2007-06-07 Thread Dov Feldstern
Stefan Schimanski wrote: Am 07.06.2007 um 22:29 schrieb José Matos: On Thursday 07 June 2007 14:19:41 Stefan Schimanski wrote: Order to apply: no_bidi_isboundary.patch no_bidi_setcurrentfont.patch local_bidi.patch cursor_get_font.patch rtl_spaces.patch What is missing to apply from this

Re: [patch] KeyMap bug (again)

2007-06-07 Thread Dov Feldstern
José Matos wrote: On Thursday 07 June 2007 08:47:24 Jean-Marc Lasgouttes wrote: The patch is OK to me (with the extra switchKeymap). Dov if you come with a patch with this suggestion implemented then you have my OK. :-) JMarc Thanks, I will send a corrected patch soon.

Re: Spaces on RTL boundaries

2007-06-07 Thread Stefan Schimanski
Am 07.06.2007 um 22:51 schrieb Dov Feldstern: Stefan Schimanski wrote: Am 07.06.2007 um 22:29 schrieb José Matos: On Thursday 07 June 2007 14:19:41 Stefan Schimanski wrote: Order to apply: no_bidi_isboundary.patch no_bidi_setcurrentfont.patch local_bidi.patch cursor_get_font.patch

compile error

2007-06-07 Thread Stefan Schimanski
drawMarkers moved to InsetMathNest?! See r18701. Please revert or fix that. /Users/sts/Quellen/mac/lyx-devel/src/mathed/InsetMathMBox.cpp: In member function 'virtual void lyx::InsetMathMBox::draw (lyx::PainterInfo, int, int) const':

Re: [patch] KeyMap bug (again)

2007-06-07 Thread Dov Feldstern
Dov Feldstern wrote: José Matos wrote: On Thursday 07 June 2007 08:47:24 Jean-Marc Lasgouttes wrote: The patch is OK to me (with the extra switchKeymap). Dov if you come with a patch with this suggestion implemented then you have my OK. :-) JMarc Thanks, I will send a corrected

Re: compile error

2007-06-07 Thread Bo Peng
On 6/7/07, Stefan Schimanski [EMAIL PROTECTED] wrote: drawMarkers moved to InsetMathNest?! See r18701. Please revert or fix that. Interesting, why my compiler did not complain? (The test was also tested by others). I will see what is going on... Bo

Re: EndEnvironment layout entry.

2007-06-07 Thread Richard Heck
Bo Peng wrote: I can polish this and add lyx2lyx. I guess it is better called 'Splitter' or 'Separator', and is displayed as '--- split environment ---' Othewise, we will see lyx files with all environment properly ended with this environment. Yes, that seems right. I had a similar idea. rh

Re: compile error

2007-06-07 Thread Bo Peng
On 6/7/07, Bo Peng [EMAIL PROTECTED] wrote: On 6/7/07, Stefan Schimanski [EMAIL PROTECTED] wrote: drawMarkers moved to InsetMathNest?! See r18701. Please revert or fix that. The patch is partially reverted to move drawMarkers and drawMarkers2 back to its original place. The problem should

Re: [patch] KeyMap bug (again)

2007-06-07 Thread Jean-Marc Lasgouttes
Dov == Dov Feldstern [EMAIL PROTECTED] writes: Dov But what do you think about this suggestion: instead of adding Dov switchKeyMap in the new place, and where I added it originally, Dov just add it inside translateAndInsert() itself? (I haven't tried Dov this out yet --- but if it works, does

Re: [PATCH] 3782 Crash with selection of table cells

2007-06-07 Thread Jean-Marc Lasgouttes
Alfredo == Alfredo Braunstein [EMAIL PROTECTED] writes: That makes sense but as I have said (or implied), to avoid introduction of new bugs, it is unwise to overhaul clipboards now. JMarc's two-liner stops crashes, my two-liners saves selection correctly for that particular case. I think

  1   2   3   >