Re: lyxexport: batch export utility for LyX

1999-06-30 Thread Jean-Marc Lasgouttes
> "Arnd" == Arnd Hanses <[EMAIL PROTECTED]> writes: Arnd> On Tue, 29 Jun 1999 16:50:32 +0200 (MET DST), Jean-Marc Arnd> Lasgouttes wrote: >> Another fun idea would be that configure could find the right perl, >> and then do a ln -s /usr/local/bin/perl >> /usr/local/share/lyx/thegoodperl Arn

Re: lyxexport: batch export utility for LyX

1999-06-29 Thread Amir Karger
On Tue, Jun 29, 1999 at 05:06:28PM +0200, Jean-Marc Lasgouttes wrote: > > "Amir" == Amir Karger <[EMAIL PROTECTED]> writes: > > Because I'm stupid. I'll invert the order. It's always more fun to make you say it rather than saying it myself. That way it still looks like I"m polite. > Amir> W

Re: lyxexport: batch export utility for LyX

1999-06-29 Thread Arnd Hanses
On Tue, 29 Jun 1999 16:50:32 +0200 (MET DST), Jean-Marc Lasgouttes wrote: >Another fun idea would be that configure could find the right perl, >and then do a > ln -s /usr/local/bin/perl /usr/local/share/lyx/thegoodperl Why not always directly use the absolute pathname instead of using the link

Re: lyxexport: batch export utility for LyX

1999-06-29 Thread Jean-Marc Lasgouttes
> "Amir" == Amir Karger <[EMAIL PROTECTED]> writes: Amir> On Tue, Jun 29, 1999 at 04:50:32PM +0200, Jean-Marc Lasgouttes Amir> wrote: >> > "Andre'" == Andre' Poenitz >> <[EMAIL PROTECTED]> writes: >> >> That's what it does actually. It tries, in this order perl perl5 >> perl5.002 perl5.0

Re: lyxexport: batch export utility for LyX

1999-06-29 Thread Amir Karger
On Tue, Jun 29, 1999 at 04:50:32PM +0200, Jean-Marc Lasgouttes wrote: > > "Andre'" == Andre' Poenitz <[EMAIL PROTECTED]> writes: > > That's what it does actually. It tries, in this order > perl perl5 perl5.002 perl5.003 perl5.004 perl5.005 > and executes 'require 5.002;exit' on each of them

Re: lyxexport: batch export utility for LyX

1999-06-29 Thread Jean-Marc Lasgouttes
> "Andre'" == Andre' Poenitz <[EMAIL PROTECTED]> writes: >> Andre'> #!perl does not work at all, I think, even if perl is in >> Andre'> $PATH. In this place an absolute path is required. >> >> To enter a bit in this discussion, let me say that the problem is >> not to find perl, but to know

Re: lyxexport: batch export utility for LyX

1999-06-29 Thread Andre' Poenitz
> Andre'> #!perl does not work at all, I think, even if perl is in > Andre'> $PATH. In this place an absolute path is required. > > To enter a bit in this discussion, let me say that the problem is not > to find perl, but to know how perl >= 5.002 is named. How does autoconf handle that case?

Re: lyxexport: batch export utility for LyX

1999-06-29 Thread Jean-Marc Lasgouttes
> "Andre'" == Andre' Poenitz <[EMAIL PROTECTED]> writes: >> yes, I sort of remember seeing this somewhere but wasn't able to >> find it when I looked for it... This seems to be the standard way >> to do the job. I think the only advantage over a perl line #!perl >> would be a more helpful err

Re: lyxexport: batch export utility for LyX

1999-06-29 Thread Andre' Poenitz
> yes, I sort of remember seeing this somewhere but wasn't able to find it > when I looked for it... This seems to be the standard way to do the job. I > think the only advantage over a perl line #!perl would be a more helpful > error message, am I wrong? Both eval ... and #!perl require that perl

Re: lyxexport: batch export utility for LyX

