Re: execute command whenever I compile LyX file

2009-12-14 Thread rgheck
On 12/14/2009 02:54 AM, Rainer M Krug wrote: Sorry - the copier should read: ### #!/bin/bash FROM=$1 TO=$2 TODIR=`dirname $TO` svn info $FROM $TODIR/svninfo.txt ### This might work. You should put the copier in

Re: execute command whenever I compile LyX file

2009-12-14 Thread Rainer M Krug
2009/12/14 rgheck rgh...@bobjweil.com On 12/14/2009 02:54 AM, Rainer M Krug wrote: Sorry - the copier should read: ### #!/bin/bash FROM=$1 TO=$2 TODIR=`dirname $TO` svn info $FROM $TODIR/svninfo.txt ###

Re: execute command whenever I compile LyX file

2009-12-14 Thread rgheck
On 12/14/2009 09:41 AM, Rainer M Krug wrote: I save it in ~/.lyx/scripts/ but it is not executed. Do I have to set it somewhere to execute the script? Do I have to set the copier to execute this script somwehere under FileFormats? Yes, you have to set the copier under Converters, for

Re: execute command whenever I compile LyX file

2009-12-14 Thread Rainer M Krug
2009/12/14 rgheck rgh...@bobjweil.com On 12/14/2009 09:41 AM, Rainer M Krug wrote: I save it in ~/.lyx/scripts/ but it is not executed. Do I have to set it somewhere to execute the script? Do I have to set the copier to execute this script somwehere under FileFormats? Yes, you have to

Re: execute command whenever I compile LyX file

2009-12-14 Thread rgheck
On 12/14/2009 09:53 AM, Rainer M Krug wrote: 2009/12/14 rgheckrgh...@bobjweil.com On 12/14/2009 09:41 AM, Rainer M Krug wrote: I save it in ~/.lyx/scripts/ but it is not executed. Do I have to set it somewhere to execute the script? Do I have to set the copier to execute this

Re: execute command whenever I compile LyX file

2009-12-14 Thread Rainer M Krug
2009/12/14 rgheck rgh...@bobjweil.com On 12/14/2009 09:53 AM, Rainer M Krug wrote: 2009/12/14 rgheckrgh...@bobjweil.com On 12/14/2009 09:41 AM, Rainer M Krug wrote: I save it in ~/.lyx/scripts/ but it is not executed. Do I have to set it somewhere to execute the script? Do I have to

Re: execute command whenever I compile LyX file

2009-12-14 Thread rgheck
On 12/14/2009 02:54 AM, Rainer M Krug wrote: Sorry - the copier should read: ### #!/bin/bash FROM=$1 TO=$2 TODIR=`dirname $TO` svn info $FROM $TODIR/svninfo.txt ### This might work. You should put the copier in

Re: execute command whenever I compile LyX file

2009-12-14 Thread Rainer M Krug
2009/12/14 rgheck rgh...@bobjweil.com On 12/14/2009 02:54 AM, Rainer M Krug wrote: Sorry - the copier should read: ### #!/bin/bash FROM=$1 TO=$2 TODIR=`dirname $TO` svn info $FROM $TODIR/svninfo.txt ###

Re: execute command whenever I compile LyX file

2009-12-14 Thread rgheck
On 12/14/2009 09:41 AM, Rainer M Krug wrote: I save it in ~/.lyx/scripts/ but it is not executed. Do I have to set it somewhere to execute the script? Do I have to set the copier to execute this script somwehere under FileFormats? Yes, you have to set the copier under Converters, for

Re: execute command whenever I compile LyX file

2009-12-14 Thread Rainer M Krug
2009/12/14 rgheck rgh...@bobjweil.com On 12/14/2009 09:41 AM, Rainer M Krug wrote: I save it in ~/.lyx/scripts/ but it is not executed. Do I have to set it somewhere to execute the script? Do I have to set the copier to execute this script somwehere under FileFormats? Yes, you have to

Re: execute command whenever I compile LyX file

2009-12-14 Thread rgheck
On 12/14/2009 09:53 AM, Rainer M Krug wrote: 2009/12/14 rgheckrgh...@bobjweil.com On 12/14/2009 09:41 AM, Rainer M Krug wrote: I save it in ~/.lyx/scripts/ but it is not executed. Do I have to set it somewhere to execute the script? Do I have to set the copier to execute this

Re: execute command whenever I compile LyX file

2009-12-14 Thread Rainer M Krug
2009/12/14 rgheck rgh...@bobjweil.com On 12/14/2009 09:53 AM, Rainer M Krug wrote: 2009/12/14 rgheckrgh...@bobjweil.com On 12/14/2009 09:41 AM, Rainer M Krug wrote: I save it in ~/.lyx/scripts/ but it is not executed. Do I have to set it somewhere to execute the script? Do I have to

