Re: pixmap cache

2008-04-23 Thread Joost Verburg
Andre Poenitz wrote: Is there a way to disable the pixmap cache or at least to clean it on shutdown? I smell a privacy problem here... There should be check box in the preferences windows (Look and feel > User interface). Joost

pixmap cache

2008-04-23 Thread Andre Poenitz
Is there a way to disable the pixmap cache or at least to clean it on shutdown? I smell a privacy problem here... Andre'

splash screen

2008-04-23 Thread Andre Poenitz
I rarely ever start LyX in something else than en_US, but today I did so with de_DE and noticed that the splash screen is in English. That's not exactly a show stopper, but as we otherwise put quite some effort into localization, this is somewhat disturbing... Andre'

Re: Time for alpha release (Take 4)

2008-04-23 Thread Pavel Sanda
> On Tuesday 22 April 2008 22:41:46 Pavel Sanda wrote: > > > I have placed the resulting packages at > > > http://www.lyx.org/~jamatos/lyx-1.6/ please test them. I have build > > > successfully in Fedora 9 (soon to be). Please test on other systems. > > > > i'm sorry to say, but the tarball still h

HELP!

2008-04-23 Thread Richard Heck
Can someone have a look at the attached patch, which is directed at bug 4775? The idea is to cache the BibTeX info in Buffer. It looks harmless enough, but I'm getting linking errors. It looks like nothing in BiblioInfo.cpp is being seen by the linker, but I can't see what's wrong here. Err

Re: LyX Installer

2008-04-23 Thread Joost Verburg
Uwe Stöhr wrote: That's what I meant, not all programs work when you don't install them with admin priviledges. The Ghostscript developers will also not change this. I btw. could convince them today to provide Windows binaries for the version 8.62 they released 2 months ago as this fixes some b

Re: LyX Installer

2008-04-23 Thread Uwe Stöhr
> A bundled subset of Python is installed, you don't need to have Python installed. > >>What about Ghostscript? > > Ghostscript currently requires administrator privileges to install. That's what I meant, not all programs work when you don't install them with admin priviledges. The Ghostscr

Re: [PATCH] Add arrowfills and brace fills to the hspace dialog

2008-04-23 Thread Uwe Stöhr
> I am surprised you do not need some ::validate() stuff in there. > Where are these macros defined? They are core commands. You don't need a special package for them. (Surprizingly for me that such commands exist in the core and I never have seen them before.) regards Uwe

Re: [PATCH] Add arrowfills and brace fills to the hspace dialog

2008-04-23 Thread Andre Poenitz
On Wed, Apr 23, 2008 at 05:39:58PM +0200, Helge Hafting wrote: > Here is a patch that adds arrow fills and brace fills to the hspace dialog. > \leftarrowfill, \rightarrowfill, \upbracefill, \downbracefill > I have tested that these fills appear in the combobox, in the main window, > and of course i

Re: [PATCH] caption dialog with initial support for contcaption

2008-04-23 Thread Andre Poenitz
On Wed, Apr 23, 2008 at 05:18:17PM +0200, Abdelrazak Younes wrote: > Index: src/frontends/qt4/GuiCaption.cpp > === > --- src/frontends/qt4/GuiCaption.cpp (revision 0) > +++ src/frontends/qt4/GuiCaption.cpp (revision 0) > @@ -0,0 +1,1

Re: DocIterator

2008-04-23 Thread Andre Poenitz
On Wed, Apr 23, 2008 at 09:38:37AM +0200, Jean-Marc Lasgouttes wrote: > Andre Poenitz <[EMAIL PROTECTED]> writes: > > > Arguably the forwardInset() calls should be part of the Next Node > > implementation. > > ?? I mean: drop the first forwardInset() call from the findInset() implementation and

Re: [PATCH] caption dialog with initial support for contcaption

2008-04-23 Thread Juergen Spitzmueller
Jean-Marc Lasgouttes wrote: > Now Juergen tricked you into "implement as many new caption features > as possible". I object, Sir. Jürgen

Re: [PATCH] caption dialog with initial support for contcaption

2008-04-23 Thread Jean-Marc Lasgouttes
Abdelrazak Younes <[EMAIL PROTECTED]> writes: > For the user, sure. I of course also think that the contents of the > dialog should be also available in context menus (in also as a submenu > of Insert->Caption). The reason why I developped this dialog is that > Juergen said there are many more set

