[PATCH] "auto" viewer/editor under windows.

2006-04-21 Thread Bo Peng
Dear all, I am surprised that the attached short patch simply works, using mingw/win32api. Zlib.dll does not cause any trouble. Now, 1. Viewers under win32 should be "auto" (configure.py adjustment will follow, right now, please change them by yourself from the tools->preference dialog). If you

Was compression supported under win32 at all?

2006-04-21 Thread Bo Peng
Dear list, When I compile current svn under windows, boost::iostreams looks for zlib.h etc. They are standard under linux but I have to supply them under windows. I am sure I will have some trouble in linking lyx with zlib.dll later. My question is: was compression supported under win32 before? H

math array options

2006-04-21 Thread Ling Li
Hi, Table column options like l, r, c, @{}, >{}, are well supported in LyX for tables (tabular environment). I am wondering whether the same thing can be supported for math array. Were there discussions, conclusions, or plans? I am willing to help in coding but I am not sure how hard it is. I am a

Re: Experience with lyx/win ...

2006-04-21 Thread Bo Peng
> Don't you _hate_ Windows? Not exactly. I have been a long time, even qualified as *experienced* windows user. For basic usage and entertainment, windows is fine. The reason why I am now basically a linux user is that for the area I am working in, linux is far better. Another reason is that I can

Re: [PATCH] File->compressed menu item

2006-04-21 Thread Bo Peng
> That said, I don't know how compression is handled, but I think that > it should be done such that a LyX file starts with "#LyX" such that it > is still possible to recognize it whatever its extension or > compression status. Current behavior: 1. When lyx opens a file, it checks its signature.

Re: [PATCH] File->compressed menu item

2006-04-21 Thread Enrico Forestieri
On Fri, Apr 21, 2006 at 12:23:09PM -0500, Bo Peng wrote: > Should we always save compressed to file.lyx.gz, regardless of this flag? Given that there are stupid OSes out there that rely on file extension, I think this is not a good idea. That said, I don't know how compression is handled, but I

Re: [Additional patch] Re: [Patch] Fix outline crash for non-ToC tables

2006-04-21 Thread Martin Vermeer
On Wed, Apr 19, 2006 at 07:12:14PM +0200, Abdelrazak Younes wrote: > Martin Vermeer a écrit : > >On Wed, Apr 19, 2006 at 04:25:11PM +0200, Abdelrazak Younes wrote: > >>Martin Vermeer a écrit : > >>>On Wed, 2006-04-19 at 14:32 +0200, Abdelrazak Younes wrote: > > > >... > > > >Actually the _crash_ is

Re: Experience with lyx/win ...

2006-04-21 Thread Angus Leeming
Bo Peng <[EMAIL PROTECTED]> writes: > Anyway, the biggest problem now is the viewer stuff. This is totally > un-windows-ish, and unnecessary. All we need to do is a call to let > windows *open* the document. Windows will do the rest. I will put this > to my TODO list. Cool. That's something that J

Re: [patch] fix bug 1473: Implement phantom in math

2006-04-21 Thread Enrico Forestieri
On Fri, Apr 21, 2006 at 04:54:57PM +0200, Georg Baum wrote: > Enrico Forestieri wrote: > > > I thought about it and my idea is to retain the existing delimiter > > dialog but placing a combobox next to the "Keep matched" checkbox. > > The default combobox item would be "Variable size", and the ot

naustrian, for completeness reasons

2006-04-21 Thread Bernhard Reiter
Added naustrian in lib/languages; plus, AFAIK, the austrian locale is de_AT, not de_AU (australian german, maybe?:) Bernhard Index: lib/languages === --- lib/languages (Revision 13613) +++ lib/languages (Arbeitskopie) @@ -2,7 +2,8 @

Re: 'External' controller change

2006-04-21 Thread Bernhard Reiter
Am Dienstag, den 11.04.2006, 12:48 +0200 schrieb Jean-Marc Lasgouttes: > Is there a reason why getTemplateFilters does not return a > FileFiltersList? I didn't want to #include "support/filefilterlist.h" from ControlExternal.h (by introducing the FileFilterList type). This argument lacks credibil

Re: Experience with lyx/win ...

