Re: spellchecker for lyx 2.0 rc2

2011-04-17 Thread Stephan Witt
Am 17.04.2011 um 03:12 schrieb Joost Verburg: Julien Rioux jri...@physics.utoronto.ca wrote in message news:iod00u$hei$1...@dough.gmane.org... You would need to make aspell visible to the configure script by putting the path to aspell.exe in your PATH environment variable or alternatively

RE: Too much options in LyX

2011-04-17 Thread venom00
On 14-4-2011 19:22, venom00 wrote: Here's the patch. I hope works fine. It would be nice to put it in 2.0 but I think it's impossible as it's late and I've added a string (Search, maybe we already have it). Moreover it's my first patch in C++ to LyX, so probably it will be full of

Re: Too much options in LyX

2011-04-17 Thread Vincent van Ravesteijn
On 17-4-2011 11:58, venom00 wrote: On 14-4-2011 19:22, venom00 wrote: Here's the patch. I hope works fine. It would be nice to put it in 2.0 but I think it's impossible as it's late and I've added a string (Search, maybe we already have it). Moreover it's my first patch in C++ to LyX, so

password to approve URIs

2011-04-17 Thread Liviu Andronic
Hello I've added some links for Beamer and I'd like to approve them. Could someone send me the password? Thank you Liviu -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write?

Re: Too much options in LyX

2011-04-17 Thread Vincent van Ravesteijn
On 13-4-2011 16:26, venom00 wrote: Here's the patch. I hope works fine. It would be nice to put it in 2.0 but I think it's impossible as it's late and I've added a string (Search, maybe we already have it). Moreover it's my first patch in C++ to LyX, so probably it will be full of

Re: r38426 - in lyx-devel/trunk: development/scons lib lib/layouts

2011-04-17 Thread Richard Heck
On 04/16/2011 11:47 PM, uwesto...@lyx.org wrote: Author: uwestoehr Date: Sun Apr 17 05:47:58 2011 New Revision: 38426 URL: http://www.lyx.org/trac/changeset/38426 Log: stdlyxlist.inc: add missing things from r38424 (I'm back home.) Thanks, Uwe, and welcome back. We missed you. Richard

Re: Too much options in LyX

2011-04-17 Thread Richard Heck
On 04/17/2011 06:46 AM, Vincent van Ravesteijn wrote: On 13-4-2011 16:26, venom00 wrote: + // Try to cast to the most common widgets and looks in it's content by each + // It's bad OOP, it would be nice to have a QWidget::toString()

Re: Too much options in LyX

2011-04-17 Thread Peter Kümmel
On 17.04.2011 16:01, Richard Heck wrote: On 04/17/2011 06:46 AM, Vincent van Ravesteijn wrote: On 13-4-2011 16:26, venom00 wrote: + // Try to cast to the most common widgets and looks in it's content by each + // It's bad OOP, it would be

RE: Too much options in LyX

2011-04-17 Thread venom00
We try to sort the includes. OK #if QT_VERSION = 0x040700 + search_-setPlaceholderText(tr(Search)); #endif Nice. if (!item-child(i)-isDisabled()) { (although now I see this is introduced in Qt 4.3) I was using other flags before the final patch,

Re: Too much options in LyX