Re: [PATCH] caption dialog with initial support for contcaption

2008-04-23 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: Abdelrazak Younes <[EMAIL PROTECTED]> writes: Yes, that was that. The beauty of defining stuff in layout file is that you do not have to guess, and you do not hamper the creativity of class designer :) OK, this is easy enough to change :-) I thin

Re: [Cvslog] r24475 - in /lyx-devel/trunk/src/insets: Inset.h InsetBra...

2008-04-23 Thread Jean-Marc Lasgouttes
Richard Heck <[EMAIL PROTECTED]> writes: > I believe this may fix a bug that had to do with the numbering of > sections included in inactive branches. I.e.: LyX numbers the > subsequent sections as if they were active. (Of course, the output is > correct.) If not, that ought to be easy to fix at t

Re: [PATCH] Add arrowfills and brace fills to the hspace dialog

2008-04-23 Thread Jean-Marc Lasgouttes
Helge Hafting <[EMAIL PROTECTED]> writes: > Here is a patch that adds arrow fills and brace fills to the hspace dialog. > \leftarrowfill, \rightarrowfill, \upbracefill, \downbracefill > I have tested that these fills appear in the combobox, in the main window, > and of course in the output. (tex a

Re: [Cvslog] r24475 - in /lyx-devel/trunk/src/insets: Inset.h InsetBra...

2008-04-23 Thread Richard Heck
[EMAIL PROTECTED] wrote: Author: lasgouttes Date: Wed Apr 23 12:55:51 2008 New Revision: 24475 URL: http://www.lyx.org/trac/changeset/24475 Log: * Inset.h (producesOutput): new mvirtual method, returning true by default * InsetNote.h (producesOutput): always return false.

Re: [PATCH] caption dialog with initial support for contcaption

2008-04-23 Thread Jean-Marc Lasgouttes
Abdelrazak Younes <[EMAIL PROTECTED]> writes: >> Yes, that was that. The beauty of defining stuff in layout file is >> that you do not have to guess, and you do not hamper the creativity of >> class designer :) >> > OK, this is easy enough to change :-) I think that if you give up your nice di

Re: DocIterator

