Re: [PATCH] Complete patch for session management.

2006-03-25 Thread Abdelrazak Younes
Bo Peng a écrit : Dear list, I have figured out the two problems I had and here is the complete patch. It would be nice if you could generate a patch for the QuitLyX fixes independently. A couple of answer to your question: Index: src/frontends/qt4/QPrefs.C -#include lastfiles.h +//

[patch] fix ct crash

2006-03-25 Thread Juergen Spitzmueller
LyX crashes in change tracking mode when pressing backspace at the very first position in a document. The attached patch goes into trunk now, and I propose to put it into branch as well. Jürgen Index: src/text.C === --- src/text.C

Re: [PATCH] Complete patch for session management.

2006-03-25 Thread Lars Gullik Bjønnes
Abdelrazak Younes [EMAIL PROTECTED] writes: | Index: src/frontends/qt4/QtView.C | Index: src/frontends/qt4/QPrefsDialog.C | | There are talk about dropping the XForms frontend... | Index: src/frontends/xforms/XFormsView.C | Index: src/frontends/xforms/FormPreferences.C But only talks so

tex2lyx not working with ACM template

2006-03-25 Thread Stephen Harris
Hello José, There seems to be a problem with tex2lyx converting ACM template .tex files. I downloaded acm.zip from http://www.idt.mdh.se/kurser/ct3340/ht05/pcinstructions.html 1. Unfortunately, there is an error in the ACM template found on the web (the ACM knows about it...). Get a correct

Re: [PATCH] Complete patch for session management.

2006-03-25 Thread Jean-Marc Lasgouttes
| There are talk about dropping the XForms frontend... But only talks so far. And we may want to put the patch in 1.4.x later. JMarc -- Lgb

Re: [patch] fix ct crash

2006-03-25 Thread Jean-Marc Lasgouttes
The attached patch goes into trunk now, and I propose to put it into branch as well. OK. JMarc

Re: tex2lyx not working with ACM template

2006-03-25 Thread Georg Baum
Am Samstag, 25. März 2006 12:17 schrieb Stephen Harris: Lyx failed to convert sigproc-sp.tex with Cygwin1.4.0 and Win1.4.1svn The error message was: LyX: Cannot convert file An error occurred whilst running tex2lyx -f sigproc-sp.tex sigproc-sp-template. Does anyone have an idea on how

Re: [PATCH] Complete patch for session management.