2006-04-21 Thread Bo Peng
> So do something about it then. Yes. I am doing something. For example, my patches would allow users to ignore the texhash and "document settings\user\application data\lyx\layouts" trouble, but I heard words like "this brings more trouble than good". Anyway, the biggest problem now is the viewe

Re: Experience with lyx/win ...

2006-04-21 Thread Martin Vermeer
On Fri, Apr 21, 2006 at 03:25:29PM -0500, Bo Peng wrote: > Hi, > > Just helped another guy to install lyx/win on his windows machine, > again frustrated. Briefly, ... > You can see why I was not particularly happy when things finally worked. Don't you _hate_ Windows? - Martin pgpoyUDcm7pM

Re: Experience with lyx/win ...

2006-04-21 Thread Angus Leeming
Bo Peng <[EMAIL PROTECTED]> writes: > You can see why I was not particularly happy when things finally worked. So do something about it then. Angus

Re: Status of LyX-1.4.1 on WindowsME

2006-04-21 Thread Enrico Forestieri
On Fri, Apr 21, 2006 at 02:18:10PM +, Angus Leeming wrote: > The good news is: > 1. LyX 1.5 will have a Qt4 interface, using the official Qt4 > library from Trolltech. > 2. Enrico Forestieri has become de facto maintainer of the > LyX/Cygwin and that *does* work on WinME apparently. Well, at

Re: Unable to import LaTeX Documents in LyX 1.4.1 for Windows

2006-04-21 Thread Enrico Forestieri
On Fri, Apr 21, 2006 at 11:32:14AM -0400, Paul A. Rubin wrote: > Angus Leeming wrote: > > Georg Baum <[EMAIL PROTECTED]> writes: > >>> I think this is a known bug: > >>> http://bugzilla.lyx.org/show_bug.cgi?id=2285. If I'm reading the report > >>> correctly, fixing it was deferred to 1.4.2. > >

Re: [PATCH] Replace gzstream by boost::iostreams gzip_compressor

2006-04-21 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: | How about a File -> compressed menu item? Save As to something with | the same name seems to be weird. Lars> Perhaps. But I think Save As need the option anyway. Currently compressed is a bufferparams option. Adding a 'compress f

Re: Unable to import LaTeX Documents in LyX 1.4.1 for Windows

2006-04-21 Thread Jean-Marc Lasgouttes
> "Michael" == Michael Gerz <[EMAIL PROTECTED]> writes: Michael> Georg Baum wrote: >> Yes. Jean-Marc, I think we should use configure.py in 1.4 now, too. >> It works well now, and doing the same changes twice (once for m4 >> and once for py) is simply a waste of time IMO. >> >> Georg, do yo

Experience with lyx/win ...

2006-04-21 Thread Bo Peng
Hi, Just helped another guy to install lyx/win on his windows machine, again frustrated. Briefly, 1. download everything, install, until we are told that miktex can not be installed without adminstrative priveledge. 2. log out/in as administrator, install, lyx/configure fails to start. 3. check

Re: Unable to import LaTeX Documents in LyX 1.4.1 for Windows

2006-04-21 Thread Michael Gerz
Georg Baum wrote: Yes. Jean-Marc, I think we should use configure.py in 1.4 now, too. It works well now, and doing the same changes twice (once for m4 and once for py) is simply a waste of time IMO. Another good reason to have configure.py in 1.4 is to have less dependencies on sh and MSYS o

[PATCH] File->compressed menu item

2006-04-21 Thread Bo Peng
Index: src/lfuns.h === --- src/lfuns.h (revision 13708) +++ src/lfuns.h (working copy) @@ -358,6 +358,8 @@ LFUN_BIBDB_DEL, LFUN_INSERT_CITATION, LFUN_OUTLINE, // Vermeer 20060323 + // 275 + LFUN_COMPRESSION_STATUS,

[Yet Updated Patch] Re: [Patch] TocBackend

2006-04-21 Thread Abdelrazak Younes
And with this yet another updated patch, the dialog will automatically update itself if a new section is created or modified or deleted... Even Microsoft Word doesn't do this correctly :-) Abdel. Index: src/buffer_funcs.C === ---

[Updated Patch] Re: [Patch] TocBackend