1999-06-29 Thread Stefano Ghirlanda
Hi Andre', > I use > > eval "exec perl $0 $*" > if 0; > > as the first two lines of a "portable" perl script (but I do not know, > how portable it really is). yes, I sort of remember seeing this somewhere but wasn't able to find it when I looked for it... This seems to be the standard way t

Re: lyxexport: batch export utility for LyX

1999-06-29 Thread Andre' Poenitz
> I still didn't figure out the "magic" needed to put the correct perl path > at the beginning ot the lyxexport program. I use eval "exec perl $0 $*" if 0; as the first two lines of a "portable" perl script (but I do not know, how portable it really is). The "magic": The script is fed into

lyxexport: batch export utility for LyX

1999-06-29 Thread Stefano Ghirlanda
Hi Jean-Marc and everyone, > Do you want lyxexport to be included in LyX? In this case, there will be > some > work needed to integrate it in the build process. I do not know how we > can do that (in particular where to install LyX-Client so that perl > finds it...). As I said before, the instal

Re: lyxexport: batch export utility for LyX

1999-06-23 Thread Jean-Marc Lasgouttes
> "Stefano" == Stefano Ghirlanda <[EMAIL PROTECTED]> writes: Stefano> Other than that, the only installation needed is to copy Stefano> lyxexport in the user's path. Some magic will also be necessary to add the right path to perl after the #!, I guess. Stefano> I will make the above self-co

Re: lyxexport: batch export utility for LyX

1999-06-23 Thread Anonymous
Hi Jean-Marc and everyone, > Do you want it to be included in LyX? In this case, there will be some > work needed to integrate it in the build process. I do not know how we > can do that (in particular where to install LyX-Client so that perl > finds it...). Ok... let me see lyxexport needs...

Re: lyxexport: batch export utility for LyX

1999-06-22 Thread Anonymous
> Do you want it to be included in LyX? In this case, there will be some > work needed to integrate it in the build process. I do not know how we > can do that (in particular where to install LyX-Client so that perl > finds it...). I generated the Lyx-Client Makefile with some perl auto-stuff fa

Re: lyxexport: batch export utility for LyX

1999-06-22 Thread Anonymous
> "Jean-Marc" == Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: Jean-Marc> Do you want it to be included in LyX? In this case, there ^^ 'it' is lyxexport, of course! Jean-Marc> will be some work needed to integrate it in the build Jean-Marc> process. I do not know ho

Re: lyxexport: batch export utility for LyX

1999-06-22 Thread Jean-Marc Lasgouttes
> "Stefano" == Stefano Ghirlanda <[EMAIL PROTECTED]> writes: >> Mmm, what was the reason why your patch is not yet included in >> 1.0.x? It was last week and I already forgot :( Stefano> Well, I sent the patch 1.0.x only yesterday, I think. Hmm, I need some rest ;( Stefano> I think we

Re: lyxexport: batch export utility for LyX

1999-06-22 Thread Anonymous
Hi, > Stefano> Please read more at > Stefano> http://rerumnatura.zool.su.se/stefano/software > > Stefano, the links to the software one the page are broken... The miss > a software/ in the path. mhmhm... these dynamical pages! fixed now. > Mmm, what was the reason why your patch is not yet inc

Re: lyxexport: batch export utility for LyX

1999-06-22 Thread Anonymous
> "Stefano" == Stefano Ghirlanda <[EMAIL PROTECTED]> writes: Stefano> Hi, I announce the first release of lyxexport, a semi-batch Stefano> export utility for LyX. It currently exports in txt, tex, Stefano> dvi, ps, and even pdf if you have a working pdflatex. Great! Stefano> Please read mor

lyxexport: batch export utility for LyX

1999-06-22 Thread Anonymous
Hi, I announce the first release of lyxexport, a semi-batch export utility for LyX. It currently exports in txt, tex, dvi, ps, and even pdf if you have a working pdflatex. It can also count text words using wc(1) on the .txt file generated by LyX. Please read more at http://rerumnatura.zool.su.s