Re: Embedded Python (Was: Re: [OT] TeXmacs?)
- Original Message - From: "Matej Cepl" [EMAIL PROTECTED] To: "LyX disc. list" [EMAIL PROTECTED] Sent: Wednesday, April 25, 2001 9:12 AM Subject: Embedded Python (Was: Re: [OT] TeXmacs?) On ter 24 duben 2001 21:51 you wrote: 3.TeXmacs comes with the Guile/Scheme extension language. Hmmm... we'll almost certainly end up with Python. Asger has already shown about 3 years ago that Python can be embedded in a couple of lines. The problem is more a matter of "should we, yet?" YES! Than I would be able to get my beloved transpose-characters function, which nobody cares to implement in LyX. Matej We need some lawyers in the developers team eh? ;-) R
Embedded Python (Was: Re: [OT] TeXmacs?)
Matej Cepl writes: YES! Than I would be able to get my beloved transpose-characters function, which nobody cares to implement in LyX. I wouldn't know how to implement it, but I'll second the request. In addition to a transpose-characters (C-t) function, LyX could use a transpose-words (M-t) function; improved implementations of word-capitalize, word-lowcase, and word-upcase functions; and sentence-sensitive commands like delete-to-end-of-sentence (M-d), go-to-end-of-sentence (M-e) and go-to-beginning-of-sentence (M-a). For the eternal wish-list ... -- Ronald Florence http://members.home.net/18james
Re: Embedded Python (Was: Re: [OT] TeXmacs?)
From: Matej Cepl [EMAIL PROTECTED] To: LyX disc. list [EMAIL PROTECTED] Subject: Embedded Python (Was: Re: [OT] TeXmacs?) Date: Wed, 25 Apr 2001 10:12:56 -0400 On úterý 24 duben 2001 21:51 you wrote: 3.TeXmacs comes with the Guile/Scheme extension language. Hmmm... we'll almost certainly end up with Python. Asger has already shown about 3 years ago that Python can be embedded in a couple of lines. The problem is more a matter of should we, yet? YES! Than I would be able to get my beloved transpose-characters function, which nobody cares to implement in LyX. Matej Having customizable panels both for math macros and ordinary macros is more urgent IMHO, unless such an embedding helps to do it. We've got here a tool prone to formula typesetting and the reuse of already available stuff is far too rough. Anyone having used Ann Arbor's SGML implementation of TeX will see what I mean I guess. Sorry I can't give a hand on it... -- Jean-Pierre
Re: Embedded Python (Was: Re: [OT] TeXmacs?)
Matej Cepl [EMAIL PROTECTED] writes: | YES! Than I would be able to get my beloved transpose-characters | function, which nobody cares to implement in LyX. You only have to provide a patch... (same as you would have to do with python, unless you don't want to share of course.) -- Lgb
Embedded Python (Was: Re: [OT] TeXmacs?)
On ter 24 duben 2001 21:51 you wrote: 3.TeXmacs comes with the Guile/Scheme extension language. Hmmm... we'll almost certainly end up with Python. Asger has already shown about 3 years ago that Python can be embedded in a couple of lines. The problem is more a matter of "should we, yet?" YES! Than I would be able to get my beloved transpose-characters function, which nobody cares to implement in LyX. Matej
Re: Embedded Python (Was: Re: [OT] TeXmacs?)
On Wed 25 duben 2001 12:06 Lars Gullik Bj?nnes wrote: Matej Cepl [EMAIL PROTECTED] writes: | YES! Than I would be able to get my beloved | transpose-characters function, which nobody cares to | implement in LyX. You only have to provide a patch... (same as you would have to do with python, unless you don't want to share of course.) OK, I have no clue how to do it in C++ and I cannot programm well, but I was able to do it in my Word (a long time ago, when have been working with it) like this: Sub Prohodit() Dim Pom As String With Selection .MoveRight Unit:=wdCharacter, Count:=1, Extend:=wdExtend Pom = .Text .Delete .MoveLeft Unit:=wdCharacter, Count:=1 .InsertAfter Pom$ .MoveStart Unit:=wdCharacter, Count:=2 End With End Sub Tell me, how to write it in C++ and where does it go, and five minutes later I will have it there (and you will get a patch). Promise! I do not want quarrel with you about such a triviality, but what I mean is, that by embedding Python you would allow us, non-programmers, to help you a send you beautiful :-) programmes for everything WE need (not what you think we need, which may be sometimes different). Have a nice day Matej Cepl
Re: Embedded Python (Was: Re: [OT] TeXmacs?)
- Original Message - From: "Matej Cepl" [EMAIL PROTECTED] To: "LyX disc. list" [EMAIL PROTECTED] Sent: Wednesday, April 25, 2001 9:12 AM Subject: Embedded Python (Was: Re: [OT] TeXmacs?) On ter 24 duben 2001 21:51 you wrote: 3.TeXmacs comes with the Guile/Scheme extension language. Hmmm... we'll almost certainly end up with Python. Asger has already shown about 3 years ago that Python can be embedded in a couple of lines. The problem is more a matter of "should we, yet?" YES! Than I would be able to get my beloved transpose-characters function, which nobody cares to implement in LyX. Matej We need some lawyers in the developers team eh? ;-) R
Embedded Python (Was: Re: [OT] TeXmacs?)
Matej Cepl writes: YES! Than I would be able to get my beloved transpose-characters function, which nobody cares to implement in LyX. I wouldn't know how to implement it, but I'll second the request. In addition to a transpose-characters (C-t) function, LyX could use a transpose-words (M-t) function; improved implementations of word-capitalize, word-lowcase, and word-upcase functions; and sentence-sensitive commands like delete-to-end-of-sentence (M-d), go-to-end-of-sentence (M-e) and go-to-beginning-of-sentence (M-a). For the eternal wish-list ... -- Ronald Florence http://members.home.net/18james
Re: Embedded Python (Was: Re: [OT] TeXmacs?)
From: Matej Cepl [EMAIL PROTECTED] To: LyX disc. list [EMAIL PROTECTED] Subject: Embedded Python (Was: Re: [OT] TeXmacs?) Date: Wed, 25 Apr 2001 10:12:56 -0400 On úterý 24 duben 2001 21:51 you wrote: 3.TeXmacs comes with the Guile/Scheme extension language. Hmmm... we'll almost certainly end up with Python. Asger has already shown about 3 years ago that Python can be embedded in a couple of lines. The problem is more a matter of should we, yet? YES! Than I would be able to get my beloved transpose-characters function, which nobody cares to implement in LyX. Matej Having customizable panels both for math macros and ordinary macros is more urgent IMHO, unless such an embedding helps to do it. We've got here a tool prone to formula typesetting and the reuse of already available stuff is far too rough. Anyone having used Ann Arbor's SGML implementation of TeX will see what I mean I guess. Sorry I can't give a hand on it... -- Jean-Pierre
Re: Embedded Python (Was: Re: [OT] TeXmacs?)
Matej Cepl [EMAIL PROTECTED] writes: | YES! Than I would be able to get my beloved transpose-characters | function, which nobody cares to implement in LyX. You only have to provide a patch... (same as you would have to do with python, unless you don't want to share of course.) -- Lgb
Embedded Python (Was: Re: [OT] TeXmacs?)
On ter 24 duben 2001 21:51 you wrote: 3.TeXmacs comes with the Guile/Scheme extension language. Hmmm... we'll almost certainly end up with Python. Asger has already shown about 3 years ago that Python can be embedded in a couple of lines. The problem is more a matter of "should we, yet?" YES! Than I would be able to get my beloved transpose-characters function, which nobody cares to implement in LyX. Matej
Re: Embedded Python (Was: Re: [OT] TeXmacs?)
On Wed 25 duben 2001 12:06 Lars Gullik Bj?nnes wrote: Matej Cepl [EMAIL PROTECTED] writes: | YES! Than I would be able to get my beloved | transpose-characters function, which nobody cares to | implement in LyX. You only have to provide a patch... (same as you would have to do with python, unless you don't want to share of course.) OK, I have no clue how to do it in C++ and I cannot programm well, but I was able to do it in my Word (a long time ago, when have been working with it) like this: Sub Prohodit() Dim Pom As String With Selection .MoveRight Unit:=wdCharacter, Count:=1, Extend:=wdExtend Pom = .Text .Delete .MoveLeft Unit:=wdCharacter, Count:=1 .InsertAfter Pom$ .MoveStart Unit:=wdCharacter, Count:=2 End With End Sub Tell me, how to write it in C++ and where does it go, and five minutes later I will have it there (and you will get a patch). Promise! I do not want quarrel with you about such a triviality, but what I mean is, that by embedding Python you would allow us, non-programmers, to help you a send you beautiful :-) programmes for everything WE need (not what you think we need, which may be sometimes different). Have a nice day Matej Cepl
Re: Embedded Python (Was: Re: [OT] TeXmacs?)
- Original Message - From: "Matej Cepl" <[EMAIL PROTECTED]> To: "LyX disc. list" <[EMAIL PROTECTED]> Sent: Wednesday, April 25, 2001 9:12 AM Subject: Embedded Python (Was: Re: [OT] TeXmacs?) > On úterý 24 duben 2001 21:51 you wrote: > > > 3.TeXmacs comes with the Guile/Scheme extension > > > language. > > > > Hmmm... we'll almost certainly end up with Python. Asger has > > already shown about 3 years ago that Python can be embedded in > > a couple of lines. The problem is more a matter of "should we, > > yet?" > > YES! Than I would be able to get my beloved transpose-characters > function, which nobody cares to implement in LyX. > > Matej We need some lawyers in the developers team eh? ;-) R
Embedded Python (Was: Re: [OT] TeXmacs?)
Matej Cepl writes: YES! Than I would be able to get my beloved transpose-characters function, which nobody cares to implement in LyX. I wouldn't know how to implement it, but I'll second the request. In addition to a transpose-characters (C-t) function, LyX could use a transpose-words (M-t) function; improved implementations of word-capitalize, word-lowcase, and word-upcase functions; and sentence-sensitive commands like delete-to-end-of-sentence (M-d), go-to-end-of-sentence (M-e) and go-to-beginning-of-sentence (M-a). For the eternal wish-list ... -- Ronald Florence http://members.home.net/18james
Re: Embedded Python (Was: Re: [OT] TeXmacs?)
>>From: Matej Cepl <[EMAIL PROTECTED]> >>To: "LyX disc. list" <[EMAIL PROTECTED]> >>Subject: Embedded Python (Was: Re: [OT] TeXmacs?) >>Date: Wed, 25 Apr 2001 10:12:56 -0400 >> >>On úterý 24 duben 2001 21:51 you wrote: >>> > 3.TeXmacs comes with the Guile/Scheme extension >>> > language. >>> >>> Hmmm... we'll almost certainly end up with Python. Asger has >>> already shown about 3 years ago that Python can be embedded in >>> a couple of lines. The problem is more a matter of "should we, >>> yet?" >> >>YES! Than I would be able to get my beloved transpose-characters >>function, which nobody cares to implement in LyX. >> >>Matej Having customizable panels both for math macros and ordinary macros is more urgent IMHO, unless such an embedding helps to do it. We've got here a tool prone to formula typesetting and the reuse of already available stuff is far too rough. Anyone having used Ann Arbor's SGML implementation of TeX will see what I mean I guess. Sorry I can't give a hand on it... -- Jean-Pierre
Re: Embedded Python (Was: Re: [OT] TeXmacs?)
Matej Cepl <[EMAIL PROTECTED]> writes: | YES! Than I would be able to get my beloved transpose-characters | function, which nobody cares to implement in LyX. You only have to provide a patch... (same as you would have to do with python, unless you don't want to share of course.) -- Lgb
Embedded Python (Was: Re: [OT] TeXmacs?)
On úterý 24 duben 2001 21:51 you wrote: > > 3.TeXmacs comes with the Guile/Scheme extension > > language. > > Hmmm... we'll almost certainly end up with Python. Asger has > already shown about 3 years ago that Python can be embedded in > a couple of lines. The problem is more a matter of "should we, > yet?" YES! Than I would be able to get my beloved transpose-characters function, which nobody cares to implement in LyX. Matej
Re: Embedded Python (Was: Re: [OT] TeXmacs?)
On Wed 25 duben 2001 12:06 Lars Gullik Bj?nnes wrote: > Matej Cepl <[EMAIL PROTECTED]> writes: > | YES! Than I would be able to get my beloved > | transpose-characters function, which nobody cares to > | implement in LyX. > > You only have to provide a patch... > > (same as you would have to do with python, unless you don't > want to share of course.) OK, I have no clue how to do it in C++ and I cannot programm well, but I was able to do it in my Word (a long time ago, when have been working with it) like this: Sub Prohodit() Dim Pom As String With Selection .MoveRight Unit:=wdCharacter, Count:=1, Extend:=wdExtend Pom = .Text .Delete .MoveLeft Unit:=wdCharacter, Count:=1 .InsertAfter Pom$ .MoveStart Unit:=wdCharacter, Count:=2 End With End Sub Tell me, how to write it in C++ and where does it go, and five minutes later I will have it there (and you will get a patch). Promise! I do not want quarrel with you about such a triviality, but what I mean is, that by embedding Python you would allow us, non-programmers, to help you a send you beautiful :-) programmes for everything WE need (not what you think we need, which may be sometimes different). Have a nice day Matej Cepl