2006-04-21 Thread Abdelrazak Younes
Abdelrazak Younes a écrit : Abdelrazak Younes a écrit : I found myself using more and more the two ways toc navigation but, eventually I got annoyed by the slowness of it. So I fixed it :-) This patch implements a Toc backend (TocBackend.[Ch]) that is used in toc.h. The speed improvement is _

Re: Unable to import LaTeX Documents in LyX 1.4.1 for Windows

2006-04-21 Thread Paul A. Rubin
Angus Leeming wrote: Georg Baum <[EMAIL PROTECTED]> writes: I think this is a known bug: http://bugzilla.lyx.org/show_bug.cgi?id=2285. If I'm reading the report correctly, fixing it was deferred to 1.4.2. Here is the fix. Going into trunk tomorrow if nobody objects. That's elegant indeed!

Re: Unable to import LaTeX Documents in LyX 1.4.1 for Windows

2006-04-21 Thread Georg Baum
Angus Leeming wrote: > That's elegant indeed! Can I get you to commit my associated path to > configure.py at the same time? I committed the 1.5 version. Your attempt to convert everything to windows did fail btw, I exchanged the \ dir separators to / in the comment. > Of course, the 1.4 tree wi

Re: [patch] fix bug 1473: Implement phantom in math

2006-04-21 Thread Georg Baum
Enrico Forestieri wrote: > I thought about it and my idea is to retain the existing delimiter > dialog but placing a combobox next to the "Keep matched" checkbox. > The default combobox item would be "Variable size", and the other > items would be labeled "big size", "Big size", and so on. For ex

Re: Status of LyX-1.4.1 on WindowsME

2006-04-21 Thread Angus Leeming
Persio Barros <[EMAIL PROTECTED]> writes: > Did that. And it worked. Thanks very much. My pleasure. > But I still cannot use LyX. It opens in a very small window, > which cannot be resized in any way. Even by pressing the > full-screen button. This is the very same problem I had with > the 1.3.

Re: [PATCH] Replace gzstream by boost::iostreams gzip_compressor

2006-04-21 Thread Georg Baum
Bo Peng wrote: > Regarding Save As, my limited UI knowledge tells me that this is a > *standard* dialog on many platforms so adding an additional option is > very difficult. Nope. Look at lib/ui/stdmenus.ui. Georg

Re: Unable to import LaTeX Documents in LyX 1.4.1 for Windows

2006-04-21 Thread Angus Leeming
Georg Baum <[EMAIL PROTECTED]> writes: > > I think this is a known bug: > > http://bugzilla.lyx.org/show_bug.cgi?id=2285. If I'm reading the report > > correctly, fixing it was deferred to 1.4.2. > Here is the fix. Going into trunk tomorrow if nobody objects. That's elegant indeed! Can I get you

Re: [patch] fix bug 1473: Implement phantom in math

2006-04-21 Thread Georg Baum
Enrico Forestieri wrote: > You mean it's a 1.4 regression, I suppose :( Ah yes, I forgot already that we had tt font in 1.3. Georg PS: It's no smiley day.

Re: [PATCH] Replace gzstream by boost::iostreams gzip_compressor

2006-04-21 Thread Bo Peng
> | How about a File -> compressed menu item? Save As to something with > | the same name seems to be weird. > > Perhaps. But I think Save As need the option anyway. Regarding Save As, my limited UI knowledge tells me that this is a *standard* dialog on many platforms so adding an additional optio

Re: Unable to import LaTeX Documents in LyX 1.4.1 for Windows

2006-04-21 Thread Georg Baum
Paul A. Rubin wrote: > I think this is a known bug: > http://bugzilla.lyx.org/show_bug.cgi?id=2285. If I'm reading the report > correctly, fixing it was deferred to 1.4.2. Here is the fix. Going into trunk tomorrow if nobody objects. Georg Log: Fix bug 2285 (tex2lyx is not found by lib/config

Re: [PATCH] Replace gzstream by boost::iostreams gzip_compressor

2006-04-21 Thread Lars Gullik Bjønnes
"Bo Peng" <[EMAIL PROTECTED]> writes: | > I see little point in cluttering the toolbar with this. | | That is why we need configurable (and dockable) toolbars. Hmm... | > There should perhaps be a checkbox in the "Save AS" dialog, so that an | > already compressed doc can be saved as uncompre