Re: execute command whenever I compile LyX file

2009-12-14 Thread rgheck
On 12/14/2009 02:54 AM, Rainer M Krug wrote: Sorry - the copier should read: ### #!/bin/bash FROM=$1 TO=$2 TODIR=`dirname $TO` svn info $FROM> $TODIR/svninfo.txt ### This might work. You should put the copier in

Re: execute command whenever I compile LyX file

2009-12-14 Thread Rainer M Krug
2009/12/14 rgheck > On 12/14/2009 02:54 AM, Rainer M Krug wrote: > >> Sorry - the copier should read: >> >> ### >> #!/bin/bash >> >> FROM=$1 >> >> TO=$2 >> TODIR=`dirname $TO` >> >> svn info $FROM> $TODIR/svninfo.txt >>

Re: execute command whenever I compile LyX file

2009-12-14 Thread rgheck
On 12/14/2009 09:41 AM, Rainer M Krug wrote: I save it in ~/.lyx/scripts/ but it is not executed. Do I have to set it somewhere to execute the script? Do I have to set the copier to execute this script somwehere under FileFormats? Yes, you have to set the copier under Converters, for

Re: execute command whenever I compile LyX file

2009-12-14 Thread Rainer M Krug
2009/12/14 rgheck > On 12/14/2009 09:41 AM, Rainer M Krug wrote: > >> >> I save it in ~/.lyx/scripts/ but it is not executed. >> >> Do I have to set it somewhere to execute the script? Do I have to set the >> copier to execute this script somwehere under FileFormats? >> >>

Re: execute command whenever I compile LyX file

2009-12-14 Thread rgheck
On 12/14/2009 09:53 AM, Rainer M Krug wrote: 2009/12/14 rgheck On 12/14/2009 09:41 AM, Rainer M Krug wrote: I save it in ~/.lyx/scripts/ but it is not executed. Do I have to set it somewhere to execute the script? Do I have to set the copier to execute this

Re: execute command whenever I compile LyX file

2009-12-14 Thread Rainer M Krug
2009/12/14 rgheck > On 12/14/2009 09:53 AM, Rainer M Krug wrote: > >> 2009/12/14 rgheck >> >> >> >>> On 12/14/2009 09:41 AM, Rainer M Krug wrote: >>> >>> >>> I save it in ~/.lyx/scripts/ but it is not executed. Do I have to set it

execute command whenever I compile LyX file

2009-12-13 Thread Rainer M Krug
Hi I want to execute a command whenever I compile a compile a LyX file (pdf, dvi, ps, ...) to save the output from svn info ... to a file to be able to use it I thought about using a copier, but which one do I have to use? Am I right in assuming, thet a copier as below would do what I want?

Re: execute command whenever I compile LyX file

2009-12-13 Thread Rainer M Krug
Sorry - the copier should read: ### #!/bin/bash FROM=$1 TO=$2 TODIR=`dirname $TO` svn info $FROM $TODIR/svninfo.txt ### Rainer On Mon, Dec 14, 2009 at 9:51 AM, Rainer M Krug r.m.k...@gmail.com wrote: Hi I want to

execute command whenever I compile LyX file

2009-12-13 Thread Rainer M Krug
Hi I want to execute a command whenever I compile a compile a LyX file (pdf, dvi, ps, ...) to save the output from svn info ... to a file to be able to use it I thought about using a copier, but which one do I have to use? Am I right in assuming, thet a copier as below would do what I want?

Re: execute command whenever I compile LyX file

2009-12-13 Thread Rainer M Krug
Sorry - the copier should read: ### #!/bin/bash FROM=$1 TO=$2 TODIR=`dirname $TO` svn info $FROM $TODIR/svninfo.txt ### Rainer On Mon, Dec 14, 2009 at 9:51 AM, Rainer M Krug r.m.k...@gmail.com wrote: Hi I want to

execute command whenever I compile LyX file

2009-12-13 Thread Rainer M Krug
Hi I want to execute a command whenever I compile a compile a LyX file (pdf, dvi, ps, ...) to save the output from "svn info ..." to a file to be able to use it I thought about using a copier, but which one do I have to use? Am I right in assuming, thet a copier as below would do what I want?

Re: execute command whenever I compile LyX file

2009-12-13 Thread Rainer M Krug
Sorry - the copier should read: ### #!/bin/bash FROM=$1 TO=$2 TODIR=`dirname $TO` svn info $FROM > $TODIR/svninfo.txt ### Rainer On Mon, Dec 14, 2009 at 9:51 AM, Rainer M Krug wrote: > Hi > > I