Re: Footnote inset layout is undefined

2008-01-28 Thread Abdelrazak Younes
Abdelrazak Younes wrote: It seems something broke the footnote layout recently... Removing my user lyx directory fixed the problem... Abdel.

Footnote inset layout is undefined

2008-01-28 Thread Abdelrazak Younes
It seems something broke the footnote layout recently... Abdel.

Re: [PATCH] Proof Box Fix

2008-01-28 Thread Abdelrazak Younes
Abdelrazak Younes wrote: Richard Heck wrote: I'm also troubled by the fact that we're treating the RTL case so differently, but I don't understand why it's so different in the first place, so I don't propose to even try to deal with that myself. Dov, do you know what to do here? I guess it

Re: [PATCH] Proof Box Fix

2008-01-28 Thread Abdelrazak Younes
rgheck wrote: Modifying a bit what we have so far, what's attached works well for me in most cases, though we still have the box being pushed off the right edge. Sorry, I committed the correction, hope you don't mind. Mind? Certainly not. What matters is it's fixed. Well, this is not 100

Re: [PATCH] Proof Box Fix

2008-01-28 Thread rgheck
Modifying a bit what we have so far, what's attached works well for me in most cases, though we still have the box being pushed off the right edge. Sorry, I committed the correction, hope you don't mind. Mind? Certainly not. What matters is it's fixed. Richard

LFUN_COMMAND_EXECUTE/PREFIX

2008-01-28 Thread Pavel Sanda
hi, i was trying to understand what are the LFUN_COMMAND_EXECUTE/PREFIX for but neither experimenting with them through command buffer nor reading bits of code didn't help me understand what exactly they should do. could anybody write few words about their purpose so i can doxyfy them? thanks pa

Re: [PATCH] Proof Box Fix

2008-01-28 Thread Andre Poenitz
On Mon, Jan 28, 2008 at 01:49:16PM -0500, Richard Heck wrote: >> [..] > I didn't APPLY anything. And of course wouldn't apply anything in such an > area without sending a message to the list. Which would seem to be what I > did. Yes? Looks like it. I plead unconcious today... Andre'

Re: [PATCH] Proof Box Fix

2008-01-28 Thread Jean-Marc Lasgouttes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: > It would be nice to hqve q bit of documentation of such things somewhere. It would be nice if I had the same keyboard at work and at home... JMarc

Re: [PATCH] Proof Box Fix

2008-01-28 Thread Jean-Marc Lasgouttes
Abdelrazak Younes <[EMAIL PROTECTED]> writes: > Richard Heck wrote: >> >> So, for my own education: width_ is the width of the row, counting >> the margins or not counting them? > > width_ is the width of the Text including the margins. It would be nice to hqve q bit of documentation of such thi

Re: [Cvslog] r22687 - /lyx-devel/trunk/src/support/filetools.cpp

2008-01-28 Thread Jean-Marc Lasgouttes
Richard Heck <[EMAIL PROTECTED]> writes: > That would be excellent, yes: We could store a relative path and > interpret it as relative to user_dir. But ending support for ~ would > break at least one user's preferences file. ;-) Note that we support ${HOME} also. So in this sense it is reasonable

Re: [PATCH] Proof Box Fix

2008-01-28 Thread Abdelrazak Younes
Richard Heck wrote: So, for my own education: width_ is the width of the row, counting the margins or not counting them? width_ is the width of the Text including the margins. I was wrong when I said that leftMargin() should be taken into account. It is instead because of TEXT_TO_INSET_OFFS

Re: [PATCH] Proof Box Fix

2008-01-28 Thread Richard Heck
So, for my own education: width_ is the width of the row, counting the margins or not counting them? Modifying a bit what we have so far, what's attached works well for me in most cases, though we still have the box being pushed off the right edge. I'm also troubled by the fact that we're tr

Re: [PATCH] Proof Box Fix

2008-01-28 Thread Richard Heck
Abdelrazak Younes wrote: Jean-Marc Lasgouttes wrote: rgheck <[EMAIL PROTECTED]> writes: I'm getting the proof box slightly off the right edge of the screen. This fixes it for me. Are other people seeing this behavior? This is branch and trunk, by the way, though the patch is for trunk. Why

Re: [PATCH] Proof Box Fix

2008-01-28 Thread Abdelrazak Younes
Richard Heck wrote: Abdelrazak Younes wrote: So, where do you want the box exactly? Straight at the end of the end of last row or justified to the right? Where it is now is ALMOST correct: It should appear at the end of the last line, right justified, so that the right edge of the box is at

Re: [PATCH] Proof Box Fix

