Re: LyxBlogger for Easy WordPress Publishing

2010-03-18 Thread Jack Desert
> By the way, since you remark on how elyxer handles footnotes, I'd > appreciate your views about the way footnotes are done in LyX. If I > do say so myself, it is extremely cool, but I fear it may be too > cool. To read the footnote you either have to keep your mouse on the > number or else move

Re: InsetTabular Warnings

2010-03-18 Thread Uwe Stöhr
Am 19.03.2010 02:15, schrieb Vincent van Ravesteijn - TNW: Why exactly is this horrific? Because you store things in variables that are not used anywhere. Constructions with the ? And : operators, without proper spacing and then a conditional assignment at the end, which value is also assigned

RE: r33797 - lyx-devel/trunk/src

2010-03-18 Thread Vincent van Ravesteijn - TNW
>+ >+ // if the metrics have not been calculated, then we are not >+ // on screen and can safely ignore issues about boundaries. >+ if (!contains(pit)) >+ return false; >+ I don't like this. The function is called: isRTLBoundary(), so I expect it to return whether the

Please Stop Cursor Blinking When It Is Off-Screen

2010-03-18 Thread rgheck
Investigation of #6454 revealed that we are blinking the cursor even when it is off screen, causing recalculations of paragraph metrics, which may have weird side effects---such as #6454. Can someone please stop the cursor from blinking when it isn't on the screen? At least most of the time?

Re: r33780 (tabular stuff)

2010-03-18 Thread Uwe Stöhr
>> I don't understand. The valignment is set either via the context menu or the >> tabular dialog. > > these are greyed out and not active here (anyone else see this?) Please use my example LyX file: http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg158727.html > the following code can mov

RE: InsetTabular Warnings

2010-03-18 Thread Vincent van Ravesteijn - TNW
>> Besides this code is truly horrific: > >Why exactly is this horrific? > Because you store things in variables that are not used anywhere. Constructions with the ? And : operators, without proper spacing and then a conditional assignment at the end, which value is also assigned to some magic var

Re: InsetTabular Warnings

2010-03-18 Thread Uwe Stöhr
Am 17.03.2010 13:45, schrieb Vincent van Ravesteijn - TNW: gcc 4.4.3 is throwing a lot of warnings here: Hmm not here on MSVC. Sorry that I therefore haven't seen this. Besides this code is truly horrific: Why exactly is this horrific? + // store the height for every cell + /

Re: Bug 6454: Where Things Stand

2010-03-18 Thread Dov Feldstern
On Fri, Mar 19, 2010 at 1:25 AM, Dov Feldstern wrote: > On Fri, Mar 19, 2010 at 1:22 AM, rgheck wrote: >> On 03/18/2010 07:01 PM, Dov Feldstern wrote: >>> >>> So, in order to figure this out, I added the debug prints mentioned >>> above, and then I noticed that only when we're at the end of a wor

Re: Bug 6454: Where Things Stand

2010-03-18 Thread Dov Feldstern
On Fri, Mar 19, 2010 at 1:22 AM, rgheck wrote: > On 03/18/2010 07:01 PM, Dov Feldstern wrote: >> >> So, in order to figure this out, I added the debug prints mentioned >> above, and then I noticed that only when we're at the end of a word, >> but not anywhere else, then a line is printed every tim

Re: Bug 6454: Where Things Stand

2010-03-18 Thread rgheck
On 03/18/2010 07:01 PM, Dov Feldstern wrote: So, in order to figure this out, I added the debug prints mentioned above, and then I noticed that only when we're at the end of a word, but not anywhere else, then a line is printed every time the cursor blinks --- whether or not the cursor is on the

Re: Bug 6454: Where Things Stand

2010-03-18 Thread rgheck
On 03/18/2010 06:47 PM, Vincent van Ravesteijn - TNW wrote: Yes, that's right. So does the attached make sense? It seems to solve it for me, but I have no idea what it does to the RTL stuff. The problems seems to be that we want to draw the cursor, even if it's not visible. So what my

