Re: [patch] Add support for cygwin-tetex to native win32 LyX

2006-04-20 Thread Enrico Forestieri
On Thu, Apr 20, 2006 at 11:04:57AM +0200, Georg Baum wrote: > Enrico Forestieri wrote: > > > -if test -z "$COMSPEC" && test -z "$ComSpec"; then SEP=':'; else SEP=';'; > > fi +# MS-DOS and MS-Windows define $COMSPEC or $ComSpec and use `;' to > > separate > > +# directories in path lists whereas Un

Re: [patch] Add support for cygwin-tetex to native win32 LyX

2006-04-20 Thread Georg Baum
Enrico Forestieri wrote: > -if test -z "$COMSPEC" && test -z "$ComSpec"; then SEP=':'; else SEP=';'; > fi +# MS-DOS and MS-Windows define $COMSPEC or $ComSpec and use `;' to > separate > +# directories in path lists whereas Unix uses `:'. Make an exception for > +# Cygwin, where we could have eit

Re: [patch] Add support for cygwin-tetex to native win32 LyX

2006-04-17 Thread Enrico Forestieri
On Mon, Apr 17, 2006 at 03:30:36PM +0200, Georg Baum wrote: > Am Samstag, 15. April 2006 19:47 schrieb Enrico Forestieri: > > On Sat, Apr 15, 2006 at 06:54:56PM +0200, Georg Baum wrote: > > I can't do that because it doesn't depend on cygwin or windows but > > on miktex or tetex. If you use miktex

Re: [patch] Add support for cygwin-tetex to native win32 LyX

2006-04-17 Thread Georg Baum
Am Samstag, 15. April 2006 19:47 schrieb Enrico Forestieri: > On Sat, Apr 15, 2006 at 06:54:56PM +0200, Georg Baum wrote: > I can't do that because it doesn't depend on cygwin or windows but > on miktex or tetex. If you use miktex SEP=';', if you use tetex SEP=':'. > I am attaching a revised patch

Re: [patch] Add support for cygwin-tetex to native win32 LyX

2006-04-15 Thread Enrico Forestieri
On Sat, Apr 15, 2006 at 06:54:56PM +0200, Georg Baum wrote: > Am Samstag, 15. April 2006 18:21 schrieb Enrico Forestieri: > > Very unlikely failure on windows, very unlikely failure on unix, but > > certain failure with cygwin. It seems to me that you don't care for > cygwin. > > I care far too

Re: [patch] Add support for cygwin-tetex to native win32 LyX

2006-04-15 Thread Georg Baum
Am Samstag, 15. April 2006 18:21 schrieb Enrico Forestieri: > Very unlikely failure on windows, very unlikely failure on unix, but > certain failure with cygwin. It seems to me that you don't care for cygwin. I care far too much given that I don't use it. If this is a certain failure on cygwin,

Re: [patch] Add support for cygwin-tetex to native win32 LyX

2006-04-15 Thread Enrico Forestieri
On Sat, Apr 15, 2006 at 06:01:47PM +0200, Georg Baum wrote: > Am Samstag, 15. April 2006 17:39 schrieb Enrico Forestieri: > > So, you look for ';' in the output and if it is there SEP=';', > > otherwise SEP=':'. Can't fail. > > Wrong: > > mkdir -p /home/georg/tmp/semi\;colon/tex > export TEXMFLO

Re: [patch] Add support for cygwin-tetex to native win32 LyX

2006-04-15 Thread Georg Baum
Am Samstag, 15. April 2006 17:39 schrieb Enrico Forestieri: > So, you look for ';' in the output and if it is there SEP=';', > otherwise SEP=':'. Can't fail. Wrong: mkdir -p /home/georg/tmp/semi\;colon/tex export TEXMFLOCAL=/home/georg/tmp/semi\;colon/ kpsewhich --show-path=.tex .:/home/georg/.te

Re: [patch] Add support for cygwin-tetex to native win32 LyX

2006-04-15 Thread Enrico Forestieri
On Sat, Apr 15, 2006 at 04:56:28PM +0200, Georg Baum wrote: > Am Freitag, 14. April 2006 20:56 schrieb Enrico Forestieri: > > I added a comment and also took into account a fix for the separator > > in lib/scripts/TeXFiles.sh. Here SEP is set to ';' or ':' simply based > > on the existence or not

Re: [patch] Add support for cygwin-tetex to native win32 LyX

2006-04-15 Thread Georg Baum
Am Freitag, 14. April 2006 20:56 schrieb Enrico Forestieri: > I added a comment and also took into account a fix for the separator > in lib/scripts/TeXFiles.sh. Here SEP is set to ';' or ':' simply based > on the existence or not of the environment variable COMSPEC. > But the cygwin tetex uses ':'

