Re: declare destination directory for converted files

2007-10-16 Thread Andreas Lagemann
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Andreas Lagemann wrote:
 Hello all,
 I'm trying to customize the conversion to html via the tools-preferences 
 dialog but
 I can't seem to find anything about how to control where the output is 
 written to
 (especially which directory it is written to). I recognize the variables $$i 
 and $$o
 but they only seem to refer to the filenames without their absolute or 
 relative path.
 The effect is that if I call my own bash script from within LyX I get all 
 resulting
 files written into the tmp directory.

Ok, I found out that this is generally the case and that the copying of 
generated files
after conversion is done by a separate script which can also be customized from 
the
Tools-Preferences dialogue. The reason why my files were not copied from the 
tmp directory
to the working directory was that my script put the resulting file into a 
subdirectory and
therefore the copy script did not find the newly generated files. So the 
solution for my
particular problem was to make my script put the files into the tmp 
directory(which is the
working directory(accessible via pwd in a Linux shell) when the script is 
executed.

However some questions remain which I think are of general interest for those 
who like to
customize Lyx to their needs.


* Are there any other built in variables than $$i,$$o,$$s?
* Is there any way to change their value?
* Is there any way to change the name of the subdirectory where generated files 
are copied to?
* Is this going to be documented or is it regarded internal or subject to 
frequent change?

Regards,

Andreas Lagemann
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHFG1XNfV8qlW7iaERAspDAKCC9XD3OogVX6AWM2DEvF/XZ8tq9ACffZOf
Ip0lNQpZMxfwxkCaZAVvCP8=
=P8v0
-END PGP SIGNATURE-


Re: declare destination directory for converted files

2007-10-16 Thread Andreas Lagemann
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Andreas Lagemann wrote:
 Hello all,
 I'm trying to customize the conversion to html via the tools-preferences 
 dialog but
 I can't seem to find anything about how to control where the output is 
 written to
 (especially which directory it is written to). I recognize the variables $$i 
 and $$o
 but they only seem to refer to the filenames without their absolute or 
 relative path.
 The effect is that if I call my own bash script from within LyX I get all 
 resulting
 files written into the tmp directory.

Ok, I found out that this is generally the case and that the copying of 
generated files
after conversion is done by a separate script which can also be customized from 
the
Tools-Preferences dialogue. The reason why my files were not copied from the 
tmp directory
to the working directory was that my script put the resulting file into a 
subdirectory and
therefore the copy script did not find the newly generated files. So the 
solution for my
particular problem was to make my script put the files into the tmp 
directory(which is the
working directory(accessible via pwd in a Linux shell) when the script is 
executed.

However some questions remain which I think are of general interest for those 
who like to
customize Lyx to their needs.


* Are there any other built in variables than $$i,$$o,$$s?
* Is there any way to change their value?
* Is there any way to change the name of the subdirectory where generated files 
are copied to?
* Is this going to be documented or is it regarded internal or subject to 
frequent change?

Regards,

Andreas Lagemann
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHFG1XNfV8qlW7iaERAspDAKCC9XD3OogVX6AWM2DEvF/XZ8tq9ACffZOf
Ip0lNQpZMxfwxkCaZAVvCP8=
=P8v0
-END PGP SIGNATURE-


Re: declare destination directory for converted files

2007-10-16 Thread Andreas Lagemann
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Andreas Lagemann wrote:
> Hello all,
> I'm trying to customize the conversion to html via the tools->preferences 
> dialog but
> I can't seem to find anything about how to control where the output is 
> written to
> (especially which directory it is written to). I recognize the variables $$i 
> and $$o
> but they only seem to refer to the filenames without their absolute or 
> relative path.
> The effect is that if I call my own bash script from within LyX I get all 
> resulting
> files written into the tmp directory.
>
Ok, I found out that this is generally the case and that the copying of 
generated files
after conversion is done by a separate script which can also be customized from 
the
Tools->Preferences dialogue. The reason why my files were not copied from the 
tmp directory
to the working directory was that my script put the resulting file into a 
subdirectory and
therefore the copy script did not find the newly generated files. So the 
solution for my
particular problem was to make my script put the files into the tmp 
directory(which is the
"working directory(accessible via pwd in a Linux shell)" when the script is 
executed.

However some questions remain which I think are of general interest for those 
who like to
customize Lyx to their needs.


* Are there any other built in variables than $$i,$$o,$$s?
* Is there any way to change their value?
* Is there any way to change the name of the subdirectory where generated files 
are copied to?
* Is this going to be documented or is it regarded internal or subject to 
frequent change?

Regards,

Andreas Lagemann
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHFG1XNfV8qlW7iaERAspDAKCC9XD3OogVX6AWM2DEvF/XZ8tq9ACffZOf
Ip0lNQpZMxfwxkCaZAVvCP8=
=P8v0
-END PGP SIGNATURE-


declare destination directory for converted files

2007-10-10 Thread Andreas Lagemann
Hello all,
I'm trying to customize the conversion to html via the tools-preferences 
dialog but
I can't seem to find anything about how to control where the output is written 
to
(especially which directory it is written to). I recognize the variables $$i 
and $$o
but they only seem to refer to the filenames without their absolute or relative 
path.
The effect is that if I call my own bash script from within LyX I get all 
resulting
files written into the tmp directory.

So my question is, is there a way to refer to
the directory where the current lyx file resides from within LyX? If so, how is 
it done?

I didn't find anything regarding that topic in the docs nor in the list 
archives. If I
overlooked something I apologize and kindly ask you to provide a link to the 
answer I did
not find.

Also if you see another solution for my problem (i.e. directing output to the 
current working
directory) please feel free to tell me how you would do it.

Thanks in advance and best regards,

Andreas Lagemann



declare destination directory for converted files

2007-10-10 Thread Andreas Lagemann
Hello all,
I'm trying to customize the conversion to html via the tools-preferences 
dialog but
I can't seem to find anything about how to control where the output is written 
to
(especially which directory it is written to). I recognize the variables $$i 
and $$o
but they only seem to refer to the filenames without their absolute or relative 
path.
The effect is that if I call my own bash script from within LyX I get all 
resulting
files written into the tmp directory.

So my question is, is there a way to refer to
the directory where the current lyx file resides from within LyX? If so, how is 
it done?

I didn't find anything regarding that topic in the docs nor in the list 
archives. If I
overlooked something I apologize and kindly ask you to provide a link to the 
answer I did
not find.

Also if you see another solution for my problem (i.e. directing output to the 
current working
directory) please feel free to tell me how you would do it.

Thanks in advance and best regards,

Andreas Lagemann



declare destination directory for converted files

2007-10-10 Thread Andreas Lagemann
Hello all,
I'm trying to customize the conversion to html via the tools->preferences 
dialog but
I can't seem to find anything about how to control where the output is written 
to
(especially which directory it is written to). I recognize the variables $$i 
and $$o
but they only seem to refer to the filenames without their absolute or relative 
path.
The effect is that if I call my own bash script from within LyX I get all 
resulting
files written into the tmp directory.

So my question is, is there a way to refer to
the directory where the current lyx file resides from within LyX? If so, how is 
it done?

I didn't find anything regarding that topic in the docs nor in the list 
archives. If I
overlooked something I apologize and kindly ask you to provide a link to the 
answer I did
not find.

Also if you see another solution for my problem (i.e. directing output to the 
current working
directory) please feel free to tell me how you would do it.

Thanks in advance and best regards,

Andreas Lagemann