Re: How to eliminate the cmd.exe windows when lyx starts?

2006-07-19 Thread Georg Baum
Bo Peng wrote: > I also notice that > > 1. lyx -dbg generates no output since there is no stdout to write to. > This may be OK though, since other native windows applications do not > write to stdout either. That is not OK IMO, because it makes bug hunting harder. > 2. a black cmd window will a

Re: Lyx: vector graphics editor, description of the code

2006-07-19 Thread Georg Baum
Tribulations Parallèles wrote: > I agree, but ideally applications do not crash ;-) Ok, the world is not > ideal. I have not an experience of big projects, perhaps stability is a > major issue, so important that it is the main reason for the two-app > approach. The main reason is manpower. There

Re: [PATCH] lengthcommon.C

2006-07-19 Thread Georg Baum
Michael Gerz wrote: > Georg Baum wrote: > >>>-N_("theight%"), N_("pheight%"), "" }; >>>+N_("Text Height %"), N_("Page Height %") }; >>> >>> >>Sorry, but I did only notice this now: You forgot the final "". Please >>fix. >> >> > > I didn't forget it. It wasn't there before.

Re: How to eliminate the cmd.exe windows when lyx starts?

2006-07-19 Thread Bo Peng
I also notice that 1. lyx -dbg generates no output since there is no stdout to write to. This may be OK though, since other native windows applications do not write to stdout either. 2. a black cmd window will appear for almost all actions that involve external commands (compile, view). I think

Re: Small problem with Lyx142 windows installer

2006-07-19 Thread Stephen Harris
SH: I'm not quite sure why your idea worked. When Angus mentored > me on this I must have flunked. I thought that LyX copied > the Windows PATH and then appended the Path_prefix string > to it internally... maybe it used to work that way. Paul: That was my impression as well (except that I th

Re: How to eliminate the cmd.exe windows when lyx starts?

2006-07-19 Thread Bo Peng
On 7/19/06, Bo Peng <[EMAIL PROTECTED]> wrote: The wrapper is borrowed from http://www.flipcode.com/cgi-bin/fcarticles.cgi?show=63933 . In case that you do not like this wrapper, there are plenty of them. See http://search.cpan.org/src/NI-S/Tk-804.027/pTk/mTk/win/winMain.c (setargv) https://p

Re: How to eliminate the cmd.exe windows when lyx starts?

2006-07-19 Thread Bo Peng
Anybody know why a cmd.exe window is used when lyx starts? OK. Answer my own question: I have confirmed that if I add the attached wrapper to the main() function in main.C, and add /subsystem:windows to scons/LINKFLAGS, lyx would no longer be a console application, and start without the command

How to eliminate the cmd.exe windows when lyx starts?

2006-07-19 Thread Bo Peng
Hi, Anybody know why a cmd.exe window is used when lyx starts? Is it possible to remove it (at least hide it) under windows? It does not really matter but makes lyx less windowish. Cheers, Bo

Re: Lyx: vector graphics editor, description of the code

2006-07-19 Thread Helge Hafting
On Tue, Jul 18, 2006 at 07:01:05PM +0200, Tribulations Parallèles wrote: > On Tuesday 18 July 2006 16:49, Helge Hafting wrote: > > > Perhaps xfig itself could be better, but I fail to see how using an > > external application is a problem. > > Slower? Not really, why should using two apps that do

Help categorizing the wiki pages (fwd)

2006-07-19 Thread christian . ridderstrom
FYI (I sent this to the users' list) /Christian -- Christian Ridderström, +46-8-768 39 44 http://www.md.kth.se/~chr -- Forwarded message -- Date: Wed, 19 Jul 2006 20:34:40 +0200 From: [EMAIL PROTECTED] Newsgroups: gmane.editors.lyx.general Subject: Help categorizin

Re: [PATCH] lengthcommon.C

2006-07-19 Thread Michael Gerz
Georg Baum wrote: -N_("theight%"), N_("pheight%"), "" }; +N_("Text Height %"), N_("Page Height %") }; Sorry, but I did only notice this now: You forgot the final "". Please fix. I didn't forget it. It wasn't there before. Anyway, I will commit in a few seconds. Micha

Crash on Save