RE: Bug 6454: Where Things Stand

2010-03-18 Thread Vincent van Ravesteijn - TNW
>I don't remember: is it correct that boundary only affect the cursor's display? No, probably not. If the cursor is displayed somewhere else, newly entered text will appear somewhere else. >If so, and if we're correct that the metrics will not exist only when the >cursor's paragraph is off the s

Re: Bug 6454: Where Things Stand

2010-03-18 Thread Dov Feldstern
On Thu, Mar 18, 2010 at 11:47 PM, rgheck wrote: > > And adding the list here, too > > On 03/18/2010 05:22 PM, Dov Feldstern wrote: >> >> On Thu, Mar 18, 2010 at 5:48 PM, rgheck  wrote: >> . >> . >> >>> I'm guessing that this is the cause of the problem. >>> >>> >>> Where ought the position to

Re: New RefStyle Patch

2010-03-18 Thread rgheck
On 03/18/2010 06:36 PM, Julien Rioux wrote: (1) refstyle does not know about theorems and lemmas by default. What mechanism should we use for declaring the reference styles? Seems to me that this should be fixed upstream, in the refstyle package. That's a good idea. I'll write the maint

RE: Bug 6454: Where Things Stand

2010-03-18 Thread Vincent van Ravesteijn - TNW
>Yes, that's right. So does the attached make sense? It seems >to solve it for me, but I have no idea what it does to the RTL stuff. The problems seems to be that we want to draw the cursor, even if it's not visible. To compute the height and place of the cursor, we retrieve what font the text has

Re: New RefStyle Patch

2010-03-18 Thread Julien Rioux
rgheck writes: > > Here's a patch updated to current trunk, since I incremented the format > for another reason. > > There are a couple conceptual issues. > > (1) refstyle does not know about theorems and lemmas by default. What > mechanism should we use for declaring the reference styles? S

Re: Instant preview

2010-03-18 Thread rgheck
On 03/18/2010 06:23 PM, venom00 wrote: Hi, I'm playing with instant-preview and noticed it doesn't include the LaTeX preamble in the temp tex file, so my child document doesn't get rendered well. Before submitting a bug, I'll try to fix it, but I'm not very experienced with SVN. That may be

Instant preview

2010-03-18 Thread venom00
Hi, I'm playing with instant-preview and noticed it doesn't include the LaTeX preamble in the temp tex file, so my child document doesn't get rendered well. Before submitting a bug, I'll try to fix it, but I'm not very experienced with SVN. Thanks. venom00

Re: IRC channel

2010-03-18 Thread rgheck
On 03/18/2010 05:45 PM, venom00 wrote: Hi! Why don't you create a IRC chan for quick discussions? It would be very interesting! Maybe on Freenode. Let me know! Do you know how to create such a thing? If so, please do, and then post info here. We can arrange to have it posted on the website.

Re: Bug 6454: Where Things Stand

2010-03-18 Thread rgheck
And adding the list here, too On 03/18/2010 05:22 PM, Dov Feldstern wrote: On Thu, Mar 18, 2010 at 5:48 PM, rgheck wrote: . . I'm guessing that this is the cause of the problem. Where ought the position to have been set? I'm not sure I understand this question... Isn't the real ques

IRC channel

2010-03-18 Thread venom00
Hi! Why don't you create a IRC chan for quick discussions? It would be very interesting! Maybe on Freenode. Let me know! venom00

Re: Bug 6454: Where Things Stand