Re: [patch] Add support for cygwin-tetex to native win32 LyX

2006-04-14 Thread Enrico Forestieri
On Fri, Apr 14, 2006 at 08:56:51PM +0200, Enrico Forestieri wrote: > On Fri, Apr 14, 2006 at 09:57:21AM +0200, Georg Baum wrote: > > > Am Mittwoch, 12. April 2006 23:39 schrieb Enrico Forestieri: > > > > Is it sufficient adding a comment? Changing that would require more > > > than one line for

Re: [patch] Add support for cygwin-tetex to native win32 LyX

2006-04-14 Thread Enrico Forestieri
On Fri, Apr 14, 2006 at 09:57:21AM +0200, Georg Baum wrote: > Am Mittwoch, 12. April 2006 23:39 schrieb Enrico Forestieri: > > Is it sufficient adding a comment? Changing that would require more > > than one line for no good... > > If you add a comment with the mount output then it would be OK w

Re: [patch] Add support for cygwin-tetex to native win32 LyX

2006-04-14 Thread Enrico Forestieri
On Fri, Apr 14, 2006 at 06:23:37PM +0100, Jose' Matos wrote: > On Friday 14 April 2006 16:00, Enrico Forestieri wrote: > > > > I think you don't love APL ;-) > > > > > > I never saw it in a real project, so I don't know whether I would love > > > it :-) > > > > I had a collegue which used and love

Re: [patch] Add support for cygwin-tetex to native win32 LyX

2006-04-14 Thread Jose' Matos
On Friday 14 April 2006 16:00, Enrico Forestieri wrote: > > > I think you don't love APL ;-) > > > > I never saw it in a real project, so I don't know whether I would love > > it :-) > > I had a collegue which used and loved that programming language. > I was really impressed by its compactness but

Re: [patch] Add support for cygwin-tetex to native win32 LyX

2006-04-14 Thread Enrico Forestieri
On Fri, Apr 14, 2006 at 09:57:21AM +0200, Georg Baum wrote: > Am Mittwoch, 12. April 2006 23:39 schrieb Enrico Forestieri: > > The output of the command is like this: > > > > $ mount --show-cygdrive-prefix > > Prefix Type Flags > > /cygdrive system binmode > >

Re: [patch] Add support for cygwin-tetex to native win32 LyX

2006-04-14 Thread Georg Baum
Am Mittwoch, 12. April 2006 23:39 schrieb Enrico Forestieri: > The output of the command is like this: > > $ mount --show-cygdrive-prefix > Prefix Type Flags > /cygdrive system binmode > > so, the inner split returns "/cygdrive system binmode"

Re: [patch] Add support for cygwin-tetex to native win32 LyX

2006-04-12 Thread Enrico Forestieri
On Wed, Apr 12, 2006 at 09:46:46PM +0200, Georg Baum wrote: > Am Montag, 10. April 2006 02:52 schrieb Enrico Forestieri: > > Index: src/support/os_win32.C > > === > > --- src/support/os_win32.C  (revision 13615) > > +++ src/suppo

Re: [patch] Add support for cygwin-tetex to native win32 LyX

2006-04-12 Thread Georg Baum
Am Montag, 10. April 2006 02:52 schrieb Enrico Forestieri: > Index: src/support/os_win32.C > === > --- src/support/os_win32.C  (revision 13615) > +++ src/support/os_win32.C  (working copy) > @@ -146,6 +158,14 @@ void init(int

Re: [patch] Add support for cygwin-tetex to native win32 LyX

2006-04-10 Thread Lars Gullik Bjønnes
Georg Baum <[EMAIL PROTECTED]> writes: | Ok, thanks. But this is exactly my problem: I don't want to commit for | Enrico if he keeps sending patches regularly. Some of us must to do this, we should all help review and also the commit does not have to be done by the same person all the time. --

Re: [patch] Add support for cygwin-tetex to native win32 LyX

2006-04-10 Thread Georg Baum
Lars Gullik Bjønnes wrote: > Georg Baum <[EMAIL PROTECTED]> > writes: > > | > This means that the current developers with commit privileges, but > | > review, comment and commit the patches for those that do not have such > | > privileges. > | > | I can't parse that sentence. Could you explain i

Re: [patch] Add support for cygwin-tetex to native win32 LyX

2006-04-09 Thread Enrico Forestieri
On Sun, Apr 09, 2006 at 06:58:28PM +0200, Georg Baum wrote: > Another idea that I had in the meantime was: If a cygwin tetex is found, > then there is probably also a cygwin config program in the path that > could be queried for the correct name. If that is the case, then it would > probably no

Re: [patch] Add support for cygwin-tetex to native win32 LyX

2006-04-09 Thread Lars Gullik Bjønnes
Georg Baum <[EMAIL PROTECTED]> writes: | > This means that the current developers with commit privileges, but | > review, comment and commit the patches for those that do not have such | > privileges. | | I can't parse that sentence. Could you explain it please? s/but/must -- Lgb

Re: [patch] Add support for cygwin-tetex to native win32 LyX

2006-04-09 Thread Enrico Forestieri
On Sun, Apr 09, 2006 at 07:09:33PM +0200, Lars Gullik Bjønnes wrote: > Georg Baum <[EMAIL PROTECTED]> writes: > > | You should get yourself commit privileges and put this in. I would not > | oppose, but I don't like it enough to do it for you. > > Just a note on commit privileges. I am not goin

Re: [patch] Add support for cygwin-tetex to native win32 LyX

2006-04-09 Thread Enrico Forestieri
On Sun, Apr 09, 2006 at 06:58:28PM +0200, Georg Baum wrote: > Am Sonntag, 9. April 2006 17:01 schrieb Enrico Forestieri: > > > No. But I neither saw anyone using the cygwin tetex with native win > LyX. > > > > Then you probably missed a recent thread in the users list ;-) > > http://thread.gmane