2006-07-19 Thread Bennett Helm
With most recent 1.5svn, I get a crash on saving an existing document. (It doesn't occur when saving a new document or saving-as a new document, but it does occur when saving-as and overwriting an existing document.) See the backtrace, below. Bennett Program received signal SIGA

Re: A dash more to splash.lyx

2006-07-19 Thread Michael Gerz
Steve Harris wrote: More effort is now being spent to improve the LyX Wiki, especially expanding documentation. How about adding another blurb to promote the Wiki? It depends on where we want to provide our information in the future. IMHO the new Trac environment should be used to combine wh

Re: [patch] Give feedback if TeXFiles.py fails

2006-07-19 Thread Georg Baum
Bo Peng wrote: >> It would be even better to capture stderr of the script >> and show that in the error dialog, too, but we are currently not able to >> do that. >> Comments? OK to go in? > > This is fine to me. It is now in. Georg Log: Give feedback if TeXFiles.py fails * src/fronte

Re: Footnote to normal text

2006-07-19 Thread Andre Poenitz
On Sat, Jul 15, 2006 at 11:30:18AM +0300, Martin Vermeer wrote: > I used to have a patch for this in my tree... backspace on first position > inside the inset "dissolves" the inset, just like in math. > > If there's any interest, I could hunt for it. Yes, please. Andre'

Re: help needed with configure.py and lyxrc.defaults

2006-07-19 Thread Enrico Forestieri
On Wed, Jul 19, 2006 at 04:23:03PM +0200, Joost Verburg wrote: > >Sorry that I have not read your patch.. but executable names are > >irrelevant under windows now. > > They are only relevant for Cygwin. No, the behavior is the same on Cygwin. Executables discovered by configure.py are relevant

Re: help needed with configure.py and lyxrc.defaults

2006-07-19 Thread Joost Verburg
- After installing LyX I'm not able to view PDF's because there is no default viewer for PDF although GSview is installed. GSview asks you whether it should be the default viewer for PDF. - The default image editor is always MS Paint, no matter if you have installed the Gimp or Photoshop. And

Re: help needed with configure.py and lyxrc.defaults

2006-07-19 Thread Angus Leeming
Bo Peng <[EMAIL PROTECTED]> writes: > Sorry that I have not read your patch.. but executable names are > irrelevant under windows now. ... and that's as it should be. Windows provides this mechanism to associate a viewer with a file format and we should use it. All this probing for particular a

Re: help needed with configure.py and lyxrc.defaults

2006-07-19 Thread Georg Baum
Uwe Stöhr wrote: > Georg Baum schrieb: > >>> So why does LyX not use this setting? >> >> That is by design. If you want to customize settings, use the preferences >> file. configure.py is not meant to be modified. If the OS provides a >> default viewer for a format then that is used instead of t

Re: help needed with configure.py and lyxrc.defaults

2006-07-19 Thread Bo Peng
- After installing LyX I'm not able to view PDF's because there is no default viewer for PDF although GSview is installed. I am not quite sure if this is the case, but first, you can set the viewer by yourself after lyx is installed. Second, if no other windows application can view pdf, why shou

Re: help needed with configure.py and lyxrc.defaults

2006-07-19 Thread Uwe Stöhr
Georg Baum schrieb: So why does LyX not use this setting? That is by design. If you want to customize settings, use the preferences file. configure.py is not meant to be modified. If the OS provides a default viewer for a format then that is used instead of the one detected by configure.py.

Re: List of branches

2006-07-19 Thread Lars Gullik Bjønnes
[EMAIL PROTECTED] writes: | On Tue, 18 Jul 2006, Lars Gullik Bjønnes wrote: | | > Why is the svnlook commands on that page? | | That's just the way I figured out in order to get a list of branches, | didn't know of a better way. What's the equivalent of | | svnlook tree /home/lyx/svnstor

Re: [PATCH] lengthcommon.C

2006-07-19 Thread Georg Baum
Michael Gerz wrote: > -N_("theight%"), N_("pheight%"), "" }; > +N_("Text Height %"), N_("Page Height %") }; Sorry, but I did only notice this now: You forgot the final "". Please fix. Georg

No splash.lyx with localiszed version of LyX?

2006-07-19 Thread christian . ridderstrom
I noticed that when I start LyX 1.4.1qt there is no splash.lyx displayed. Is this really correct? I used a new .lyx-dir in case that was the problem, but it is still not displayed... black01:~>which lyx /pkg/lyx/1.4.1qt/os/bin/lyx black01:~>lyx -userdir ~/.lyx-test/ The same thing happened

Re: Information about the FTP-sites - please check

2006-07-19 Thread christian . ridderstrom
On Wed, 19 Jul 2006, Georg Baum wrote: [EMAIL PROTECTED] wrote: ** [[(ftp://)ftp.lyx.org/incoming]] — Files can be uploaded (but ''not'' downloaded) to this directory for placement on the ftp-server. They can be uploaded, but if nothing changed then nobody can get them from there, s

Re: permanent global configuration for lyx

2006-07-19 Thread Jose' Matos
On Wednesday 19 July 2006 07:33, Georg Baum wrote: > Yes, there are objections. Jean-Marc introduced lyxrc.dist exactly for this > purpose. Just create that file with the wanted settings, and you are done. Thanks Georg. If my memory serves me well this was done after I brought the exactly sam