2008-01-28 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: rgheck <[EMAIL PROTECTED]> writes: I'm getting the proof box slightly off the right edge of the screen. This fixes it for me. Are other people seeing this behavior? This is branch and trunk, by the way, though the patch is for trunk. Why the 1.5 factor? Is looks a

Re: [PATCH] Proof Box Fix

2008-01-28 Thread Richard Heck
Abdelrazak Younes wrote: Richard Heck wrote: Abdelrazak Younes wrote: rgheck wrote: I'm getting the proof box slightly off the right edge of the screen. This fixes it for me. Are other people seeing this behavior? How can I reproduce this? IOW, what is a proof box? The ENDLABEL marker in

Re: [PATCH] Proof Box Fix

2008-01-28 Thread Abdelrazak Younes
Richard Heck wrote: Abdelrazak Younes wrote: rgheck wrote: I'm getting the proof box slightly off the right edge of the screen. This fixes it for me. Are other people seeing this behavior? How can I reproduce this? IOW, what is a proof box? The ENDLABEL marker in a proof environment. Use

Re: [Cvslog] r22687 - /lyx-devel/trunk/src/support/filetools.cpp

2008-01-28 Thread Richard Heck
Jean-Marc Lasgouttes wrote: Richard Heck <[EMAIL PROTECTED]> writes: That's right: I was trying to bring makeAbsPath into line with expandPath. It's clear why the latter supports "~": Because one might want to configure the path to, say, the lyxpipe as: ~/.lyx/lyxpipe. How useful it is in th

Re: Conflicts in branch

2008-01-28 Thread Pavel Sanda
> On Mon, 2008-01-28 at 18:15 +0100, Pavel Sanda wrote: > > > Why did so many files that I never modified just become conflicted? > > > > because they get modified when making the sources. > > So why are they in the repository? because they contain translation string we use. compilation just syn

Re: Conflicts in branch

2008-01-28 Thread Darren Freeman
On Mon, 2008-01-28 at 18:15 +0100, Pavel Sanda wrote: > > Why did so many files that I never modified just become conflicted? > > because they get modified when making the sources. So why are they in the repository? Have fun, Darren

Re: [PATCH] Proof Box Fix

2008-01-28 Thread Richard Heck
Abdelrazak Younes wrote: rgheck wrote: I'm getting the proof box slightly off the right edge of the screen. This fixes it for me. Are other people seeing this behavior? How can I reproduce this? IOW, what is a proof box? The ENDLABEL marker in a proof environment. Use article (AMS). rh

Re: [PATCH] Proof Box Fix

2008-01-28 Thread Richard Heck
Andre Poenitz wrote: On Mon, Jan 28, 2008 at 09:53:47AM -0500, Richard Heck wrote: Jean-Marc Lasgouttes wrote: rgheck <[EMAIL PROTECTED]> writes: I'm getting the proof box slightly off the right edge of the screen. This fixes it for me. Are other people seeing this behavior?

Re: [PATCH] Proof Box Fix

2008-01-28 Thread Abdelrazak Younes
rgheck wrote: I'm getting the proof box slightly off the right edge of the screen. This fixes it for me. Are other people seeing this behavior? How can I reproduce this? IOW, what is a proof box? Abdel.

Re: [PATCH] Proof Box Fix

2008-01-28 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdel, do you have ideas? The fact that size (= 0.75 * fm.maxAscent()) is used in the x expression looks very suspicious to me. You want to get rid of it... It is the size of the square, thus used for x and y. Ah...

Re: [PATCH] Proof Box Fix

2008-01-28 Thread Andre Poenitz
On Mon, Jan 28, 2008 at 09:53:47AM -0500, Richard Heck wrote: > Jean-Marc Lasgouttes wrote: >> rgheck <[EMAIL PROTECTED]> writes: >> >> >>> I'm getting the proof box slightly off the right edge of the screen. >>> This fixes it for me. Are other people seeing this behavior? >>> >>> This is branch

Re: Conflicts in branch