2006-03-25 Thread Lars Gullik Bjønnes
Bo Peng [EMAIL PROTECTED] writes: | @@ -101,7 +101,7 @@ | bool MenuWrite(Buffer * buffer) | { | if (buffer-save()) { | - LyX::ref().lastfiles().newFile(buffer-fileName()); | + LyX::ref().session().addLastFile(buffer-fileName()); | return true; |

Re: qt4 and g++-4.1 compile ok, linking broke

2006-03-25 Thread Helge Hafting
On Fri, Mar 24, 2006 at 07:16:46PM +0100, Abdelrazak Younes wrote: Abdelrazak Younes a écrit : Helge Hafting a écrit : My only complaint now is that the paragraph style pulldown now have a scrollbar - before I got _all_ styles visible when pulling it down. That is big timesaver for any

Re: [PATCH] Simple session management of lyx.

2006-03-25 Thread John Spray
On Sat, 2006-03-25 at 08:18 +0100, Juergen Spitzmueller wrote: Anything else for a session management tool? Perhaps 7. toolbars state Surely visible toolbars are more of an 'option' than a session thing? This is something one would *always* want remembered, unlike session information which

Re: [PATCH] Complete patch for session management.

2006-03-25 Thread John Spray
On Fri, 2006-03-24 at 23:01 -0600, Bo Peng wrote: Current behavior: 1. if lyx is called directly and load_session is true, lyx will load all previously opened files 2. if lyx file.lyx is called, only file.lyx is loaded. 3. if use_lastfilepos is true, files loaded will scroll to their saved

Re: [patch] fix layout2layout

2006-03-25 Thread Georg Baum
Am Freitag, 24. März 2006 15:23 schrieb Georg Baum: Jean-Marc Lasgouttes wrote: Georg == Georg Baum [EMAIL PROTECTED] writes: Georg Is that the default behaviour in 1.3? In 1.3, article-like numbering is hardcoded. If a labelstring exists, it is prepended to the numbering. For

Bookmark proposal (Re: [PATCH] Simple session management of lyx)

2006-03-25 Thread Martin Vermeer
On Fri, Mar 24, 2006 at 01:09:53PM -0600, Bo Peng wrote: Dear list, ... The bookmark feature is easy to add but I will wait till this one is approved. An idea for bookmark implementation that I have thrown up earlier, without getting much of a response: make it a Float inset type. This way

Re: qt4 and g++-4.1 compile ok, linking broke

2006-03-25 Thread Helge Hafting
On Fri, Mar 24, 2006 at 03:59:54PM +0100, Abdelrazak Younes wrote: I don't really know. It's maybe your LDFLAGS or something. Post your configure result to the list and see if we can help you. While compiling at home, I had to install libsqlite0-dev (SQLite) libpq-dev

Re: Bookmark proposal (Re: [PATCH] Simple session management of lyx)

2006-03-25 Thread Abdelrazak Younes
Martin Vermeer a écrit : On Fri, Mar 24, 2006 at 01:09:53PM -0600, Bo Peng wrote: Dear list, ... The bookmark feature is easy to add but I will wait till this one is approved. An idea for bookmark implementation that I have thrown up earlier, without getting much of a response: make it

Re: qt4 and g++-4.1 compile ok, linking broke

2006-03-25 Thread Georg Baum
Am Samstag, 25. März 2006 14:19 schrieb Helge Hafting: Here we see strange things. The -lpq brings in postgreSQL. And there are the other sql stuff too. And what is -laudio for in a document processor? This library (and the sql libs) are pulled in by libQt3Support (look at

Some 1.5 ideas - is this the time for working on them?

2006-03-25 Thread Helge Hafting
I have some ideas, several of which I will attempt to implement myself if there is acceptance. This is not ordered by priority: * \dotfill and \hrulefill in addition to existing \hfill I use the former a lot for documents where you sign on the dotted line I plan on starting with this easy

Re: Some 1.5 ideas - is this the time for working on them?

2006-03-25 Thread Georg Baum
Am Samstag, 25. März 2006 14:46 schrieb Helge Hafting: * support for nicefrac.sty (fractions with a slanted line) In text, this looks much better than the usual math fractions. In tables, these are lower so numerators won't hit the table line above. Should be easy to do, just look at

Re: qt4 and g++-4.1 compile ok, linking broke

2006-03-25 Thread Abdelrazak Younes
Helge Hafting a écrit : My config.log doesn't mention sql at all. None of the makefiles in the tree mentions sql frontends/qt4/.libs/libqt4.a -L/usr/share/qt4//lib -L/build/buildd/qt4-x11-4.1.1/lib -L/usr/X11R6/lib /usr/lib/libQt3Support.so /usr/lib/libQtSql.so -lpq This is the culprit,

Re: Bookmark proposal (Re: [PATCH] Simple session management of lyx)

2006-03-25 Thread Georg Baum
Am Samstag, 25. März 2006 14:14 schrieb Martin Vermeer: The only drawback I see is that their _numbering_ is not persistent -- you can add bookmarks in-between and they will re-number. But in compensation, as it were, you can enter text strings into them as captions, which will appear in the

Re: [PATCH] Complete patch for session management.

2006-03-25 Thread Bo Peng
I would say we only need a single option Remember opened documents on startup (disabled by default). I agree. Somebody else please do it. We need the frontends to catch the session cues from their environments, and have an alternative to QuitLyX to be called in the case of LyX dying with a

Re: Some 1.5 ideas - is this the time for working on them?

2006-03-25 Thread Juergen Spitzmueller
Helge Hafting wrote: I have some ideas, several of which I will attempt to implement myself if there is acceptance. Cool. Welcome on board. * \dotfill and \hrulefill in addition to existing \hfill I use the former a lot for documents where you sign on the dotted line I plan on

Re: Bookmark proposal (Re: [PATCH] Simple session management of lyx)

2006-03-25 Thread Lars Gullik Bjønnes
Martin Vermeer [EMAIL PROTECTED] writes: | On Fri, Mar 24, 2006 at 01:09:53PM -0600, Bo Peng wrote: | Dear list, | | ... | | The bookmark feature is easy to add but I will wait till this one is approved. | | An idea for bookmark implementation that I have thrown up earlier, | without

[patch] Re: Potential 1.4 patches

2006-03-25 Thread Juergen Spitzmueller
Juergen Spitzmueller wrote: [1] there's one minor issue that I haven't reported yet. With the patch, my move cursor while deleting in change tracking mode fix is limited in that it now hangs at paragraph breaks. But this can be fixed later. The attached patch fixes that. I think it could also

Re: Bookmark proposal (Re: [PATCH] Simple session management of lyx)

2006-03-25 Thread Martin Vermeer
On Sat, Mar 25, 2006 at 03:04:56PM +0100, Georg Baum wrote: Am Samstag, 25. März 2006 14:14 schrieb Martin Vermeer: ... How does this idea feel? Very good from an implementation point of view (of course nothing for 1.4 because of file format change). Not so good from a semantic point of

Re: [patch] Re: Potential 1.4 patches

2006-03-25 Thread Martin Vermeer
On Sat, Mar 25, 2006 at 04:39:22PM +0100, Juergen Spitzmueller wrote: Juergen Spitzmueller wrote: [1] there's one minor issue that I haven't reported yet. With the patch, my move cursor while deleting in change tracking mode fix is limited in that it now hangs at paragraph breaks. But this

Re: Bookmark proposal (Re: [PATCH] Simple session management of lyx)

2006-03-25 Thread Lars Gullik Bjønnes
Martin Vermeer [EMAIL PROTECTED] writes: | On Sat, Mar 25, 2006 at 03:04:56PM +0100, Georg Baum wrote: | Am Samstag, 25. März 2006 14:14 schrieb Martin Vermeer: | | ... | | How does this idea feel? | | Very good from an implementation point of view (of course nothing for 1.4 | because

Patches for 1.4.1

2006-03-25 Thread Michael Gerz
FYI, there are still patches available for 34 (!) bugs:

Re: [Patch] Re: [Patch] Re: Possible charstyle bug

2006-03-25 Thread Martin Vermeer
On Sat, Mar 25, 2006 at 12:20:02AM +0200, Martin Vermeer wrote: On Fri, Mar 24, 2006 at 10:47:11PM +0200, Martin Vermeer wrote: ... It appears brute force is the only way here. See attached. - Martin Committed to trunk with following log entry: Fix the bug reported by Markus

Re: [patch] Re: Potential 1.4 patches

2006-03-25 Thread Juergen Spitzmueller
Martin Vermeer wrote: The attached patch fixes that. I think it could also go in 1.4.1. What do you think? Looks sane. OK, it's in trunk now. Jürgen

[RFC] outlining proof-of-principle

2006-03-25 Thread Martin Vermeer
See attached. The Deeper and Shallower (In and Out) functionalities are not yet implemented. You can test the moving of a sectioning header plus belonging text up and down by entering into the minibuffer: outline 0 or outline 1. I have this stuff also working from qt2, with buttons on the TOC

Re: Bookmark proposal (...)

2006-03-25 Thread Martin Vermeer
On Sat, Mar 25, 2006 at 05:24:34PM +0100, Lars Gullik Bjønnes wrote: Martin Vermeer [EMAIL PROTECTED] writes: ... | But how persistent should bookmarks be then? | | In your scenario, if you save your bookmarks in the session, send the | doc off and receive it back modified, your bookmarks

Re: Patches for 1.4.1

2006-03-25 Thread Juergen Spitzmueller
Michael Gerz wrote: FYI, there are still patches available for 34 (!) bugs: Not all of them are ready (some are even dangerous, e.g. #1656). Not all are immediately necessary. Some still need testing (from mine, especially #2207 needs testing, if you have some spare time). Jürgen

Re: [RFC] outlining proof-of-principle

2006-03-25 Thread Juergen Spitzmueller
Martin Vermeer wrote: See attached. I'm impressed how you workload scales. Jürgen

Re: Bookmark proposal (...)

2006-03-25 Thread Abdelrazak Younes
Martin Vermeer a écrit : On Sat, Mar 25, 2006 at 05:24:34PM +0100, Lars Gullik Bjønnes wrote: Martin Vermeer [EMAIL PROTECTED] writes: So, perhaps it is not bookmarks you want, but enhanced label support. Perhaps so... is that such a bad thing? quite the contrary ;-) What do bookmarks

Re: [PATCH] Simple session management of lyx.

2006-03-25 Thread Joost Verburg
Bo Peng wrote: OK. Let us decide first what should go into this session file, and how to name them (will be used in either .ini format or XML format). 5. Lyx window position when closed? 6. Lyx window size when closed? I don't know what the Linux/Mac situation is, but LyX for Windows always

Re: Bookmark proposal (...)

2006-03-25 Thread Lars Gullik Bjønnes
Martin Vermeer [EMAIL PROTECTED] writes: | On Sat, Mar 25, 2006 at 05:24:34PM +0100, Lars Gullik Bjønnes wrote: | Martin Vermeer [EMAIL PROTECTED] writes: | | ... | | | But how persistent should bookmarks be then? | | | | In your scenario, if you save your bookmarks in the session, send

Re: [RFC] outlining proof-of-principle

2006-03-25 Thread Abdelrazak Younes
Martin Vermeer a écrit : See attached. The Deeper and Shallower (In and Out) functionalities are not yet implemented. You can test the moving of a sectioning header plus belonging text up and down by entering into the minibuffer: outline 0 or outline 1. I have this stuff also working from

Crash at startup (HEAD)

2006-03-25 Thread John Spray
Hello, Current svn is segfaulting at startup (both qt2 and gtk frontends), with this backtrace: #0 0xb72d5ba8 in __gnu_debug::_Safe_iterator_base::_M_detach () from /usr/lib/libstdc++.so.6 #1 0xb72d5c3b in __gnu_debug::_Safe_iterator_base::_M_attach () from /usr/lib/libstdc++.so.6 #2

Re: Crash at startup (HEAD)

2006-03-25 Thread Juergen Spitzmueller
John Spray wrote: ./autogen.sh ./configure --disable-debug --with-frontend='qt gtk' --enable-maintainer-mode --with-qt-includes=/usr/include/qt3/ --with-qt-libraries=/usr/lib/qt3/ make try --disable-stdlib-debug Jürgen

What is the qt functions to get/set position of the main window?

2006-03-25 Thread Bo Peng
Dear list, I am trying to preserve windows position and size for qt main window. size seems to be easy but I could not find relevant functions for windows position. Can anyone help? Cheers, Bo

Re: What is the qt functions to get/set position of the main window?

2006-03-25 Thread Georg Baum
Am Samstag, 25. März 2006 19:12 schrieb Bo Peng: Dear list, I am trying to preserve windows position and size for qt main window. size seems to be easy but I could not find relevant functions for windows position. Can anyone help? Does setGeometry() not work? Georg

Re: What is the qt functions to get/set position of the main window?

2006-03-25 Thread Georg Baum
Am Samstag, 25. März 2006 19:12 schrieb Bo Peng: Dear list, I am trying to preserve windows position and size for qt main window. size seems to be easy but I could not find relevant functions for windows position. Can anyone help? Forget my last post, read this:

Re: [PATCH] Complete patch for session management.

2006-03-25 Thread John Spray
On Sat, 2006-03-25 at 08:21 -0600, Bo Peng wrote: I would say we only need a single option Remember opened documents on startup (disabled by default). I agree. Somebody else please do it. Just waiting for the relevant bool in lyxrc. We need the frontends to catch the session cues from

Re: What is the qt functions to get/set position of the main window?

2006-03-25 Thread Bo Peng
Does setGeometry() not work? That you for the link. I now use pos().x(), pos().y(), width(). height() to get info, and move() to set location. With only one problem: With saved location, 1. start lyx, lyx loads location/size and place/resize itself as expected. 2. do nothing, close lyx using

Re: What is the qt functions to get/set position of the main window?

2006-03-25 Thread Georg Baum
Am Samstag, 25. März 2006 20:11 schrieb Bo Peng: With saved location, 1. start lyx, lyx loads location/size and place/resize itself as expected. 2. do nothing, close lyx using Alt-F4, saved location becomes 0, 0 Do you know what just happened? Why pos() returns (0, 0) the second time? Note

Bugzilla permissions

2006-03-25 Thread John Spray
Dear root, I don't seem to be able to change the status of a bug from UNCONFIRMED to ASSIGNED (even though as frontend-gtk it was already assigned to me) - can I have the permissions necessary to do so? John

Re: [PATCH] Simple session management of lyx.

2006-03-25 Thread John Spray
On Fri, 2006-03-24 at 18:02 -0600, Bo Peng wrote: 5. Lyx window position when closed? 6. Lyx window size when closed? I would recommend against remembering window position. Good window managers make an effort to place a new window such that it occupies any blank space available. Window size,

Re: [RFC] outlining proof-of-principle

2006-03-25 Thread Martin Vermeer
On Sat, Mar 25, 2006 at 06:44:42PM +0100, Abdelrazak Younes wrote: Martin Vermeer a écrit : See attached. The Deeper and Shallower (In and Out) functionalities are not yet implemented. You can test the moving of a sectioning header plus belonging text up and down by entering into the

Re: Some 1.5 ideas - is this the time for working on them?

2006-03-25 Thread Georg Baum
Am Samstag, 25. März 2006 15:03 schrieb Georg Baum: Am Samstag, 25. März 2006 14:46 schrieb Helge Hafting: * Implement export-latex(pdflatex), which gives a tex files where pictures are prepared for pdflatex use. Should be simple, by using the export-pdf(pdflatex) code. I did this

Re: [PATCH] Simple session management of lyx.

2006-03-25 Thread Joost Verburg
John Spray wrote: I would recommend against remembering window position. Good window managers make an effort to place a new window such that it occupies any blank space available. Maybe Linux window managers have some logic to position windows nicely, but it is common for all Windows

Re: [RFC] outlining proof-of-principle

2006-03-25 Thread Abdelrazak Younes
Martin Vermeer a écrit : On Sat, Mar 25, 2006 at 06:44:42PM +0100, Abdelrazak Younes wrote: Martin Vermeer a écrit : See attached. The Deeper and Shallower (In and Out) functionalities are not yet implemented. You can test the moving of a sectioning header plus belonging text up and down by

[PATCH] session menagement with bookmarks and window size (qt only) saved.

2006-03-25 Thread Bo Peng
Dear list, I think this will be my last version of the patch since it has everything I planned. Compared to my previous patch, it now 1. saves bookmarks to .lyx/session and load them automatically. Current implementation uses paragraph id, and I expect that to be changed later. 2. saves windows

Re: [PATCH] Complete patch for session management.

2006-03-25 Thread Lars Gullik Bjønnes
John Spray [EMAIL PROTECTED] writes: | On Sat, 2006-03-25 at 08:21 -0600, Bo Peng wrote: | I would say we only need a single option Remember opened documents on | startup (disabled by default). | | I agree. Somebody else please do it. | Just waiting for the relevant bool in lyxrc. | |

Re: [PATCH] Complete patch for session management.

2006-03-25 Thread John Spray
On Sat, 2006-03-25 at 22:45 +0100, Lars Gullik Bjønnes wrote: | Basically what I'm saying is that the frontends just need a nice simple | function to call, so we have QuitLyX for some cases and SessionEndLyX | (or so) for others. I do not see quite why. Having read Bo's patch a bit, I think

Re: [PATCH] session menagement with bookmarks and window size (qt only) saved.

2006-03-25 Thread Lars Gullik Bjønnes
Bo Peng [EMAIL PROTECTED] writes: | Index: src/BufferView_pimpl.C | === | --- src/BufferView_pimpl.C(revision 13495) | +++ src/BufferView_pimpl.C(working copy) | @@ -293,9 +303,30 @@ | | setBuffer(b); |

Re: [PATCH] session menagement with bookmarks and window size (qt only) saved.

2006-03-25 Thread Bo Peng
| + ParIterator const end = b-par_iterator_end(); | + for (; it != end; ++it) | + if (it.pit() == pit) { | + bv_-setCursor(makeDocIterator(it, pos)); | +

Re: [PATCH] session menagement with bookmarks and window size (qt only) saved.

2006-03-25 Thread Lars Gullik Bjønnes
Bo Peng [EMAIL PROTECTED] writes: | | + ParIterator const end = b-par_iterator_end(); | | + for (; it != end; ++it) | | + if (it.pit() == pit) { | | + bv_-setCursor(makeDocIterator(it,

Re: [PATCH] session menagement with bookmarks and window size (qt only) saved.

2006-03-25 Thread Bo Peng
| | + ParIterator const end = b-par_iterator_end(); | | + for (; it != end; ++it) | | + if (it.pit() == pit) { | | + bv_-setCursor(makeDocIterator(it, pos)); | | +

Re: tex2lyx not working with ACM template

2006-03-25 Thread Stephen Harris
Am Samstag, 25. März 2006 12:17 schrieb Stephen Harris: Lyx failed to convert sigproc-sp.tex with Cygwin1.4.0 and Win1.4.1svn The error message was: LyX: Cannot convert file An error occurred whilst running tex2lyx -f sigproc-sp.tex sigproc-sp-template. Does anyone have an idea on how to

Re: [PATCH] session menagement with bookmarks and window size (qt only) saved.

2006-03-25 Thread Bo Peng
If not for anything else that the code gets easier to read. (I do not quite see how removal of id plays into this.) (And no; operator[pit] on paragraphs won't solve it, just make the cursor placement even more coarse grained) Now, a separate void

Re: A Cygwin related patch

2006-03-25 Thread Enrico Forestieri
On Fri, Mar 24, 2006 at 02:04:53PM +0100, Georg Baum wrote: No, it does not need posix style paths: It simply cannot cope with backslashes for obvious reasons. AFAIK miktex can handle paths like C:/temp/test.tex. Not a big difference, but not exactly posix either. This path style is called

[patch] check for the preview-package

2006-03-25 Thread Uwe Stöhr
Attached a small patch for chkconfig.ltx to check for the LaTeX-package preview. I also patched the LaTeXConfig.lyx.in to describe the preview package and to add descriptions for prettyref and varioref. Btw. for what is the file LyXConfig.lyx.in needed? It contains most of the package

Re: [PATCH] session menagement with bookmarks and window size (qt only) saved.

2006-03-25 Thread Martin Vermeer
On Sat, Mar 25, 2006 at 03:16:15PM -0600, Bo Peng wrote: + // paragraphs is now RandomAccessList + // so simple paragraphs[pit] is not allowed. + ParIterator it = b-par_iterator_begin(); + ParIterator const

Re: [PATCH] session menagement with bookmarks and window size (qt only) saved.

2006-03-25 Thread Bo Peng
+ // paragraphs is now RandomAccessList + // so simple paragraphs[pit] is not allowed. + ParIterator it = b-par_iterator_begin(); + ParIterator const end = b-par_iterator_end(); + for

Re: [PATCH] session menagement with bookmarks and window size (qt only) saved.

2006-03-25 Thread pol
Bo Peng wrote: 2. saves windows size (not position since some people do not like it) and restore it. (qt only) Sorry for my naive question (i am not a programmer): would your patch allow to save and restore open files through kde sessions? thank you -- pol

Re: [PATCH] Complete patch for session management.

2006-03-25 Thread Abdelrazak Younes
Bo Peng a écrit : Dear list, I have figured out the two problems I had and here is the complete patch. It would be nice if you could generate a patch for the QuitLyX fixes independently. A couple of answer to your question: Index: src/frontends/qt4/QPrefs.C -#include "lastfiles.h" +//

[patch] fix ct crash

2006-03-25 Thread Juergen Spitzmueller
LyX crashes in change tracking mode when pressing backspace at the very first position in a document. The attached patch goes into trunk now, and I propose to put it into branch as well. Jürgen Index: src/text.C === --- src/text.C

Re: [PATCH] Complete patch for session management.

2006-03-25 Thread Lars Gullik Bjønnes
Abdelrazak Younes <[EMAIL PROTECTED]> writes: | > Index: src/frontends/qt4/QtView.C | > Index: src/frontends/qt4/QPrefsDialog.C | | There are talk about dropping the XForms frontend... | > Index: src/frontends/xforms/XFormsView.C | > Index: src/frontends/xforms/FormPreferences.C But only talks

tex2lyx not working with ACM template

2006-03-25 Thread Stephen Harris
Hello José, There seems to be a problem with tex2lyx converting ACM template .tex files. I downloaded acm.zip from http://www.idt.mdh.se/kurser/ct3340/ht05/pcinstructions.html "1. Unfortunately, there is an error in the ACM template found on the web (the ACM knows about it...). Get a correct

Re: [PATCH] Complete patch for session management.

2006-03-25 Thread Jean-Marc Lasgouttes
| There are talk about dropping the XForms frontend... > But only talks so far. And we may want to put the patch in 1.4.x later. JMarc -- Lgb

Re: [patch] fix ct crash

2006-03-25 Thread Jean-Marc Lasgouttes
> The attached patch goes into trunk now, and I propose to put it into branch > as > well. OK. JMarc

Re: tex2lyx not working with ACM template

2006-03-25 Thread Georg Baum
Am Samstag, 25. März 2006 12:17 schrieb Stephen Harris: > Lyx failed to convert sigproc-sp.tex with Cygwin1.4.0 and Win1.4.1svn > The error message was: > > LyX: Cannot convert file > An error occurred whilst running tex2lyx -f "sigproc-sp.tex" > "sigproc-sp-template. > > Does anyone have an

Re: [PATCH] Complete patch for session management.

2006-03-25 Thread Lars Gullik Bjønnes
"Bo Peng" <[EMAIL PROTECTED]> writes: | @@ -101,7 +101,7 @@ | bool MenuWrite(Buffer * buffer) | { | if (buffer->save()) { | - LyX::ref().lastfiles().newFile(buffer->fileName()); | + LyX::ref().session().addLastFile(buffer->fileName()); | return true;

Re: qt4 and g++-4.1 compile ok, linking broke

2006-03-25 Thread Helge Hafting
On Fri, Mar 24, 2006 at 07:16:46PM +0100, Abdelrazak Younes wrote: > Abdelrazak Younes a écrit : > >Helge Hafting a écrit : > >>My only complaint now is that the paragraph style pulldown now > >>have a scrollbar - before I got _all_ styles visible when pulling it > >>down. > >>That is big

Re: [PATCH] Simple session management of lyx.

2006-03-25 Thread John Spray
On Sat, 2006-03-25 at 08:18 +0100, Juergen Spitzmueller wrote: > > Anything else for a session management tool? > > Perhaps > 7. toolbars state Surely visible toolbars are more of an 'option' than a session thing? This is something one would *always* want remembered, unlike session information

Re: [PATCH] Complete patch for session management.

2006-03-25 Thread John Spray
On Fri, 2006-03-24 at 23:01 -0600, Bo Peng wrote: > Current behavior: > 1. if lyx is called directly and load_session is true, lyx will load > all previously opened files > 2. if "lyx file.lyx" is called, only file.lyx is loaded. > 3. if use_lastfilepos is true, files loaded will scroll to their

Re: [patch] fix layout2layout

2006-03-25 Thread Georg Baum
Am Freitag, 24. März 2006 15:23 schrieb Georg Baum: > Jean-Marc Lasgouttes wrote: > > >> "Georg" == Georg Baum > >> <[EMAIL PROTECTED]> > >> writes: > > Georg> Is that the default behaviour in 1.3? > > > > In 1.3, article-like numbering is hardcoded. If a labelstring exists, > > it

Bookmark proposal (Re: [PATCH] Simple session management of lyx)

2006-03-25 Thread Martin Vermeer
On Fri, Mar 24, 2006 at 01:09:53PM -0600, Bo Peng wrote: > Dear list, ... > The bookmark feature is easy to add but I will wait till this one is approved. An idea for bookmark implementation that I have thrown up earlier, without getting much of a response: make it a Float inset type. This

Re: qt4 and g++-4.1 compile ok, linking broke

2006-03-25 Thread Helge Hafting
On Fri, Mar 24, 2006 at 03:59:54PM +0100, Abdelrazak Younes wrote: > > I don't really know. It's maybe your LDFLAGS or something. Post your > configure result to the list and see if we can help you. > While compiling at home, I had to install libsqlite0-dev (SQLite) libpq-dev

Re: Bookmark proposal (Re: [PATCH] Simple session management of lyx)

2006-03-25 Thread Abdelrazak Younes
Martin Vermeer a écrit : On Fri, Mar 24, 2006 at 01:09:53PM -0600, Bo Peng wrote: Dear list, ... The bookmark feature is easy to add but I will wait till this one is approved. An idea for bookmark implementation that I have thrown up earlier, without getting much of a response: make it

Re: qt4 and g++-4.1 compile ok, linking broke

2006-03-25 Thread Georg Baum
Am Samstag, 25. März 2006 14:19 schrieb Helge Hafting: > Here we see strange things. The "-lpq" brings in postgreSQL. And there > are the other sql stuff too. And what is "-laudio" for in a document > processor? This library (and the sql libs) are pulled in by libQt3Support (look at

Some 1.5 ideas - is this the time for working on them?

2006-03-25 Thread Helge Hafting
I have some ideas, several of which I will attempt to implement myself if there is acceptance. This is not ordered by priority: * \dotfill and \hrulefill in addition to existing \hfill I use the former a lot for documents where you "sign on the dotted line" I plan on starting with this easy

Re: Some 1.5 ideas - is this the time for working on them?

2006-03-25 Thread Georg Baum
Am Samstag, 25. März 2006 14:46 schrieb Helge Hafting: > * support for nicefrac.sty (fractions with a slanted line) > In text, this looks much better than the usual math fractions. > In tables, these are lower so numerators won't hit the table line > above. Should be easy to do, just look

Re: qt4 and g++-4.1 compile ok, linking broke

2006-03-25 Thread Abdelrazak Younes
Helge Hafting a écrit : My config.log doesn't mention sql at all. None of the makefiles in the tree mentions sql frontends/qt4/.libs/libqt4.a -L/usr/share/qt4//lib -L/build/buildd/qt4-x11-4.1.1/lib -L/usr/X11R6/lib /usr/lib/libQt3Support.so /usr/lib/libQtSql.so -lpq This is the culprit,

Re: Bookmark proposal (Re: [PATCH] Simple session management of lyx)

2006-03-25 Thread Georg Baum
Am Samstag, 25. März 2006 14:14 schrieb Martin Vermeer: > The only drawback I see is that their _numbering_ is not persistent -- > you can add bookmarks in-between and they will re-number. But in > compensation, as it were, you can enter text strings into them as > captions, which will appear in

Re: [PATCH] Complete patch for session management.

2006-03-25 Thread Bo Peng
> I would say we only need a single option "Remember opened documents on > startup" (disabled by default). I agree. Somebody else please do it. > We need the frontends to catch the session cues from their environments, > and have an alternative to QuitLyX to be called in the case of LyX dying >

Re: Some 1.5 ideas - is this the time for working on them?

2006-03-25 Thread Juergen Spitzmueller
Helge Hafting wrote: > I have some ideas, several of which I will attempt to implement myself > if there is acceptance. Cool. Welcome on board. > * \dotfill and \hrulefill in addition to existing \hfill > I use the former a lot for documents where you "sign on the dotted line" > I plan on

Re: Bookmark proposal (Re: [PATCH] Simple session management of lyx)

2006-03-25 Thread Lars Gullik Bjønnes
Martin Vermeer <[EMAIL PROTECTED]> writes: | On Fri, Mar 24, 2006 at 01:09:53PM -0600, Bo Peng wrote: | > Dear list, | | ... | | > The bookmark feature is easy to add but I will wait till this one is approved. | | An idea for bookmark implementation that I have thrown up earlier, | without

[patch] Re: Potential 1.4 patches

2006-03-25 Thread Juergen Spitzmueller
Juergen Spitzmueller wrote: > [1] there's one minor issue that I haven't reported yet. With the patch, my > "move cursor while deleting in change tracking mode" fix is limited in that > it now "hangs" at paragraph breaks. But this can be fixed later. The attached patch fixes that. I think it

Re: Bookmark proposal (Re: [PATCH] Simple session management of lyx)

2006-03-25 Thread Martin Vermeer
On Sat, Mar 25, 2006 at 03:04:56PM +0100, Georg Baum wrote: > Am Samstag, 25. März 2006 14:14 schrieb Martin Vermeer: ... > > How does this idea feel? > > Very good from an implementation point of view (of course nothing for 1.4 > because of file format change). Not so good from a semantic

Re: [patch] Re: Potential 1.4 patches

2006-03-25 Thread Martin Vermeer
On Sat, Mar 25, 2006 at 04:39:22PM +0100, Juergen Spitzmueller wrote: > Juergen Spitzmueller wrote: > > [1] there's one minor issue that I haven't reported yet. With the patch, my > > "move cursor while deleting in change tracking mode" fix is limited in that > > it now "hangs" at paragraph

Re: Bookmark proposal (Re: [PATCH] Simple session management of lyx)

2006-03-25 Thread Lars Gullik Bjønnes
Martin Vermeer <[EMAIL PROTECTED]> writes: | On Sat, Mar 25, 2006 at 03:04:56PM +0100, Georg Baum wrote: | > Am Samstag, 25. März 2006 14:14 schrieb Martin Vermeer: | | ... | | > > How does this idea feel? | > | > Very good from an implementation point of view (of course nothing for 1.4 | >

Patches for 1.4.1

2006-03-25 Thread Michael Gerz
FYI, there are still patches available for 34 (!) bugs:

Re: [Patch] Re: [Patch] Re: Possible charstyle bug

2006-03-25 Thread Martin Vermeer
On Sat, Mar 25, 2006 at 12:20:02AM +0200, Martin Vermeer wrote: > On Fri, Mar 24, 2006 at 10:47:11PM +0200, Martin Vermeer wrote: ... > It appears brute force is the only way here. See attached. > > - Martin Committed to trunk with following log entry: Fix the bug reported by

Re: [patch] Re: Potential 1.4 patches

2006-03-25 Thread Juergen Spitzmueller
Martin Vermeer wrote: > > The attached patch fixes that. I think it could also go in 1.4.1. > > What do you think? > > Looks sane. OK, it's in trunk now. Jürgen

[RFC] outlining proof-of-principle

2006-03-25 Thread Martin Vermeer
See attached. The Deeper and Shallower ("In" and "Out") functionalities are not yet implemented. You can test the moving of a sectioning header plus belonging text up and down by entering into the minibuffer: "outline 0" or "outline 1". I have this stuff also working from qt2, with buttons on

Re: Bookmark proposal (...)

2006-03-25 Thread Martin Vermeer
On Sat, Mar 25, 2006 at 05:24:34PM +0100, Lars Gullik Bjønnes wrote: > Martin Vermeer <[EMAIL PROTECTED]> writes: ... > | But how persistent should bookmarks be then? > | > | In your scenario, if you save your bookmarks in the session, send the > | doc off and receive it back modified, your

Re: Patches for 1.4.1

2006-03-25 Thread Juergen Spitzmueller
Michael Gerz wrote: > FYI, > > there are still patches available for 34 (!) bugs: Not all of them are ready (some are even dangerous, e.g. #1656). Not all are immediately necessary. Some still need testing (from mine, especially #2207 needs testing, if you have some spare time). Jürgen

Re: [RFC] outlining proof-of-principle

2006-03-25 Thread Juergen Spitzmueller
Martin Vermeer wrote: > See attached. I'm impressed how you workload scales. Jürgen

  1   2   >