2008-04-23 Thread Richard Heck
Jean-Marc Lasgouttes wrote: I took a look at uses of _CODE and one of the first non-trivial uses I found is: int InsetPrintNomencl::docbook(odocstream & os, OutputParams const &) const { os << "\n"; int newlines = 2; for (InsetIterator it = inset_iterator_begin(buffer().i

Re: [PATCH] caption dialog with initial support for contcaption

2008-04-23 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: Abdelrazak Younes <[EMAIL PROTECTED]> writes: I still don't understand what I hardcoded? are you talking about the CaptionPosition enum? I just followed Juergen advice here. Is there anything else that Above, Below, Right and Left? Yes, that was that. The b

Re: DocIterator

2008-04-23 Thread Richard Heck
Pavel Sanda wrote: Buffer & buf = bv->buffer(); DocIterator cur = doc_iterator_begin(buf.inset()); while (findInset(cur, vector(1, GRAPHICS_CODE), false)) lyxerr<<"inset found"; when i put single image in document nothing is found; i must some characters before text to have it found.

Re: [PATCH] caption dialog with initial support for contcaption

2008-04-23 Thread Jean-Marc Lasgouttes
Abdelrazak Younes <[EMAIL PROTECTED]> writes: > I still don't understand what I hardcoded? are you talking about the > CaptionPosition enum? I just followed Juergen advice here. Is there > anything else that Above, Below, Right and Left? Yes, that was that. The beauty of defining stuff in layout

Re: [PATCH] Add arrowfills and brace fills to the hspace dialog

2008-04-23 Thread Richard Heck
Helge Hafting wrote: Here is a patch that adds arrow fills and brace fills to the hspace dialog. \leftarrowfill, \rightarrowfill, \upbracefill, \downbracefill I have tested that these fills appear in the combobox, in the main window, and of course in the output. (tex and plain text) If this i

Re: LyX Installer

2008-04-23 Thread Joost Verburg
Uwe Stöhr wrote: I tested out yesterday to install LyX as user-only using your latest installer. The installation works, but the system I get is not complete and not very useful - regarding image preview. I ve a full Python installation, but what if I don't have, does it work to install Python

[PATCH] Add arrowfills and brace fills to the hspace dialog

2008-04-23 Thread Helge Hafting
Here is a patch that adds arrow fills and brace fills to the hspace dialog. \leftarrowfill, \rightarrowfill, \upbracefill, \downbracefill I have tested that these fills appear in the combobox, in the main window, and of course in the output. (tex and plain text) If this is of interest, then the n

Re: [PATCH] caption dialog with initial support for contcaption

2008-04-23 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: Abdelrazak Younes <[EMAIL PROTECTED]> writes: Hello, I worked a bit more on this. Please find attached my latest version together with a screenshot. What's missing: 1) File format (+ lyx2lyx?) change to store the caption position and the continued status 2) LateX

Re: [PATCH] caption dialog with initial support for contcaption

2008-04-23 Thread Jean-Marc Lasgouttes
Abdelrazak Younes <[EMAIL PROTECTED]> writes: > Hello, > > I worked a bit more on this. Please find attached my latest version > together with a screenshot. What's missing: > 1) File format (+ lyx2lyx?) change to store the caption position and > the continued status > 2) LateX compilation won't wo

Re: LyX Installer

2008-04-23 Thread Uwe Stöhr
>>We have these restrictions here too and the admins absolutely don't like that users install >> things. Even when it is possible with user permissions, some things will automatically be undone >> when relogin. I discussed this with our admins a few times and they convinced me not to offer

fyi: lyx1.6a2 built with boost-svn OK

2008-04-23 Thread Neal Becker
fyi: lyx1.6a2 built with boost-svn OK linux fedora f8 x86_64 LDFLAGS='-Xlinker -rpath -Xlinker /usr/local/src/boost.hg/stage/lib' ./configure --prefix=/usr --with-version-suffix=1.6 --without-included-boost --with-extra-inc=/usr/local/src/boost.hg --with-extra-lib=/usr/local/src/boost.hg/stage

Re: Time for alpha release (Take 4)

2008-04-23 Thread José Matos
On Tuesday 22 April 2008 22:41:46 Pavel Sanda wrote: > > I have placed the resulting packages at > > http://www.lyx.org/~jamatos/lyx-1.6/ please test them. I have build > > successfully in Fedora 9 (soon to be). Please test on other systems. > > i'm sorry to say, but the tarball still have problems

Re: DocIterator

2008-04-23 Thread Jean-Marc Lasgouttes
Pavel Sanda <[EMAIL PROTECTED]> writes: > finally i use this: > while (findNextInset(cur, vector(1, GRAPHICS_CODE), contents)){ > //add some assert for cur.nextInset()->lyxCode() != GRAPHICS_CODE > InsetGraphics & ins = static_cast(*cur.nextInset()); > Note that you do not need the ve

Re: DocIterator

2008-04-23 Thread Jean-Marc Lasgouttes
rgheck <[EMAIL PROTECTED]> writes: > We have that in quite a lot of places. At present, that's just how > insets identify themselves. Some of the places where these codes are used are mandatory (like the factory). > Of course, you can have some virtual method in Inset that does > nothing, and

Re: DocIterator

2008-04-23 Thread Pavel Sanda
> > Buffer & buf = bv->buffer(); > > DocIterator cur = doc_iterator_begin(buf.inset()); > > > > while (findInset(cur, vector(1, GRAPHICS_CODE), false)) > > lyxerr<<"inset found"; > > > > > > when i put single image in document nothing is found; i must some characters > > before text to have it

Re: DocIterator

2008-04-23 Thread Jean-Marc Lasgouttes
Andre Poenitz <[EMAIL PROTECTED]> writes: > Arguably the forwardInset() calls should be part of the Next Node > implementation. ?? JMarc

Re: Time for alpha release (Take 4)

2008-04-23 Thread Pavel Sanda
> This won't compile for me on Mac: > > libs/filesystem/src/exception.cpp -o exception.o > libs/filesystem/src/exception.cpp:17:39: error: boost/filesystem/config.hpp: > No such file or directory the whole boost/boost directory is missing in the tarbal. we will need alpha3 ;) pavel