Re: [patch] Add support for cygwin-tetex to native win32 LyX

2006-04-09 Thread Georg Baum
Am Sonntag, 9. April 2006 19:09 schrieb Lars Gullik Bjønnes: > Just a note on commit privileges. I am not going to give out commit > privileges for all users/devvies that come along with the occasional > pach. > > A somewhat continous presence, and a shown ability to conform to our > coding standa

Re: [patch] Add support for cygwin-tetex to native win32 LyX

2006-04-09 Thread Lars Gullik Bjønnes
Georg Baum <[EMAIL PROTECTED]> writes: | You should get yourself commit privileges and put this in. I would not | oppose, but I don't like it enough to do it for you. Just a note on commit privileges. I am not going to give out commit privileges for all users/devvies that come along with the occ

Re: [patch] Add support for cygwin-tetex to native win32 LyX

2006-04-09 Thread Georg Baum
Am Sonntag, 9. April 2006 17:01 schrieb Enrico Forestieri: > > No. But I neither saw anyone using the cygwin tetex with native win LyX. > > Then you probably missed a recent thread in the users list ;-) > http://thread.gmane.org/gmane.editors.lyx.general/28902/focus=28902 Probably. > Also, give

Re: [patch] Add support for cygwin-tetex to native win32 LyX

2006-04-09 Thread Enrico Forestieri
On Sun, Apr 09, 2006 at 10:11:37AM +0200, Georg Baum wrote: > Am Sonntag, 9. April 2006 09:40 schrieb Andre Poenitz: > > On Sat, Apr 08, 2006 at 09:45:21PM +0200, Georg Baum wrote: > > > I don't like the hardcoded "/cygdrive/", because that would fail for > > > people who changed that name. > >

Re: [patch] Add support for cygwin-tetex to native win32 LyX

2006-04-09 Thread Lars Gullik Bjønnes
Abdelrazak Younes <[EMAIL PROTECTED]> writes: | Lars Gullik Bjønnes a écrit : | > Abdelrazak Younes <[EMAIL PROTECTED]> writes: | > | Enrico Forestieri a écrit : | > | > On Sat, Apr 08, 2006 at 07:00:01PM +0200, Abdelrazak Younes wrote: | > | > | > | >> Enrico Forestieri a écrit : | > | >>> All th

'Re: [patch] Add support for cygwin-tetex to native win32 LyX' - MARC

2006-04-09 Thread Stephen Harris
http://marc.theaimsgroup.com/?l=lyx-devel&m=114457031207621&w=2 Am Sonntag, 9. April 2006 09:40 schrieb Andre Poenitz: > On Sat, Apr 08, 2006 at 09:45:21PM +0200, Georg Baum wrote: > > I don't like the hardcoded "/cygdrive/", because that would fail for > > people who changed that name. > > Have

Re: [patch] Add support for cygwin-tetex to native win32 LyX

2006-04-09 Thread Abdelrazak Younes
Lars Gullik Bjønnes a écrit : Abdelrazak Younes <[EMAIL PROTECTED]> writes: | Enrico Forestieri a écrit : | > On Sat, Apr 08, 2006 at 07:00:01PM +0200, Abdelrazak Younes wrote: | > | >> Enrico Forestieri a écrit : | >>> All the necessary machinery to activate it is already present in | >>> confi

Re: [patch] Add support for cygwin-tetex to native win32 LyX

