On Mon, 19 Sep 2005, Georg Baum wrote:
> No, it is not (see the comments by Lars and Jean-Marc above). We'll have
> the requirement of python 2.x anyway when configure.py finally replaces
> configure.m4.
Ok, I'll leave it then.
/C
--
Christian Ridderström, +46-8-768 39 44 http:/
On Monday 19 September 2005 16:46, Georg Baum wrote:
> No, it is not (see the comments by Lars and Jean-Marc above). We'll have
> the requirement of python 2.x anyway when configure.py finally replaces
> configure.m4.
Since we call python trough lyx we could easily have a defined variable to
sa
[EMAIL PROTECTED] wrote:
> On Mon, 19 Sep 2005, Jean-Marc Lasgouttes wrote:
>
>> > "Lars" == Lars Gullik Bjønnes
>> > <[EMAIL PROTECTED]> writes:
>>
>> Lars> This script is not for 1.4 anyway.
>>
>> Lars> leave 1.5 as requirement for 1.4 , go for 2.x for 1.5.
>>
>> Note that we may wan
On Mon, 19 Sep 2005, Jean-Marc Lasgouttes wrote:
> > "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes:
>
> Lars> This script is not for 1.4 anyway.
>
> Lars> leave 1.5 as requirement for 1.4 , go for 2.x for 1.5.
>
> Note that we may want to go to the python version for some 1.4.x (
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes:
Lars> This script is not for 1.4 anyway.
Lars> leave 1.5 as requirement for 1.4 , go for 2.x for 1.5.
Note that we may want to go to the python version for some 1.4.x (x>0)
version, especially since it will help packaging on windows
Bo Peng <[EMAIL PROTECTED]> writes:
| > Um.. I think the info I need is a bit more basic than so... For instance,
| > can I just run the script with some arguments? Where can I get the
| > script (can I use the CVS browser)?
|
| You need to get the latest cvs. configure.py is under the lib
| dir
> Um.. I think the info I need is a bit more basic than so... For instance,
> can I just run the script with some arguments? Where can I get the
> script (can I use the CVS browser)?
You need to get the latest cvs. configure.py is under the lib
directory. You can run it without any argument.
If
On Mon, 19 Sep 2005, Bo Peng wrote:
> > I run RH 7.3 on a laptop at home. If you'd like I could test it (just let
> > me know what to do).
>
> You first need to replace all A += B to A = A + B, and replace any
> str.count(), str.replace() with something equivalent in 1.5.2. (I do
> not know what
> I run RH 7.3 on a laptop at home. If you'd like I could test it (just let
> me know what to do).
>
You first need to replace all A += B to A = A + B, and replace any
str.count(), str.replace() with something equivalent in 1.5.2. (I do
not know what they are since I never used them.) Since you d
[EMAIL PROTECTED] wrote:
> On Sun, 18 Sep 2005, Bo Peng wrote:
>
>> > I know, we have decided to proceed since this code is supposed to be
>> > only
>> > run in windows and there the above argument does not apply. I would
>> > guess that every new install will have at least python 2.3 install
On Sun, 18 Sep 2005, Bo Peng wrote:
> > I know, we have decided to proceed since this code is supposed to be only
> > run in windows and there the above argument does not apply. I would guess
> > that every new install will have at least python 2.3 installed. :-)
> >
>
> This solves the proble
> "Bo" == Bo Peng <[EMAIL PROTECTED]> writes:
>> Not if you use "start" as viewer of any file that is supported by
>> windows (the problem is to discover that).
Bo> start is a DOS command (as far as I know). In a cmd windows, start
Bo> can open a file using its associated application. However
"Jose' Matos" <[EMAIL PROTECTED]> writes:
| On Thursday 15 September 2005 20:58, Bo Peng wrote:
| > Dear list,
| >
| > Attached is a Python version of the configure script. I currently do
| > not have access to a windows machine with lyx on so I can not test it
| > on windows. On my linux machine,
> I know, we have decided to proceed since this code is supposed to be only
> run in windows and there the above argument does not apply. I would guess
> that every new install will have at least python 2.3 installed. :-)
>
This solves the problem by now but what if we want to add some new
feat
On Sunday 18 September 2005 21:52, Angus Leeming wrote:
>
> def get_version_info():
> version_re = re.compile("([0-9])\.([0-9])")
>
> match = version_re.match(sys.version)
> if match == None:
> error("Unable to extract version info from 'sys.version'")
>
> return int(match.g
Jose' Matos wrote:
>> mkstemp is used for the cygwin path detection, which is new to python
>> 2.3. popen is used but "it is not stable under windows prior to python
>> 2.0". mkstemp can be easily replaced by using explicit temp file name
>> but someone has to run the script with python 1.5.2 to te
On Sunday 18 September 2005 19:51, Bo Peng wrote:
> > World is a small place, really. I have seen your contributions around
> > several places lately (R, rpy, ...) :-)
>
> Well, I make a living on python, r, rpy and lyx. I make contributions
> only to make my own life easier. :-)
I have packag
> World is a small place, really. I have seen your contributions around
> several places lately (R, rpy, ...) :-)
Well, I make a living on python, r, rpy and lyx. I make contributions
only to make my own life easier. :-)
> What is the minimum required python version for your script?
> As An
On Thursday 15 September 2005 20:58, Bo Peng wrote:
> Dear list,
>
> Attached is a Python version of the configure script. I currently do
> not have access to a windows machine with lyx on so I can not test it
> on windows. On my linux machine, it produces identical lyxrc.default
> and doc/LaTeXCon
> First, however, we should find out from José whether we still need to
> support really ancient Pythons in LyX 1.5
I have already used the tmpfile module in the cygwin/pathname part of
the script.
Bo
Bo Peng wrote:
> Hi, Augus,
That's "Angus" ;-)
> Thank you for the patch. I have merged it to my version, plus some
> cosmetic changes.
Great! I took the plunge and added it to the repository.
Temp files: I wonder if it makes sense to use a wrapper to Python's
tempfile module. Ie, use the temp
> 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
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
> (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
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
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
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
Dear list,
Finally, I get the latest cvs. My configure.py generates identical
lyxrc.defaults (subject to sort) and doc/Latexconfig.lyx as the bsh
version, after changing the case of four characters. Anyway, the
updated version is attached.
This is under my linux box. No testing has been done unde
> Well, you can always use
Always? devel.lyx.org died. wiki pointed me to
:ext:[EMAIL PROTECTED]:/usr/local/lyx/cvsroot
(http://wiki.lyx.org/DevelTips/UsingCVS), the old devel site said
pserver:[EMAIL PROTECTED]:/lyx/cvs , Augus said
pserver:anoncvs AT anoncvs.us.lyx.org:/var/cvs.
None of them wo
On Fri, Sep 16, 2005 at 09:12:20PM -0700, Bo Peng wrote:
> Since I do not have access to lyx/cvs, I can only test it against
> 1.4.0pre1 from ftp.lyx.org.
Well, you can always use
CVSROOT=:pserver:[EMAIL PROTECTED]:/var/cvs/lyx
Then "cvs login" (password is "lyx")
Failing that, you can always b
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.
Please test this scri
In <[EMAIL PROTECTED]>, Bo Peng <[EMAIL PROTECTED]> typed:
> One problem with the rc approach is that re-configuration is required
> whenever users change a filetype association. Also, opening a file
> with its associated application is quite easy under windows. (There are APIs.)
Since Bo Peng d
> "Bo" == Bo Peng <[EMAIL PROTECTED]> writes:
Bo> One problem with the rc approach is that re-configuration is
Bo> required whenever users change a filetype association.
Not if you use "start" as viewer of any file that is supported by
windows (the problem is to discover that).
Bo> Also, op
One problem with the rc approach is that re-configuration is required
whenever users change a filetype association. Also, opening a file
with its associated application is quite easy under windows. (There are APIs.)
Bo
Angus Leeming wrote:
> As for python's abilities in this regard, googling on "python search
> registry" turns up lots of stuff. Eg
> http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/174627
Also
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/146305
--
Angus
Jean-Marc Lasgouttes wrote:
> Concerning Bo's remark that a lot of win32/mac specific code is
> going to be added, we should think a bit about that before actually
> doing it.
>
> One solution would be to add code at LyX level to use OS-provided
> hooks for opening documents. Then we could decide
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes:
Angus> Bo Peng wrote:
>>> Here's the output from my linux box together with a small fix.
>>>
>>> $ diff -u -Bbw ../build/lib/lyxrc.defaults . > lyxrc.diff $ diff
>>> -u configure_orig.py configure.py > configure.diff
>> How do you like t
Bo Peng wrote:
>> Here's the output from my linux box together with a small fix.
>>
>> $ diff -u -Bbw ../build/lib/lyxrc.defaults . > lyxrc.diff
>> $ diff -u configure_orig.py configure.py > configure.diff
>
> How do you like the attached new version? checkProg() now
> handles rc file and all in
> Here's the output from my linux box together with a small fix.
>
> $ diff -u -Bbw ../build/lib/lyxrc.defaults . > lyxrc.diff
> $ diff -u configure_orig.py configure.py > configure.diff
How do you like the attached new version? checkProg() now
handles rc file and all info about checked program i
Bo Peng wrote:
> Dear list,
>
> Attached is a Python version of the configure script. I currently do
> not have access to a windows machine with lyx on so I can not test it
> on windows. On my linux machine, it produces identical lyxrc.default
> and doc/LaTeXConfig.lyx but no further testing/proo
> That said, I can't see why it couldn't be added to the repository right now.
> Would make it easier to get people to test it and for you to have a back up.
Not a big deal. It is just that this version is a 'direct translation' of the
bsh version and there will be big changes once we know it is
Bo Peng wrote:
>> I'll then roll you into lib/generate_contributions.py.
> I guess further testing and optimization is needed first?
We're in feature freeze for LyX 1.4 right now, so configure.py won't get
added to the distribution till that is out. That said, I can't see why it
couldn't be added
Bo Peng wrote:
>> In anticipation of this being rolled into the LyX repository, can I get
>> you to drop an email to this list (replying to this mail would be
>> perfect) in which you state explicitly that you agree to licence your
>> contributions under the terms of the Gnu General Public Licence
> I'll then roll you into lib/generate_contributions.py.
I guess further testing and optimization is needed first?
> Adjust PATH for Win32 (Cygwin)
> # i.e., change /cygdrive/c to c:
> #
> # FIXME: necessary? I assume that lyx/win does not like cygwin.
> There's LyX/Win but there's also LyX/
> In anticipation of this being rolled into the LyX repository, can I get you
> to drop an email to this list (replying to this mail would be perfect) in
> which you state explicitly that you agree to licence your contributions
> under the terms of the Gnu General Public Licence version 2 or later.
Bo Peng wrote:
> Dear list,
>
> Attached is a Python version of the configure script. I currently do
> not have access to a windows machine with lyx on so I can not test it
> on windows. On my linux machine, it produces identical lyxrc.default
> and doc/LaTeXConfig.lyx but no further testing/proo
46 matches
Mail list logo