Re: Simple cmake question

2010-03-12 Thread BH
On Fri, Mar 12, 2010 at 4:35 PM, Peter Kümmel wrote: > Kornel Benko wrote: >> Am Freitag 12 März 2010 schrieb Peter Kümmel: >>> /opt/local/lib is a directory only and I assume ENCHANT_LIBRARY should >>>  point to a existing library. >>> >>> Kornel's comment was about the cmake command which search

Re: Error List Patch

2010-03-12 Thread rgheck
On 03/12/2010 05:49 PM, rgheck wrote: Here's a cleaned up version, minus all the debug stuff. Combined work of me and Abdel, fwiw. Seems to work here. Pavel, if it works for you, feel free to commit. rh

Re: [Patch] errorlist and cloned buffer (was Re: [PATCH] RefPrefix Tag

2010-03-12 Thread rgheck
On 03/12/2010 05:49 PM, Vincent van Ravesteijn - TNW wrote: I think it is related, but I don't really understand what's happening here. The attached seems to work, though. Is there a typo in GuiErrorList::errorList(), where we have: if (&bufferview()->buffer() == buf_) Should it be "!="? I

Error List Patch

2010-03-12 Thread rgheck
Here's a cleaned up version, minus all the debug stuff. rh Index: frontends/qt4/GuiView.cpp === --- frontends/qt4/GuiView.cpp (revision 33727) +++ frontends/qt4/GuiView.cpp (working copy) @@ -351,6 +351,8 @@ ///

RE: [Patch] errorlist and cloned buffer (was Re: [PATCH] RefPrefix Tag

2010-03-12 Thread Vincent van Ravesteijn - TNW
>I think it is related, but I don't really understand what's happening >here. The attached seems to work, though. > >Is there a typo in GuiErrorList::errorList(), where we have: > if (&bufferview()->buffer() == buf_) Should it be "!="? I guess I don't >understand what should happen in that case

Re: [Patch] errorlist and cloned buffer (was Re: [PATCH] RefPrefix Tag

2010-03-12 Thread rgheck
On 03/12/2010 05:19 PM, Vincent van Ravesteijn - TNW wrote: For some reason, it appears that there is no ErrorList in the main buffer. I've touched this today.. I hope I didn't break anything. If you wanna be sure try to revert the changes I made. I think it is related, but I don't re

RE: [Patch] errorlist and cloned buffer (was Re: [PATCH] RefPrefix Tag

2010-03-12 Thread Vincent van Ravesteijn - TNW
>For some reason, it appears that there is no ErrorList in the main buffer. > I've touched this today.. I hope I didn't break anything. If you wanna be sure try to revert the changes I made. Vincent

Re: [Patch] errorlist and cloned buffer (was Re: [PATCH] RefPrefix Tag

2010-03-12 Thread rgheck
On 03/12/2010 04:58 PM, rgheck wrote: On 03/12/2010 04:09 PM, Abdelrazak Younes wrote: On 12/03/2010 19:15, Pavel Sanda wrote: Comments welcome, of course, but the main question is for Pavel: Can this go now, or do you want me to wait? i would wait. Abdel its possible to look at the error dia

Re: [Patch] errorlist and cloned buffer (was Re: [PATCH] RefPrefix Tag

2010-03-12 Thread rgheck
On 03/12/2010 04:09 PM, Abdelrazak Younes wrote: On 12/03/2010 19:15, Pavel Sanda wrote: Comments welcome, of course, but the main question is for Pavel: Can this go now, or do you want me to wait? i would wait. Abdel its possible to look at the error dialog which do not appear anymore due to

Re: Simple cmake question

2010-03-12 Thread Peter Kümmel
Kornel Benko wrote: > Am Freitag 12 März 2010 schrieb Peter Kümmel: >> /opt/local/lib is a directory only and I assume ENCHANT_LIBRARY should >> point to a existing library. >> >> Kornel's comment was about the cmake command which searches for the >> 'enchant' library in existing directories: >>

Re: Simple cmake question

2010-03-12 Thread Kornel Benko
Am Freitag 12 März 2010 schrieb Peter Kümmel: > /opt/local/lib is a directory only and I assume ENCHANT_LIBRARY should > point to a existing library. > > Kornel's comment was about the cmake command which searches for the > 'enchant' library in existing directories: > find_library(ENCHANT_LIBRAR

Re: Simple cmake question

2010-03-12 Thread Kornel Benko
Am Freitag 12 März 2010 schrieb BH: > On Fri, Mar 12, 2010 at 1:25 PM, Kornel Benko wrote: > > Am Freitag 12 März 2010 schrieb Kornel Benko: > >> Am Freitag 12 März 2010 schrieb BH: > >> > I can't get cmake to recognize my enchant installation at /opt/local/. > >> > What cmake variable am I not se

[Patch] errorlist and cloned buffer (was Re: [PATCH] RefPrefix Tag

2010-03-12 Thread Abdelrazak Younes
On 12/03/2010 19:15, Pavel Sanda wrote: Comments welcome, of course, but the main question is for Pavel: Can this go now, or do you want me to wait? i would wait. Abdel its possible to look at the error dialog which do not appear anymore due to the buffer cloning? Does this patch hel

Re: Simple cmake question

2010-03-12 Thread Peter Kümmel
BH wrote: > On Fri, Mar 12, 2010 at 1:25 PM, Kornel Benko wrote: >> Am Freitag 12 März 2010 schrieb Kornel Benko: >>> Am Freitag 12 März 2010 schrieb BH: I can't get cmake to recognize my enchant installation at /opt/local/. What cmake variable am I not setting correctly? BH >>

Re: [PATCH] RefPrefix Tag

2010-03-12 Thread rgheck
On 03/12/2010 01:15 PM, Pavel Sanda wrote: Comments welcome, of course, but the main question is for Pavel: Can this go now, or do you want me to wait? i would wait. Then it will wait. rh

Re: Simple cmake question

2010-03-12 Thread BH
On Fri, Mar 12, 2010 at 1:25 PM, Kornel Benko wrote: > Am Freitag 12 März 2010 schrieb Kornel Benko: >> Am Freitag 12 März 2010 schrieb BH: >> > I can't get cmake to recognize my enchant installation at /opt/local/. >> > What cmake variable am I not setting correctly? >> > >> > BH >> >> To compile

Re: Simple cmake question

2010-03-12 Thread Kornel Benko
Am Freitag 12 März 2010 schrieb Kornel Benko: > Am Freitag 12 März 2010 schrieb BH: > > I can't get cmake to recognize my enchant installation at /opt/local/. > > What cmake variable am I not setting correctly? > > > > BH > > To compile, you need the development package. We are searching for inclu

Re: Simple cmake question

2010-03-12 Thread Kornel Benko
Am Freitag 12 März 2010 schrieb BH: > I can't get cmake to recognize my enchant installation at /opt/local/. > What cmake variable am I not setting correctly? > > BH > To compile, you need the development package. We are searching for include files _and_ for libraries. (So e.g. for ubuntu this

Re: [PATCH] RefPrefix Tag

2010-03-12 Thread Pavel Sanda
> Comments welcome, of course, but the main question is for Pavel: Can this > go now, or do you want me to wait? i would wait. Abdel its possible to look at the error dialog which do not appear anymore due to the buffer cloning? pavel

lyxrc.label_init_length

2010-03-12 Thread rgheck
So far as I can see, there is no way to set this from the gui. Should there be, or should it be removed? rh

[PATCH] RefPrefix Tag

2010-03-12 Thread rgheck
Somewhat preparatory to a patch converting us from prettyref to refstyle, this patch introduces RefPrefix tags for Layouts, InsetLayouts, and Floats, that tell us what prefix to use when making labels. This gets rid of lots of ugly hard-coding in Text::getPossibleLabel(), which will only get

Re: donating to LyX project

2010-03-12 Thread Abdelrazak Younes
On 03/12/2010 03:03 PM, Chris Reynolds wrote: Hi Abdel, Yes, we would like it to be a general donation towards LYX. How much would you consider a helpful donation. Give me a rough figure and I will then see what my budget allows for. Maybe we can cover an amount similar to your web hosting costs

Re: Tabular code question

2010-03-12 Thread Uwe Stöhr
Vincent van Ravesteijn - TNW schrieb: Ah.. You don't have MSVC project files because you're using scons right? Yes. Why don't you use Cmake as well. It generates a MSVC project for you, with all the benefits :) Last developer meeting Peter kindly showed my CMake. I wanted to switch to CMa

Re: Tabular code question

2010-03-12 Thread Uwe Stöhr
Vincent van Ravesteijn - TNW schrieb: Well, that's the point. I did this intensively several times but the tabular code simply miss any comment. MSCV comes with a beautiful search engine but when it comes to search more than one file I have to use a desktop search. But even this brings often no

RE: Tabular code question

2010-03-12 Thread Vincent van Ravesteijn - TNW
>>Well, that's the point. I did this intensively several times but the >>tabular code simply miss any comment. MSCV comes with a beautiful >>search engine but when it comes to search more than one file I have to >>use a desktop search. But even this brings often no results. > >Huh.. I can use Ct

RE: Tabular code question

2010-03-12 Thread Vincent van Ravesteijn - TNW
>>> p.s. I still don't understand how exactly dim.asc is calculated. >>> Where in the code is this done? >> >> Well. Have a look in the code then :S ? > >Well, that's the point. I did this intensively several >times but the tabular code simply miss any comment. MSCV >comes with a beautiful search

Re: Tabular code question

2010-03-12 Thread Uwe Stöhr
Vincent van Ravesteijn - TNW schrieb: Is there a way to access the metrics? 1. You can store all the asc en desc of the cells in CellData. This can be done in InsetTabular::metrics. This is now also done for the rows. (cell_info[row][col].asc = ...). 2. Or, maybe you can call something like

RE: Re: donating to LyX project

2010-03-12 Thread Chris Reynolds
Hi Abdel, Yes, we would like it to be a general donation towards LYX. How much would you consider a helpful donation. Give me a rough figure and I will then see what my budget allows for. Maybe we can cover an amount similar to your web hosting costs or such? Let me know. Chris R. >On 03/11/

LyX 2.0 on Mac: Thesaurus

2010-03-12 Thread BH
Is there a good way to include mythes dictionary files with LyX? One possibility would be to choose a group of common languages (though which these are I'm not sure) and include them in LyX.app/Contents/Resources/thesaurus, having the default thesaurus path point there. Is there a better option? B

LyX 2.0 on Mac: spelling

2010-03-12 Thread BH
Is there an easy way to get enchant to recognize the Mac native spellchecker? BH

Simple cmake question

2010-03-12 Thread BH
I can't get cmake to recognize my enchant installation at /opt/local/. What cmake variable am I not setting correctly? BH

RE: Tabular code question

2010-03-12 Thread Vincent van Ravesteijn - TNW
>The problem is that it doesn't compile because of an >unresolved external: > >InsetTabular.obj : error LNK2019: unresolved external >symbol "public: __thiscall lyx::MetricsInfo::MetricsInfo >(void)" (??0metricsi...@lyx@@q...@xz) referenced in >function "public: virtual void __thiscall lyx:: >Inse

Re: Did I ever mention how much I like LyX?

2010-03-12 Thread Martin Vermeer
On Fri, 12 Mar 2010 14:25:13 +1300 john wrote: > Steve Litt wrote: > > Hi all, > > > > Did I ever mention how much I like LyX? It's wonderful. I'm writing my new > > book right now, and LyX is so easy and transparent that I'm pounding out an > > average of 3,000 words per day. LyX just stays ou

latex2rtf version 2.1.0 released

2010-03-12 Thread Wilfried
Hello all, we finished release 2.1.0 of the latex2rtf converter which is included in the LyX distribution as export filter. It is available from http://sourceforge.net/projects/latex2rtf We are aware of the inevitable limitation that latex2rtf only converts the fixed subset of LaTeX markup which i