Am Freitag, 16. September 2005 16:31 schrieb Jean-Marc Lasgouttes:
Nevertheless, the bug you are looking for is in lib/doc/doc_toc.py.
Yes, doc_toc.py does not include the english versions of the documents
that are not yet translated, but there are also two bugs in lyx2lyx.
This patch fixes
This trivial patch is needed for newer rpm versions.
--
Kayvan A. Sylvan | Proud husband of | Father to my kids:
Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | crown of her husband | Robin Gregory (2/28/92)
Index:
Am Samstag, 17. September 2005 17:09 schrieb Bo Peng:
Is there a way to tell whether a layout file is 1.3 or 1.4?
Only by looking at the contents. I guess we should add a version field.
If so,
your converter can be easily added to configure.py.
This is not the right place, since layout
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 tempfile
Georg Baum wrote:
Nevertheless, the bug you are looking for is in lib/doc/doc_toc.py.
Yes, doc_toc.py does not include the english versions of the documents
that are not yet translated, but there are also two bugs in lyx2lyx.
This patch fixes them, can it go in?
I understand that
Kayvan A. Sylvan wrote:
This trivial patch is needed for newer rpm versions.
Committed.
--
Angus
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?
Off topic: if the lyx developers are planning on any major operation
to the lyx/cvs system, it would be a good idea to
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
This is not the right place, since layout files are not loaded via the
converter mechanism. If the converter is to be used we know that it is
available and it will be called directly from LyX (look how lyx2lyx is
called).
I still do not get it. configure/configure.py will scan through all
Bo Peng wrote:
This is not the right place, since layout files are not loaded via the
converter mechanism. If the converter is to be used we know that it is
available and it will be called directly from LyX (look how lyx2lyx is
called).
I still do not get it. configure/configure.py will
Just one reason why use of configure.py might not be a good idea.
Then why do we need to 'convert' a layout file? Why can not we simply
handle two versions internally? Anyway, a version signature would help
in all cases.
Bo
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
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 Angus
On Sunday 18 September 2005 10:18, Angus Leeming wrote:
I understand that string.strip(foo) is deprecated in favour of foo.strip().
Ditto with string.split(foo).
http://docs.python.org/lib/node110.html
José, why do we continue to use the deprecated versions? Support for
ancient Pythons?
On Sunday 18 September 2005 19:09, Bo Peng wrote:
Just one reason why use of configure.py might not be a good idea.
Then why do we need to 'convert' a layout file? Why can not we simply
handle two versions internally? Anyway, a version signature would help
in all cases.
FWIW that is on my
For me that is a burden, the absence of the extended operators in python
(+=, -=, ... op=) makes the code dull, the fact that string were made a first
class type only in python 2.0 does not help either.
What? += and string class is not in 1.5.2? I use it a lot in configure.py.
If you are
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 packaged rpy
On Sunday 18 September 2005 19:55, Bo Peng wrote:
For me that is a burden, the absence of the extended operators in
python (+=, -=, ... op=) makes the code dull, the fact that string were
made a first class type only in python 2.0 does not help either.
What? += and string class is not in
Michael Gerz wrote:
if you place the cursor in front of a vspace inset, it is displayed
way too high.
I had a look at method metrics in insetvspace.C which IMHO is a bit
confusing (and partially wrong - Why is size set to 10 initially? Why
do we decrease the font size twice but compute some
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 tell the
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.group(1)),
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
Bo Peng [EMAIL PROTECTED] writes:
| 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?
|
| Off topic: if the lyx developers are planning on any major operation
| to
Am Freitag, 16. September 2005 16:31 schrieb Jean-Marc Lasgouttes:
> Nevertheless, the bug you are looking for is in lib/doc/doc_toc.py.
Yes, doc_toc.py does not include the english versions of the documents
that are not yet translated, but there are also two bugs in lyx2lyx.
This patch fixes
This trivial patch is needed for newer rpm versions.
--
Kayvan A. Sylvan | Proud husband of | Father to my kids:
Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)
Index:
Am Samstag, 17. September 2005 17:09 schrieb Bo Peng:
> Is there a way to tell whether a layout file is 1.3 or 1.4?
Only by looking at the contents. I guess we should add a version field.
> If so,
> your converter can be easily added to configure.py.
This is not the right place, since layout
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
Georg Baum wrote:
>> Nevertheless, the bug you are looking for is in lib/doc/doc_toc.py.
> Yes, doc_toc.py does not include the english versions of the documents
> that are not yet translated, but there are also two bugs in lyx2lyx.
> This patch fixes them, can it go in?
I understand that
Kayvan A. Sylvan wrote:
> This trivial patch is needed for newer rpm versions.
Committed.
--
Angus
> 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?
Off topic: if the lyx developers are planning on any major operation
to the lyx/cvs system, it would be a good idea to
> 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
> This is not the right place, since layout files are not loaded via the
> converter mechanism. If the converter is to be used we know that it is
> available and it will be called directly from LyX (look how lyx2lyx is
> called).
I still do not get it. configure/configure.py will scan through all
Bo Peng wrote:
>> This is not the right place, since layout files are not loaded via the
>> converter mechanism. If the converter is to be used we know that it is
>> available and it will be called directly from LyX (look how lyx2lyx is
>> called).
>
> I still do not get it.
> Just one reason why use of configure.py might not be a good idea.
>
Then why do we need to 'convert' a layout file? Why can not we simply
handle two versions internally? Anyway, a version signature would help
in all cases.
Bo
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
> 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
On Sunday 18 September 2005 10:18, Angus Leeming wrote:
>
> I understand that string.strip(foo) is deprecated in favour of foo.strip().
> Ditto with string.split(foo).
>
> http://docs.python.org/lib/node110.html
>
> José, why do we continue to use the deprecated versions? Support for
> ancient
On Sunday 18 September 2005 19:09, Bo Peng wrote:
> > Just one reason why use of configure.py might not be a good idea.
>
> Then why do we need to 'convert' a layout file? Why can not we simply
> handle two versions internally? Anyway, a version signature would help
> in all cases.
FWIW that is
> For me that is a burden, the absence of the extended operators in python
> (+=, -=, ... op=) makes the code dull, the fact that string were made a first
> class type only in python 2.0 does not help either.
What? += and string class is not in 1.5.2? I use it a lot in configure.py.
> If you
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
On Sunday 18 September 2005 19:55, Bo Peng wrote:
> > For me that is a burden, the absence of the extended operators in
> > python (+=, -=, ... op=) makes the code dull, the fact that string were
> > made a first class type only in python 2.0 does not help either.
>
> What? += and string class
Michael Gerz wrote:
if you place the cursor in front of a vspace inset, it is displayed
way too high.
I had a look at method "metrics" in insetvspace.C which IMHO is a bit
confusing (and partially wrong - Why is size set to 10 initially? Why
do we decrease the font size twice but compute
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
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
> 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
Bo Peng <[EMAIL PROTECTED]> writes:
| > 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?
|
| Off topic: if the lyx developers are planning on any major operation
|
46 matches
Mail list logo