2010-03-18 Thread Dov Feldstern
Whoops, adding back the list (haven't done this for a while...!) On Thu, Mar 18, 2010 at 11:22 PM, Dov Feldstern wrote: > On Thu, Mar 18, 2010 at 5:48 PM, rgheck wrote: > . > . >> I'm guessing that this is the cause of the problem. >> >> >> Where ought the position to have been set? >> >> > > I'

New RefStyle Patch

2010-03-18 Thread rgheck
Here's a patch updated to current trunk, since I incremented the format for another reason. There are a couple conceptual issues. (1) refstyle does not know about theorems and lemmas by default. What mechanism should we use for declaring the reference styles? One possibility is to include t

Re: LyxBlogger for Easy WordPress Publishing

2010-03-18 Thread Alex Fernandez
Hi Richard, On Thu, Mar 18, 2010 at 6:06 PM, rgheck wrote: > You have to use firefox to view the latter because LyX produces MathML. I > haven't done anything yet to try to make that work in Incredibly Eccentric > browsers (and konqueror has no MathML support at all, so far as I can see). > Event

Building with VS10

2010-03-18 Thread venom00
Hello, I'm trying to build LyX with MSVC 10.0 but I receive the following error. Any idea on how to solve? The code comes from the 1.6.x branch. Thanks in advance. Great work! ;) venom00 cl /Forelease\src\frontends\qt4\GuiCommandBuffer.obj /c D:\unzipped\lyx166\BRANCH_1_6_X\src\frontends\qt4\Gui

Re: LyxBlogger for Easy WordPress Publishing

2010-03-18 Thread rgheck
On 03/18/2010 01:43 PM, Abdelrazak Younes wrote: On 03/18/2010 06:06 PM, rgheck wrote: You have to use firefox to view the latter because LyX produces MathML. I haven't done anything yet to try to make that work in Incredibly Eccentric browsers (and konqueror has no MathML support at all, so f

Re: LyxBlogger for Easy WordPress Publishing

2010-03-18 Thread Abdelrazak Younes
On 03/18/2010 06:06 PM, rgheck wrote: You have to use firefox to view the latter because LyX produces MathML. I haven't done anything yet to try to make that work in Incredibly Eccentric browsers (and konqueror has no MathML support at all, so far as I can see). Eventually, we'll have an "expor

Re: LyxBlogger for Easy WordPress Publishing

2010-03-18 Thread rgheck
On 03/17/2010 10:56 PM, Jack Desert wrote: I have created a tool called LyxBlogger which simplifies the process of getting LyX-created documents into a WordPress blog. It basically converts to html using eLyXer and then copies to the clipboard using Xclip. Someone suggested I mention it on this l

Re: The RefStyle Patch

2010-03-18 Thread rgheck
No, not that one either. Here's one that actually does work. The issue about converting labels is still there. I'll deal with that. Thanks for all the testing. rh Index: src/Buffer.cpp === --- src/Buffer.cpp (revision 33790) +++

Re: The RefStyle Patch

2010-03-18 Thread rgheck
On 03/18/2010 11:19 AM, Jean-Pierre Chrétien wrote: Jean-Pierre Chrétien writes: $ diff test_refstyle.lyx test_refstyle_379.lyx 2c2 < \lyxformat 378 --- \lyxformat 379 20d19 < 83,84c82,83 < LatexCommand prettyref < reference "par:Test-part" --- LatexCommand refst

Bug 6454: Where Things Stand

2010-03-18 Thread rgheck
So, in case anyone else wants to get in on this weird bug. The bug report contains some instructions about how to reproduce. Basically, take a longish document and put the cursor at the end of a word somewhere in the middle. Then scroll up or down for a while and click the mouse in the text.

LyxBlogger for Easy WordPress Publishing

2010-03-18 Thread Jack Desert
I have created a tool called LyxBlogger which simplifies the process of getting LyX-created documents into a WordPress blog. It basically converts to html using eLyXer and then copies to the clipboard using Xclip. Someone suggested I mention it on this list so that LyxBlogger could be included with

Re: The RefStyle Patch

2010-03-18 Thread Jean-Pierre Chrétien
Jean-Pierre Chrétien writes: > $ diff test_refstyle.lyx test_refstyle_379.lyx > 2c2 > < \lyxformat 378 > --- > > \lyxformat 379 > 20d19 > < > 83,84c82,83 > < LatexCommand prettyref > < reference "par:Test-part" > --- > > LatexCommand refstyle > > par:Test-part > Shouldn't the keyword "referen

Re: The RefStyle Patch

2010-03-18 Thread Jean-Pierre Chrétien
rgheck writes: > Another dumb bug. Try again with this one. OK, translation of the prettyref command works all right now with lyx2lyx, but I get this in lyx (same message with the format 378 original doc or with the lyx2lyx translated one): LyX: Unknown parameter name `part:Test-part' for com

Re: The RefStyle Patch

2010-03-18 Thread rgheck
On 03/18/2010 10:12 AM, Jean-Pierre Chrétien wrote: rgheck writes: On 03/18/2010 04:36 AM, Jean-Pierre Chrétien wrote: rgheck writes: Sorry. I'm not sure how the declaration of re_ref got commented out in the patch I posted. Here's a corrected one. Hm

Re: The RefStyle Patch

2010-03-18 Thread Jean-Pierre Chrétien
rgheck writes: > > On 03/18/2010 04:36 AM, Jean-Pierre Chrétien wrote: > > rgheck writes: > > > Sorry. I'm not sure how the declaration of re_ref got commented out in > the patch I posted. Here's a corrected one. Hmm, it does not seem to work, my test case included a part label, which is

Re: The RefStyle Patch

2010-03-18 Thread rgheck
On 03/18/2010 04:36 AM, Jean-Pierre Chrétien wrote: rgheck writes: Attached is the patch switching us from prettyref to refstyle. What happens at the moment is pretty minimal, but there is more that could now be done, e.g., allowing customization of the separator in labels, which still de

Re: sweave module and custom font issues

2010-03-18 Thread Liviu Andronic
On 3/18/10, Guenter Milde wrote: > Could you post a minimal tex file (i.e. the result of > File>Export>pdflatex). > Yes, see attached. Any obvious issues with it? Liviu newfile1.tex Description: TeX document

Re: LyX's LaTeX preferences dialog needs quick UI overhaul

2010-03-18 Thread Pavel Sanda
Enrico Forestieri wrote: > On Wed, Mar 17, 2010 at 02:29:03PM +0100, Pavel Sanda wrote: > > Enrico Forestieri wrote: > > > And now this seems to be broken. Have a look at the attached shots. > > > > the problem that the reported bug is not bug, but consequence of the fact > > that first two and la

Re: The RefStyle Patch

2010-03-18 Thread Jean-Pierre Chrétien
rgheck writes: > > > Attached is the patch switching us from prettyref to refstyle. What > happens at the moment is pretty minimal, but there is more that could > now be done, e.g., allowing customization of the separator in labels, > which still defaults to the colon. See bug 6420. > > Com

Re: LyX's LaTeX preferences dialog needs quick UI overhaul

2010-03-18 Thread Enrico Forestieri
On Wed, Mar 17, 2010 at 02:29:03PM +0100, Pavel Sanda wrote: > Enrico Forestieri wrote: > > And now this seems to be broken. Have a look at the attached shots. > > the problem that the reported bug is not bug, but consequence of the fact > that first two and last two combos are not part groupbox,

Re: Cleaning some files

2010-03-18 Thread Guenter Milde
On 2010-03-16, Pavel Sanda wrote: > - Seminar.txt : Uwe you might want to look at this file and either > delete it or add some note into out official manuals? This is a TODO description, obsoleted by "seminar.layout" since 2002. Günter

Re: sweave module and custom font issues

2010-03-18 Thread Guenter Milde
On 2010-03-16, Liviu Andronic wrote: > --0016e6d99b98aa25240481f389dc > Content-Type: text/plain; charset=UTF-8 > Dear LyX developers > I notice this issue in current SVN (probably Alpha1): > 1. open a new 'article' document > 2. add the Sweave module > 3. write "something" > 4. change Document >