Re: Python version of configure script (preview version)

2005-09-17 Thread Bo Peng
> Not if you use "start" as viewer of any file that is supported by > windows (the problem is to discover that). start is a DOS command (as far as I know). In a cmd windows, start can open a file using its associated application. However, I tried to use "start $$i" or "cmd /c start $$i" for pdf fo

Re: Python version of configure script (preview version)

2005-09-17 Thread Angus Leeming
Bo Peng wrote: Dear list, Attached is a python version of lib/configure for 1.4.0 cvs. It is written according to the m4 file at http://www.lyx.org/cgi-bin/viewcvs.cgi/lyx-devel/lib/configure.m4 . Since I do not have access to lyx/cvs, I can only test it against 1.4.0pre1 from ftp.lyx.org. Plea

Re: Python version of configure script (preview version)

2005-09-17 Thread Bo Peng
> (Guys, I'm not proposing that the script be used or even distributed with > LyX 1.4.0.) I agree. It does not add (if not break) anything under linux. The reason for the conversion is to avoid using mingw under windows (so not even useful for lyx/cygwin) to simplify installation. The real benefi

Re: Python version of configure script (preview version)

2005-09-17 Thread Kayvan A. Sylvan
On Sat, Sep 17, 2005 at 06:00:50PM +0100, Angus Leeming wrote: > > Angus, could you add this file to the repository? > > I'm perfectly happy to, but will wait on Jean-Marc's or Lars' say so. > (Guys, I'm not proposing that the script be used or even distributed with > LyX 1.4.0.) I don't think th

Re: Python version of configure script (preview version)

2005-09-17 Thread Angus Leeming
Bo Peng wrote: > Attached is a python version of lib/configure for 1.4.0 cvs. It is > written according to the m4 file at > http://www.lyx.org/cgi-bin/viewcvs.cgi/lyx-devel/lib/configure.m4 . > Since I do not have access to lyx/cvs, I can only test it against > 1.4.0pre1 from ftp.lyx.org. > Please

Re: converter for layout files

2005-09-17 Thread Bo Peng
> I'd like to see this integrated in 1.4.0: Either call it at configure time > and convert all layout files permanently, or call it from > LyXTextClass::Read() if a layout file is too old. For the latter we > should probably add version information to the layout files. > > Comments? Is there a wa

Re: [patch] bug 1921: lyxbreaker is still asserting...

2005-09-17 Thread Juergen Spitzmueller
Juergen Spitzmueller wrote: > I have adapted the patch to current cvs (see attached). After some more testing, I came up with the attached, slightly improved version, which does also respect inlined (as well opened) insets (i.e. does not force inlined ERTs to opened ones when the cursor enters,

converter for layout files

2005-09-17 Thread Georg Baum
The fact that LyX 1.4 can't read all 1.3 layout files will annoy users with customized layout files. Since the differences are small I hacked together a little converter. It will convert 1.3 layout files to 1.4 format. Usage: python layout2layout.py old.layout new.layout or as a filter: pytho

Using CVS?

2005-09-17 Thread chr
On Fri, 16 Sep 2005, Bo Peng wrote: Given Bo's problems accessing CVS and that I've heard the issue being mentioned a few times on this list lately... Where can you now find instructions on how to access CVS? The page http://wiki.lyx.org/DevelTips/UsingCVS is very likely obsolete and also assumes

Re: Python version of configure script (preview version)

2005-09-17 Thread Kayvan A. Sylvan
On Fri, Sep 16, 2005 at 11:23:21PM -0700, Bo Peng wrote: > > > Failing that, you can always browse ftp://ftp.sylvan.com/pub/lyx/devel > > and grab the latest CVS snapshot tar.bz2 file. > > This site is not official, isn't it? Why snapshot is not under the > snapshot directory of ftp.lyx.org ? It