2011-04-17 Thread Peter Kümmel
+ if (QAbstractButton * button = qobject_castQAbstractButton *(children[child_index])) { + widget_matches = (new QString(button-text()))-replace('', ) + .contains(search,

Re: Too much options in LyX

2011-04-17 Thread Peter Kümmel
public Q_SLOTS: + /// the option filter changed + void filterChanged(QString search); Pass by reference: + void filterChanged(QString const search); Peter

RE: Too much options in LyX

2011-04-17 Thread venom00
+ if (QAbstractButton * button = qobject_castQAbstractButton *(children[child_index])) { + widget_matches = (new QString(button-text()))-replace('', ) + .contains(search,

Re: Too much options in LyX

2011-04-17 Thread Peter Kümmel
- To translate the string I used tr(Search), is that correct? We use gettext, there and also here underscore is common: _(Search); - Currently the widgets are highlighted in red, alternative ideas? Maybe bold or nothing at all. - Do you think a rubber button in (or next to) the

Re: Layout questions

2011-04-17 Thread Marcus Kriele
Sat, 16 Apr 2011 13:00:04 -0700Julien Rioux On 16/04/2011 3:40 PM, Marcus Kriele wrote: 3) I am implementing support for a part sectioning command that prints some additional text on the next (otherwise empty) page. In the environment that contains the additional text I do not

Re: Too much options in LyX

2011-04-17 Thread Peter Kümmel
On 17.04.2011 17:52, venom00 wrote: + if (QAbstractButton * button = qobject_castQAbstractButton *(children[child_index])) { + widget_matches = (new QString(button-text()))-replace('', ) +

Re: #7394, Crash in reverse serach

2011-04-17 Thread Peter Kümmel
On 15.04.2011 01:22, Enrico Forestieri wrote: On Thu, Apr 14, 2011 at 07:00:34PM -0400, Richard Heck wrote: On 04/14/2011 05:58 PM, Enrico Forestieri wrote: On Thu, Apr 14, 2011 at 09:53:46PM +0200, Peter Kuemmel wrote: This patch

Re: Too much options in LyX

2011-04-17 Thread Jean-Marc Lasgouttes
Le 17/04/11 17:30, venom00 a écrit : I think this syntax it's very hard to understand, we should use Qt's foreach macro (if we'll ever want to drop Qt it's just a file to import), much more elegant. However if it's a strict coding rule I'll follow it. We do have our own foreach

Re: Layout questions

2011-04-17 Thread Julien Rioux
On 17/04/2011 12:02 PM, Marcus Kriele wrote: Sat, 16 Apr 2011 13:00:04 -0700Julien Rioux On 16/04/2011 3:40 PM, Marcus Kriele wrote: 3) I am implementing support for a part sectioning command that prints some additional text on the next (otherwise empty) page. In the environment that

Re: Layout questions

2011-04-17 Thread Marcus Kriele
On 04/16/2011 04:12 PM, Richard Heck wrote: On 04/16/2011 03:59 PM, Julien Rioux wrote: On 16/04/2011 3:40 PM, Marcus Kriele wrote: I am trying to address bug #7301 concerning the Springer layout files, On looking at this now, I see that NextNoIndent

Re: Layout questions

2011-04-17 Thread Marcus Kriele
On 04/16/2011 04:12 PM, Richard Heck wrote: On 04/16/2011 03:59 PM, Julien Rioux wrote: On 16/04/2011 3:40 PM, Marcus Kriele wrote: I am trying to address bug #7301 concerning the Springer layout files, I'll fix the docs Actually, when I come to think of it, I might

Re: Layout questions

2011-04-17 Thread Jean-Marc Lasgouttes
Le 17/04/11 18:27, Marcus Kriele a écrit : Actually, when I come to think of it, I might have tried to use NextNoIndent where the following paragraph was not the default style. So it would be helpful to add to the description that NextNoIndent only has an effect if the following paragraph has

Re: LyX Beamer Sweave: makebeamertitle not being defined?

2011-04-17 Thread Pavel Sanda
Julien Rioux wrote: On 16/04/2011 4:37 PM, Julien Rioux wrote: Liviu, does it help with this patch? i.e. just change the Preamble line to AddToPreamble -- Index: sweave.module === --- sweave.module (revision 38405)

Re: Too much options in LyX

2011-04-17 Thread Vincent van Ravesteijn
On 17-4-2011 17:59, Peter Kümmel wrote: - To translate the string I used tr(Search), is that correct? We use gettext, there and also here underscore is common: _(Search); The correct way in the frontends/qt4 part is to use qt_(Search) instead. - Currently the widgets are highlighted

Re: Too much options in LyX

2011-04-17 Thread Vincent van Ravesteijn
On 17-4-2011 17:30, venom00 wrote: We try to sort the includes. OK #if QT_VERSION = 0x040700 + search_-setPlaceholderText(tr(Search)); #endif Nice. if (!item-child(i)-isDisabled()) { (although now I see this is introduced in Qt 4.3) I was using

Preview dvi/ps shows old document on empty document.

2011-04-17 Thread Tommaso Cucinotta
KK: C-n (create new doc) KK: a KK: C-d (preview dvi) KK: \[Backspace] KK: C-d (preview dvi) LyX doesn't show anything and reports error etc..., fine. Check out this now: KK: C-d (preview dvi) LyX shows a document with a single `a' in the DVI previewer (i.e., the old document before deleting

RE: Too much options in LyX

2011-04-17 Thread venom00
I've no clue what a rubber button is. But something to clear the field would be useful. A rubber :P you use it to delete things you wrote with a pencil. Take a look at the Eclipse option dialog, there's a small rubber inside the search box. I don't know whether we can use it as it was only

Re: A basic requested feature

2011-04-17 Thread Andre Poenitz
On Fri, Apr 15, 2011 at 01:16:50AM +0200, Pavel Sanda wrote: let me guess, you still develop creator under vim and gdb ;) For debugging I am really eating my own dog food. Editing is by now about 50/50 real vim/fakevim, mostly depending on whether I expect a lot of navigation, tendency falling.

Re: Preview dvi/ps shows old document on empty document.

2011-04-17 Thread Vincent van Ravesteijn
On 17-4-2011 21:38, Tommaso Cucinotta wrote: KK: C-n (create new doc) KK: a KK: C-d (preview dvi) KK: \[Backspace] KK: C-d (preview dvi) LyX doesn't show anything and reports error etc..., fine. Check out this now: KK: C-d (preview dvi) LyX shows a document with a single `a' in the

Re: Cut long patches to lyx-cvs

2011-04-17 Thread Jean-Marc Lasgouttes
Le 02/04/11 16:32, Pavel Sanda a écrit : btw could we get updated doxygen documentation on the server? pavel This is done now. (easier than pmwiki!) JMarc

Re: Cut long patches to lyx-cvs

2011-04-17 Thread Pavel Sanda
Jean-Marc Lasgouttes wrote: Le 02/04/11 16:32, Pavel Sanda a écrit : btw could we get updated doxygen documentation on the server? pavel This is done now. (easier than pmwiki!) good news, thanks pavel

Re: Cut long patches to lyx-cvs

2011-04-17 Thread Jean-Marc Lasgouttes
Le 17/04/11 23:39, Pavel Sanda a écrit : This is done now. (easier than pmwiki!) good news, thanks For pmwiki I am not even able to understand how the current booki3Ai password is set. Grep does not turn it up, either in plain text, not in crypt()ed version. I am not sure what Christian

PDF images in LyX RC3

2011-04-17 Thread Diego Queiroz
Hello. I am running LyX RC3 (unofficial Windows release) and I am experiencing some problems when I insert PDF images in a LyX document. In the image placeholder I can read Error converting to loadable format, this is probably some error with ImageMagick (the convertDefault.py script is run) but

Re: Preview dvi/ps shows old document on empty document.

2011-04-17 Thread Tommaso Cucinotta
Il 17/04/2011 21:53, Vincent van Ravesteijn ha scritto: On 17-4-2011 21:38, Tommaso Cucinotta wrote: KK: C-n (create new doc) KK: a KK: C-d (preview dvi) KK: \[Backspace] KK: C-d (preview dvi) LyX doesn't show anything and reports error etc..., fine. Check out this now: KK: C-d (preview dvi)

Re: floating figure bug with lyx 1.6.9

2011-04-17 Thread Jürgen Spitzmüller
Paul A. Rubin wrote: I'm not sure. LyX wrapped the left bracket in Brent's file in braces. If you instead enter the left bracket in ERT, the bracket prints out and the text wraps correctly. So the braces seem to be the culprit. I don't know why LyX adds the braces, but to me that's the

Re: A basic requested feature

2011-04-17 Thread Andre Poenitz
On Fri, Apr 15, 2011 at 01:16:50AM +0200, Pavel Sanda wrote: > let me guess, you still develop creator under vim and gdb ;) For debugging I am really eating my own dog food. Editing is by now about 50/50 real vim/fakevim, mostly depending on whether I expect a lot of navigation, tendency falling.

Re: Preview dvi/ps shows old document on empty document.

2011-04-17 Thread Vincent van Ravesteijn
On 17-4-2011 21:38, Tommaso Cucinotta wrote: > KK: C-n (create new doc) > KK: a > KK: C-d (preview dvi) > KK: \[Backspace] > KK: C-d (preview dvi) > > LyX doesn't show anything and reports "error etc...", fine. Check out this > now: > > KK: C-d (preview dvi) > > LyX shows a document with a

Re: Cut long patches to lyx-cvs

2011-04-17 Thread Jean-Marc Lasgouttes
Le 02/04/11 16:32, Pavel Sanda a écrit : btw could we get updated doxygen documentation on the server? pavel This is done now. (easier than pmwiki!) JMarc

Re: Cut long patches to lyx-cvs

2011-04-17 Thread Pavel Sanda
Jean-Marc Lasgouttes wrote: > Le 02/04/11 16:32, Pavel Sanda a écrit : >> btw could we get updated doxygen documentation on the server? >> pavel > > This is done now. (easier than pmwiki!) good news, thanks pavel

Re: Cut long patches to lyx-cvs

2011-04-17 Thread Jean-Marc Lasgouttes
Le 17/04/11 23:39, Pavel Sanda a écrit : This is done now. (easier than pmwiki!) good news, thanks For pmwiki I am not even able to understand how the current booki3Ai password is set. Grep does not turn it up, either in plain text, not in crypt()ed version. I am not sure what Christian

PDF images in LyX RC3

2011-04-17 Thread Diego Queiroz
Hello. I am running LyX RC3 (unofficial Windows release) and I am experiencing some problems when I insert PDF images in a LyX document. In the image placeholder I can read "Error converting to loadable format", this is probably some error with ImageMagick (the convertDefault.py script is run)

Re: Preview dvi/ps shows old document on empty document.

2011-04-17 Thread Tommaso Cucinotta
Il 17/04/2011 21:53, Vincent van Ravesteijn ha scritto: On 17-4-2011 21:38, Tommaso Cucinotta wrote: KK: C-n (create new doc) KK: a KK: C-d (preview dvi) KK: \[Backspace] KK: C-d (preview dvi) LyX doesn't show anything and reports "error etc...", fine. Check out this now: KK: C-d (preview

Re: floating figure bug with lyx 1.6.9

2011-04-17 Thread Jürgen Spitzmüller
Paul A. Rubin wrote: > I'm not sure. LyX wrapped the left bracket in Brent's file in braces. If > you instead enter the left bracket in ERT, the bracket prints out and the > text wraps correctly. So the braces seem to be the culprit. I don't know > why LyX adds the braces, but to me that's the

Re: spellchecker for lyx 2.0 rc2

2011-04-17 Thread Stephan Witt
Am 17.04.2011 um 03:12 schrieb Joost Verburg: > "Julien Rioux" wrote in message > news:iod00u$hei$1...@dough.gmane.org... >> You would need to make aspell visible to the configure script by putting the >> path to aspell.exe in your PATH environment variable or

RE: Too much options in LyX

2011-04-17 Thread venom00
> On 14-4-2011 19:22, venom00 wrote: > >> Here's the patch. I hope works fine. It would be nice to put > >> it in 2.0 but I think it's impossible as it's late and I've > >> added a string ("Search", maybe we already have it). Moreover > >> it's my first patch in C++ to LyX, so probably it will

Re: Too much options in LyX

2011-04-17 Thread Vincent van Ravesteijn
On 17-4-2011 11:58, venom00 wrote: >> On 14-4-2011 19:22, venom00 wrote: Here's the patch. I hope works fine. It would be nice to put it in 2.0 but I think it's impossible as it's late and I've added a string ("Search", maybe we already have it). Moreover it's my first patch

password to approve URIs

2011-04-17 Thread Liviu Andronic
Hello I've added some links for Beamer and I'd like to approve them. Could someone send me the password? Thank you Liviu -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write?

Re: Too much options in LyX

2011-04-17 Thread Vincent van Ravesteijn
On 13-4-2011 16:26, venom00 wrote: > Here's the patch. I hope works fine. It would be nice to put it in 2.0 but I > think it's impossible as it's late and I've added a string ("Search", maybe > we already have it). Moreover it's my first patch in C++ to LyX, so probably > it will be full of

Re: r38426 - in lyx-devel/trunk: development/scons lib lib/layouts

2011-04-17 Thread Richard Heck
On 04/16/2011 11:47 PM, uwesto...@lyx.org wrote: Author: uwestoehr Date: Sun Apr 17 05:47:58 2011 New Revision: 38426 URL: http://www.lyx.org/trac/changeset/38426 Log: stdlyxlist.inc: add missing things from r38424 (I'm back home.) Thanks, Uwe, and welcome back. We missed you. Richard

Re: Too much options in LyX

2011-04-17 Thread Richard Heck
On 04/17/2011 06:46 AM, Vincent van Ravesteijn wrote: On 13-4-2011 16:26, venom00 wrote: + // Try to cast to the most common widgets and looks in it's content by each + // It's bad OOP, it would be nice to have a QWidget::toString()

Re: Too much options in LyX

2011-04-17 Thread Peter Kümmel
On 17.04.2011 16:01, Richard Heck wrote: > On 04/17/2011 06:46 AM, Vincent van Ravesteijn wrote: >> On 13-4-2011 16:26, venom00 wrote: >> >>> + // Try to cast to the most common widgets and >>> looks in it's content by each >>> + // It's bad

RE: Too much options in LyX

2011-04-17 Thread venom00
> We try to sort the includes. OK > #if QT_VERSION >= 0x040700 > > + search_->setPlaceholderText(tr("Search")); > #endif Nice. > if (!item->child(i)->isDisabled()) { > (although now I see this is introduced in Qt 4.3) I was using other flags before the final

Re: Too much options in LyX

2011-04-17 Thread Peter Kümmel
> + if (QAbstractButton * button = > qobject_cast(children[child_index])) { > + widget_matches = (new > QString(button->text()))->replace('&', "") > + .contains(search, >

Re: Too much options in LyX

2011-04-17 Thread Peter Kümmel
> public Q_SLOTS: > + /// the option filter changed > + void filterChanged(QString search); Pass by reference: > + void filterChanged(QString const & search); Peter

RE: Too much options in LyX

2011-04-17 Thread venom00
> > + if (QAbstractButton * button = > qobject_cast(children[child_index])) { > > + widget_matches = (new > QString(button->text()))->replace('&', "") > > + > .contains(search,

Re: Too much options in LyX

2011-04-17 Thread Peter Kümmel
> > - To translate the string I used tr("Search"), is that correct? We use gettext, there and also here underscore is common: _("Search"); > - Currently the widgets are highlighted in red, alternative ideas? Maybe bold > or > nothing at all. > - Do you think a "rubber" button in (or next to)

Re: Layout questions

2011-04-17 Thread Marcus Kriele
Sat, 16 Apr 2011 13:00:04 -0700Julien Rioux On 16/04/2011 3:40 PM, Marcus Kriele wrote: 3) I am implementing support for a part sectioning command that prints some additional text on the next (otherwise empty) page. In the environment that contains the additional text I do not

Re: Too much options in LyX

2011-04-17 Thread Peter Kümmel
On 17.04.2011 17:52, venom00 wrote: >>> + if (QAbstractButton * button = >> qobject_cast(children[child_index])) { >>> + widget_matches = (new >> QString(button->text()))->replace('&', "") >>> +

Re: #7394, Crash in reverse serach

2011-04-17 Thread Peter Kümmel
On 15.04.2011 01:22, Enrico Forestieri wrote: > On Thu, Apr 14, 2011 at 07:00:34PM -0400, Richard Heck wrote: >> On 04/14/2011 05:58 PM, Enrico Forestieri wrote: >>> On Thu, Apr 14, 2011 at 09:53:46PM +0200, Peter Kuemmel wrote: This patch

Re: Too much options in LyX

2011-04-17 Thread Jean-Marc Lasgouttes
Le 17/04/11 17:30, venom00 a écrit : I think this syntax it's very hard to understand, we should use Qt's foreach macro (if we'll ever want to drop Qt it's just a file to import), much more elegant. However if it's a strict coding rule I'll follow it. We do have our own foreach

Re: Layout questions

2011-04-17 Thread Julien Rioux
On 17/04/2011 12:02 PM, Marcus Kriele wrote: Sat, 16 Apr 2011 13:00:04 -0700Julien Rioux On 16/04/2011 3:40 PM, Marcus Kriele wrote: 3) I am implementing support for a part sectioning command that prints some additional text on the next (otherwise empty) page. In the environment that

Re: Layout questions

2011-04-17 Thread Marcus Kriele
On 04/16/2011 04:12 PM, Richard Heck wrote: On 04/16/2011 03:59 PM, Julien Rioux wrote: On 16/04/2011 3:40 PM, Marcus Kriele wrote: I am trying to address bug #7301 concerning the Springer layout files, On looking at this now, I see that NextNoIndent

Re: Layout questions

2011-04-17 Thread Marcus Kriele
On 04/16/2011 04:12 PM, Richard Heck wrote: On 04/16/2011 03:59 PM, Julien Rioux wrote: On 16/04/2011 3:40 PM, Marcus Kriele wrote: I am trying to address bug #7301 concerning the Springer layout files, I'll fix the docs Actually, when I come to think of it, I might

Re: Layout questions

2011-04-17 Thread Jean-Marc Lasgouttes
Le 17/04/11 18:27, Marcus Kriele a écrit : Actually, when I come to think of it, I might have tried to use NextNoIndent where the following paragraph was not the default style. So it would be helpful to add to the description that NextNoIndent only has an effect if the following paragraph has

Re: LyX Beamer Sweave: makebeamertitle not being defined?

2011-04-17 Thread Pavel Sanda
Julien Rioux wrote: > On 16/04/2011 4:37 PM, Julien Rioux wrote: >> Liviu, >> does it help with this patch? i.e. just change the Preamble line to >> AddToPreamble >> >> -- >> >> Index: sweave.module >> === >> --- sweave.module

Re: Too much options in LyX

2011-04-17 Thread Vincent van Ravesteijn
On 17-4-2011 17:59, Peter Kümmel wrote: > >> >> - To translate the string I used tr("Search"), is that correct? > > We use gettext, there and also here underscore is common: > _("Search"); The correct way in the frontends/qt4 part is to use qt_("Search") instead. > >> - Currently the widgets

Re: Too much options in LyX

2011-04-17 Thread Vincent van Ravesteijn
On 17-4-2011 17:30, venom00 wrote: >> We try to sort the includes. > > OK > >> #if QT_VERSION >= 0x040700 >>> + search_->setPlaceholderText(tr("Search")); >> #endif > > Nice. > >> if (!item->child(i)->isDisabled()) { >> (although now I see this is introduced in

Preview dvi/ps shows old document on empty document.

2011-04-17 Thread Tommaso Cucinotta
KK: C-n (create new doc) KK: a KK: C-d (preview dvi) KK: \[Backspace] KK: C-d (preview dvi) LyX doesn't show anything and reports "error etc...", fine. Check out this now: KK: C-d (preview dvi) LyX shows a document with a single `a' in the DVI previewer (i.e., the old document before

RE: Too much options in LyX

2011-04-17 Thread venom00
> I've no clue what a "rubber" button is. But something to clear the field would be useful. A rubber :P you use it to delete things you wrote with a pencil. Take a look at the Eclipse option dialog, there's a small rubber inside the search box. > I don't know whether we can use it as it was only