Re: [PATCH] Replace gzstream by boost::iostreams gzip_compressor

2006-04-21 Thread Bo Peng
> I see little point in cluttering the toolbar with this. That is why we need configurable (and dockable) toolbars. > There should perhaps be a checkbox in the "Save AS" dialog, so that an > already compressed doc can be saved as uncompressed. (and vs.) > > But IMHO the toolbar is not the right s

Re: Status of LyX-1.4.1 on WindowsME

2006-04-21 Thread Persio Barros
Persio Barros <[EMAIL PROTECTED]> writes: Can LyX-1.4.1 be installed on WinME? I tried the V1 setup program and after searching (and correctly finding) the dependecies (msys, python, etc.), it crashes with message: "Lyx-1 has caused an error in KRNL386.EXE" from Windows. So the crash is in

Re: [Patch] TocBackend

2006-04-21 Thread Abdelrazak Younes
Angus Leeming a écrit : Abdelrazak Younes <[EMAIL PROTECTED]> writes: Just finished compiling with qt3 (always a penitence ) Is it still a penitence if you don't export all symbols in the .dll? Much less of a penitence (350Megs instead of >800Megs and much less time) but still I cannot do

Re: [Patch] TocBackend

2006-04-21 Thread Angus Leeming
Abdelrazak Younes <[EMAIL PROTECTED]> writes: > Just finished compiling with qt3 (always a penitence ) Is it still a penitence if you don't export all symbols in the .dll? Regards, Angus

Re: [Patch] TocBackend

2006-04-21 Thread Abdelrazak Younes
Abdelrazak Younes a écrit : I found myself using more and more the two ways toc navigation but, eventually I got annoyed by the slowness of it. So I fixed it :-) This patch implements a Toc backend (TocBackend.[Ch]) that is used in toc.h. The speed improvement is _very_ very nice on windows.

Re: [patch] fix bug 1473: Implement phantom in math

2006-04-21 Thread Enrico Forestieri
On Thu, Apr 20, 2006 at 06:56:57PM +0200, Georg Baum wrote: > Enrico Forestieri wrote: > > > This is perfect! I tested it and think that this should also go in 1.4. > > Jean-Marc will tell. What is missing now is support for these in the math > panel. It should not be too difficult to add, I woul

Re: [patch] fix bug 1473: Implement phantom in math

2006-04-21 Thread Enrico Forestieri
On Fri, Apr 21, 2006 at 09:17:43AM +0200, Georg Baum wrote: > Enrico Forestieri wrote: > > > That's strange. I see the same thing in Windows, Debian and Solaris. > > It is independent of the fonts chosen for display. > > Now I see that you meant \{ etc without \bigl. This is the same here. The >

Re: [Patch] TocBackend

2006-04-21 Thread Abdelrazak Younes
Lars Gullik Bjønnes a écrit : Abdelrazak Younes <[EMAIL PROTECTED]> writes: | > This id need only be unique for the current lyx session right? | > then paragrpah::id() should be good enough. | | The problem is that this id is not constant across moves or depth | changes (as done by the outline

Re: [patch] fix bug 1473: Implement phantom in math

2006-04-21 Thread Georg Baum
Enrico Forestieri wrote: > That's strange. I see the same thing in Windows, Debian and Solaris. > It is independent of the fonts chosen for display. Now I see that you meant \{ etc without \bigl. This is the same here. The reason is that \lbrace and \rbrace are recognized as a symbol of the cmsy

Re: [PATCH] Replace gzstream by boost::iostreams gzip_compressor

2006-04-21 Thread Lars Gullik Bjønnes
"Bo Peng" <[EMAIL PROTECTED]> writes: | > Ok. Q: did you check that you are able to decompress files compressed | > with the old gzstream? | | Yes. | | > If that is working I think you should just commit this. | | Done | | > btw. The changes you have for config/common.am are already in, right?

Re: [Patch] Re: book that prints with 1.3.7 is screwed up with 1.4.1

2006-04-21 Thread Georg Baum
Garst R. Reese wrote: > I think the old order was a bug and this is a good time to squelch it. > in development/FORMAT lines 260-284 you have an Ovalbox and on line 269 > you use tcbs for it's inner_pos. But on line 289 you use c/t/b/s for the > Frameless box. Note that the order tcbs in the FORM