2008-01-28 Thread Richard Heck
Pavel Sanda wrote: Why did so many files that I never modified just become conflicted? because they get modified when making the sources. if you are not doing some translatin work, simply rm po/*.po po/lyx.pot svn up Or even simpler: svn revert po/*.po rh

Re: [PATCH] Proof Box Fix

2008-01-28 Thread Jean-Marc Lasgouttes
Abdelrazak Younes <[EMAIL PROTECTED]> writes: >> Abdel, do you have ideas? > > The fact that size (= 0.75 * fm.maxAscent()) is used in the x > expression looks very suspicious to me. You want to get rid of it... It is the size of the square, thus used for x and y. JMarc

Re: Conflicts in branch

2008-01-28 Thread Pavel Sanda
> Why did so many files that I never modified just become conflicted? because they get modified when making the sources. if you are not doing some translatin work, simply rm po/*.po po/lyx.pot svn up pavel

Conflicts in branch

2008-01-28 Thread Darren Freeman
Why did so many files that I never modified just become conflicted? 8<8<8<8<8<8< svn update svn status C po/cs.po C po/es.po C po/eu.po C po/ko.po C po/hu.po C po/ro.po C po/nb.po C po/gl.po C po

Re: [PATCH] Proof Box Fix

2008-01-28 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: Richard Heck <[EMAIL PROTECTED]> writes: It was arbitrary. I should have been more explicit that I wasn't actually suggesting it as a fix, just as an illustration of the kind of thing that is needed. I think what's happening is that the box is aligning to the exact

Re: Branch not compilable

2008-01-28 Thread Abdelrazak Younes
Jürgen Spitzmüller wrote: Stefan Schimanski wrote: - latexParagraphs(buf, text_.paragraphs(), ws.os(), texrow, runparams); + latexParagraphs(buf, text_, ws.os(), texrow, runparams); ws.addlines(texrow.rows()); ws << "}"; } else { I guess it's

Re: Branch not compilable

2008-01-28 Thread Jürgen Spitzmüller
Stefan Schimanski wrote: > -   latexParagraphs(buf, text_.paragraphs(), ws.os(), texrow, > runparams); +   latexParagraphs(buf, text_, ws.os(), texrow, > runparams); ws.addlines(texrow.rows()); > ws << "}"; > } else { > > I guess it's the same in the

Re: Branch not compilable

2008-01-28 Thread Stefan Schimanski
See my commit r22761: Modified: lyx-devel/trunk/src/mathed/InsetMathMBox.cpp URL: http://www.lyx.org/trac/file/lyx-devel/trunk/src/mathed/InsetMathMBox.cpp?rev=22671 = = = = = = --- lyx-devel/trunk/src/mathed/InsetMathMBox.

Branch not compilable

2008-01-28 Thread Kornel Benko
Platform is linux, gcc 4.2, on Kubuntu and opensuse ... /usr/src/lyx/branch-1.5/lyx-devel/src/mathed/InsetMathMBox.cpp: In member function 'void lyx::InsetMathMBox::write(const lyx::Buffer&, lyx::WriteStream&) const': /usr/src/lyx/branch-1.5/lyx-devel/src/mathed/InsetMathMBox.cpp:83: error: inva

Re: [PATCH] Proof Box Fix

2008-01-28 Thread Jean-Marc Lasgouttes
Richard Heck <[EMAIL PROTECTED]> writes: > It was arbitrary. I should have been more explicit that I wasn't > actually suggesting it as a fix, just as an illustration of the kind > of thing that is needed. > > I think what's happening is that the box is aligning to the exact > right edge of the sc

Re: [Cvslog] r22687 - /lyx-devel/trunk/src/support/filetools.cpp

2008-01-28 Thread Jean-Marc Lasgouttes
Richard Heck <[EMAIL PROTECTED]> writes: > That's right: I was trying to bring makeAbsPath into line with > expandPath. It's clear why the latter supports "~": Because one might > want to configure the path to, say, the lyxpipe as: ~/.lyx/lyxpipe. > How useful it is in the other case, I'm not sure

Re: [PATCH] Proof Box Fix

2008-01-28 Thread Richard Heck
Jean-Marc Lasgouttes wrote: rgheck <[EMAIL PROTECTED]> writes: I'm getting the proof box slightly off the right edge of the screen. This fixes it for me. Are other people seeing this behavior? This is branch and trunk, by the way, though the patch is for trunk. Why the 1.5 factor? Is

Re: [Cvslog] r22687 - /lyx-devel/trunk/src/support/filetools.cpp

2008-01-28 Thread Richard Heck
Hans Meine wrote: Am Montag, 28. Januar 2008 12:21:15 schrieb Jean-Marc Lasgouttes: [EMAIL PROTECTED] writes: Author: rgheck Date: Sat Jan 26 21:41:19 2008 New Revision: 22687 URL: http://www.lyx.org/trac/changeset/22687 Log: Fix some problems in makeAbsPath(): i. It didn't handle a l

Re: [Cvslog] r22695 - in /lyx-devel/trunk/src: Paragraph.cpp Paragraph...

2008-01-28 Thread Jean-Marc Lasgouttes
Jürgen Spitzmüller <[EMAIL PROTECTED]> writes: > Jean-Marc Lasgouttes wrote: >> Juergen, this was reported by G. Milde back in November. The branch >> version is simpler than the trunk one. >> >> OK? > > yes. Done. JMarc

Re: [Cvslog] r22695 - in /lyx-devel/trunk/src: Paragraph.cpp Paragraph...

2008-01-28 Thread Jürgen Spitzmüller
Jean-Marc Lasgouttes wrote: > Juergen, this was reported by G. Milde back in November. The branch > version is simpler than the trunk one. > > OK? yes. Jürgen

Re: searching for frame icons for the math toolbar

2008-01-28 Thread Uwe Stöhr
> Having icons for actions is always a good thing; e.g. a user might want to > customize his toolbar etc. As said I'll add them as soon as somebody proposed some icons. regards Uwe

Re: [Cvslog] r22695 - in /lyx-devel/trunk/src: Paragraph.cpp Paragraph...

2008-01-28 Thread Jean-Marc Lasgouttes
[EMAIL PROTECTED] writes: > Author: lasgouttes > Date: Mon Jan 28 11:50:24 2008 > New Revision: 22695 > > URL: http://www.lyx.org/trac/changeset/22695 > Log: > * src/Text.cpp (changeCase): do not set the selection if it was not > already set. > > * src/Paragraph.cpp (changeCase)

Re: [Cvslog] r22687 - /lyx-devel/trunk/src/support/filetools.cpp

2008-01-28 Thread Hans Meine
Am Montag, 28. Januar 2008 12:21:15 schrieb Jean-Marc Lasgouttes: > [EMAIL PROTECTED] writes: > > Author: rgheck > > Date: Sat Jan 26 21:41:19 2008 > > New Revision: 22687 > > > > URL: http://www.lyx.org/trac/changeset/22687 > > Log: > > Fix some problems in makeAbsPath(): > > i. It didn't handle

Re: r22695 - in /lyx-devel/trunk/src: Paragraph.cpp Paragraph...

2008-01-28 Thread Jean-Marc Lasgouttes
Abdelrazak Younes <[EMAIL PROTECTED]> writes: > Friendly warning: Maybe the above is necessary but it does not seem to > be related to the other changes... No, it is indeed related to other changes in my tree. Thanks. JMarc

Re: [Cvslog] r22687 - /lyx-devel/trunk/src/support/filetools.cpp

2008-01-28 Thread Jean-Marc Lasgouttes
[EMAIL PROTECTED] writes: > Author: rgheck > Date: Sat Jan 26 21:41:19 2008 > New Revision: 22687 > > URL: http://www.lyx.org/trac/changeset/22687 > Log: > Fix some problems in makeAbsPath(): > i. It didn't handle a leading "~" Is it really supposed to? This tilde is only used for nice display r

Re: r22695 - in /lyx-devel/trunk/src: Paragraph.cpp Paragraph...

2008-01-28 Thread Abdelrazak Younes
[EMAIL PROTECTED] wrote: Author: lasgouttes Date: Mon Jan 28 11:50:24 2008 New Revision: 22695 URL: http://www.lyx.org/trac/changeset/22695 Log: * src/Text.cpp (changeCase): do not set the selection if it was not already set. * src/Paragraph.cpp (changeCase): make sure to update the select

Re: [Cvslog] r22687 - /lyx-devel/trunk/src/support/filetools.cpp

2008-01-28 Thread Jürgen Spitzmüller
rgheck wrote: > Or this? OK. Jürgen

Re: [Cvslog] r22686 - /lyx-devel/trunk/src/buffer_funcs.cpp

2008-01-28 Thread Jürgen Spitzmüller
rgheck wrote: > You want this for branch? OK. Jürgen

Re: searching for frame icons for the math toolbar

2008-01-28 Thread Hans Meine
Am Mittwoch, 23. Januar 2008 09:33:18 schrieb Jean-Marc Lasgouttes: > Uwe Stöhr <[EMAIL PROTECTED]> writes: > > The math toolbar misses a submenu where the user can insert the following > > boxes \fbox, \framebox, \mbox, \makebox, and \boxed > > > > Has anybody a proposal for icons for them? > > Do

Re: [PATCH] Proof Box Fix

2008-01-28 Thread Jean-Marc Lasgouttes
rgheck <[EMAIL PROTECTED]> writes: > I'm getting the proof box slightly off the right edge of the screen. > This fixes it for me. Are other people seeing this behavior? > > This is branch and trunk, by the way, though the patch is for trunk. Why the 1.5 factor? Is looks arbitrary. I would rather