2006-04-09 Thread Georg Baum
Am Sonntag, 9. April 2006 09:40 schrieb Andre Poenitz: > On Sat, Apr 08, 2006 at 09:45:21PM +0200, Georg Baum wrote: > > I don't like the hardcoded "/cygdrive/", because that would fail for > > people who changed that name. > > Have you ever met someone doing that? No. But I neither saw anyone u

Re: [patch] Add support for cygwin-tetex to native win32 LyX

2006-04-09 Thread Andre Poenitz
On Sat, Apr 08, 2006 at 09:45:21PM +0200, Georg Baum wrote: > Am Samstag, 8. April 2006 18:14 schrieb Enrico Forestieri: > > All the necessary machinery to activate it is already present in > > configure and configure.py, so this simple patch to os_win32.C > > allows using the cygwin tetex with a n

Re: [patch] Add support for cygwin-tetex to native win32 LyX

2006-04-08 Thread Lars Gullik Bjønnes
Abdelrazak Younes <[EMAIL PROTECTED]> writes: | Enrico Forestieri a écrit : | > On Sat, Apr 08, 2006 at 07:00:01PM +0200, Abdelrazak Younes wrote: | > | >> Enrico Forestieri a écrit : | >>> All the necessary machinery to activate it is already present in | >>> configure and configure.py, so this s

Re: [patch] Add support for cygwin-tetex to native win32 LyX

2006-04-08 Thread Enrico Forestieri
On Sat, Apr 08, 2006 at 09:52:53PM +0200, Abdelrazak Younes wrote: > Enrico Forestieri a écrit : > > On Sat, Apr 08, 2006 at 07:00:01PM +0200, Abdelrazak Younes wrote: > > > >> Enrico Forestieri a écrit : > >>> All the necessary machinery to activate it is already present in > >>> configure and c

Re: [patch] Add support for cygwin-tetex to native win32 LyX

2006-04-08 Thread Enrico Forestieri
On Sat, Apr 08, 2006 at 09:45:21PM +0200, Georg Baum wrote: > Am Samstag, 8. April 2006 18:14 schrieb Enrico Forestieri: > > All the necessary machinery to activate it is already present in > > configure and configure.py, so this simple patch to os_win32.C > > allows using the cygwin tetex with a

Re: [patch] Add support for cygwin-tetex to native win32 LyX

2006-04-08 Thread Abdelrazak Younes
Enrico Forestieri a écrit : On Sat, Apr 08, 2006 at 07:00:01PM +0200, Abdelrazak Younes wrote: Enrico Forestieri a écrit : All the necessary machinery to activate it is already present in configure and configure.py, so this simple patch to os_win32.C allows using the cygwin tetex with a native

Re: [patch] Add support for cygwin-tetex to native win32 LyX

2006-04-08 Thread Georg Baum
Am Samstag, 8. April 2006 18:14 schrieb Enrico Forestieri: > All the necessary machinery to activate it is already present in > configure and configure.py, so this simple patch to os_win32.C > allows using the cygwin tetex with a native win32 LyX. > > Log: > * src/support/os_win32.C: activat

Re: [patch] Add support for cygwin-tetex to native win32 LyX

2006-04-08 Thread Enrico Forestieri
On Sat, Apr 08, 2006 at 07:00:01PM +0200, Abdelrazak Younes wrote: > Enrico Forestieri a écrit : > > All the necessary machinery to activate it is already present in > > configure and configure.py, so this simple patch to os_win32.C > > allows using the cygwin tetex with a native win32 LyX. > > H

Re: [patch] Add support for cygwin-tetex to native win32 LyX

2006-04-08 Thread Abdelrazak Younes
Enrico Forestieri a écrit : All the necessary machinery to activate it is already present in configure and configure.py, so this simple patch to os_win32.C allows using the cygwin tetex with a native win32 LyX. Hi Enrico, Small question: if this patch was applied what would be missing in a na

Re: [patch] Add support for cygwin-tetex to native win32 LyX

2006-04-08 Thread Enrico Forestieri
On Sat, Apr 08, 2006 at 06:14:36PM +0200, Enrico Forestieri wrote: > All the necessary machinery to activate it is already present in > configure and configure.py, so this simple patch to os_win32.C > allows using the cygwin tetex with a native win32 LyX. Ops... renamed dos_path to cygpath ;-) -

[patch] Add support for cygwin-tetex to native win32 LyX

2006-04-08 Thread Enrico Forestieri
All the necessary machinery to activate it is already present in configure and configure.py, so this simple patch to os_win32.C allows using the cygwin tetex with a native win32 LyX. Log: * src/support/os_win32.C: activate cygwin-tetex support Do with it whatever you think fits better ;-)