Re: How to put temporary files to the lyx-file folder (for TrueCrypt compatibility)

2011-06-06 Thread Kotya Karapetyan
 If you want all files on the encrypted volume, then set the path for the
 temporary directory to somewhere on that volume.
 I don't want this behaviour *always*. If I edit some other lyx-file,
 not this secret one, then the TrueCrypt volume may even not be
 mounted.

 Is there in LyX some parameter like the 'lyx-file location', so that
 the temporary folder could be specified with this parameter?

 Not so far as I know. This is a pretty unusual situation, and LyX is
 definitely not set up to use different temporary directories for
 different files in the same session.

I was not speaking of multiple temporary directories within one
section. But I think I see your point. My approach is from LaTeX — all
temp files are in the same directory as the main tex-file.

 You might try setting up a second
 user directory, and launching Lyx with:
lyx -userdir /home/you/.lyxcrypt/
 when you need to do so.


I've tried what you suggest:
lyx -userdir /media/truecrypt1/tmp,
where  /media/truecrypt1/ is where the truecrypt volume is mounted. On
start up, LyX correctly ask me if a new directory /tmp needs to be
created, put there lots of files but the PDF file during the preview
is still built here: /tmp/lyx_tmpdir.M22932/ (the number always
changes).

So basically, the temp folder is not put into a userdir. Can I control
the location of the temp folder during startup?


Re: How to put temporary files to the lyx-file folder (for TrueCrypt compatibility)

2011-06-06 Thread Kotya Karapetyan
 If you want all files on the encrypted volume, then set the path for the
 temporary directory to somewhere on that volume.
 I don't want this behaviour *always*. If I edit some other lyx-file,
 not this secret one, then the TrueCrypt volume may even not be
 mounted.

 Is there in LyX some parameter like the 'lyx-file location', so that
 the temporary folder could be specified with this parameter?

 Not so far as I know. This is a pretty unusual situation, and LyX is
 definitely not set up to use different temporary directories for
 different files in the same session.

I was not speaking of multiple temporary directories within one
section. But I think I see your point. My approach is from LaTeX — all
temp files are in the same directory as the main tex-file.

 You might try setting up a second
 user directory, and launching Lyx with:
lyx -userdir /home/you/.lyxcrypt/
 when you need to do so.


I've tried what you suggest:
lyx -userdir /media/truecrypt1/tmp,
where  /media/truecrypt1/ is where the truecrypt volume is mounted. On
start up, LyX correctly ask me if a new directory /tmp needs to be
created, put there lots of files but the PDF file during the preview
is still built here: /tmp/lyx_tmpdir.M22932/ (the number always
changes).

So basically, the temp folder is not put into a userdir. Can I control
the location of the temp folder during startup?


Re: How to put temporary files to the lyx-file folder (for TrueCrypt compatibility)

2011-06-06 Thread Kotya Karapetyan
>>> If you want all files on the encrypted volume, then set the path for the
>>> temporary directory to somewhere on that volume.
>> I don't want this behaviour *always*. If I edit some other lyx-file,
>> not this secret one, then the TrueCrypt volume may even not be
>> mounted.
>>
>> Is there in LyX some parameter like the 'lyx-file location', so that
>> the temporary folder could be specified with this parameter?
>>
> Not so far as I know. This is a pretty unusual situation, and LyX is
> definitely not set up to use different temporary directories for
> different files in the same session.

I was not speaking of multiple temporary directories within one
section. But I think I see your point. My approach is from LaTeX — all
temp files are in the same directory as the main tex-file.

> You might try setting up a second
> user directory, and launching Lyx with:
>lyx -userdir /home/you/.lyxcrypt/
> when you need to do so.
>

I've tried what you suggest:
lyx -userdir /media/truecrypt1/tmp,
where  /media/truecrypt1/ is where the truecrypt volume is mounted. On
start up, LyX correctly ask me if a new directory /tmp needs to be
created, put there lots of files but the PDF file during the preview
is still built here: /tmp/lyx_tmpdir.M22932/ (the number always
changes).

So basically, the temp folder is not put into a userdir. Can I control
the location of the temp folder during startup?


How to put temporary files to the lyx-file folder (for TrueCrypt compatibility)

2011-06-04 Thread Kotya Karapetyan
Hello,

I am working on a document in a TrueCrypt volume. As far as I
understand, when I view PDF, LyX puts a temporary PDF file (and
probably all temporary pdflatex files) into some other folder (at
least, I don't see them in the folder with the lyx-file). Can I change
this? I would like all files, even those later deleted, to reside in a
TrueCrypt folder.

I have tried to remove the path in the Preferences/Paths/Temporary
directory, but the PDF file still doesn't appear in the lyx-file
folder.

Thanks in advance!

Kotya


Re: How to put temporary files to the lyx-file folder (for TrueCrypt compatibility)

2011-06-04 Thread Kotya Karapetyan
On 4 June 2011 16:38, Richard Heck rgh...@comcast.net wrote:
 On 06/03/2011 08:51 AM, Kotya Karapetyan wrote:
 Hello,

 I am working on a document in a TrueCrypt volume. As far as I
 understand, when I view PDF, LyX puts a temporary PDF file (and
 probably all temporary pdflatex files) into some other folder (at
 least, I don't see them in the folder with the lyx-file). Can I change
 this? I would like all files, even those later deleted, to reside in a
 TrueCrypt folder.

 I have tried to remove the path in the Preferences/Paths/Temporary
 directory, but the PDF file still doesn't appear in the lyx-file
 folder.

 If you want all files on the encrypted volume, then set the path for the
 temporary directory to somewhere on that volume.

I don't want this behaviour *always*. If I edit some other lyx-file,
not this secret one, then the TrueCrypt volume may even not be
mounted.

Is there in LyX some parameter like the 'lyx-file location', so that
the temporary folder could be specified with this parameter?

Kotya


How to put temporary files to the lyx-file folder (for TrueCrypt compatibility)

2011-06-04 Thread Kotya Karapetyan
Hello,

I am working on a document in a TrueCrypt volume. As far as I
understand, when I view PDF, LyX puts a temporary PDF file (and
probably all temporary pdflatex files) into some other folder (at
least, I don't see them in the folder with the lyx-file). Can I change
this? I would like all files, even those later deleted, to reside in a
TrueCrypt folder.

I have tried to remove the path in the Preferences/Paths/Temporary
directory, but the PDF file still doesn't appear in the lyx-file
folder.

Thanks in advance!

Kotya


Re: How to put temporary files to the lyx-file folder (for TrueCrypt compatibility)

2011-06-04 Thread Kotya Karapetyan
On 4 June 2011 16:38, Richard Heck rgh...@comcast.net wrote:
 On 06/03/2011 08:51 AM, Kotya Karapetyan wrote:
 Hello,

 I am working on a document in a TrueCrypt volume. As far as I
 understand, when I view PDF, LyX puts a temporary PDF file (and
 probably all temporary pdflatex files) into some other folder (at
 least, I don't see them in the folder with the lyx-file). Can I change
 this? I would like all files, even those later deleted, to reside in a
 TrueCrypt folder.

 I have tried to remove the path in the Preferences/Paths/Temporary
 directory, but the PDF file still doesn't appear in the lyx-file
 folder.

 If you want all files on the encrypted volume, then set the path for the
 temporary directory to somewhere on that volume.

I don't want this behaviour *always*. If I edit some other lyx-file,
not this secret one, then the TrueCrypt volume may even not be
mounted.

Is there in LyX some parameter like the 'lyx-file location', so that
the temporary folder could be specified with this parameter?

Kotya


How to put temporary files to the lyx-file folder (for TrueCrypt compatibility)

2011-06-04 Thread Kotya Karapetyan
Hello,

I am working on a document in a TrueCrypt volume. As far as I
understand, when I view PDF, LyX puts a temporary PDF file (and
probably all temporary pdflatex files) into some other folder (at
least, I don't see them in the folder with the lyx-file). Can I change
this? I would like all files, even those later deleted, to reside in a
TrueCrypt folder.

I have tried to remove the path in the Preferences/Paths/Temporary
directory, but the PDF file still doesn't appear in the lyx-file
folder.

Thanks in advance!

Kotya


Re: How to put temporary files to the lyx-file folder (for TrueCrypt compatibility)

2011-06-04 Thread Kotya Karapetyan
On 4 June 2011 16:38, Richard Heck <rgh...@comcast.net> wrote:
> On 06/03/2011 08:51 AM, Kotya Karapetyan wrote:
>> Hello,
>>
>> I am working on a document in a TrueCrypt volume. As far as I
>> understand, when I view PDF, LyX puts a temporary PDF file (and
>> probably all temporary pdflatex files) into some other folder (at
>> least, I don't see them in the folder with the lyx-file). Can I change
>> this? I would like all files, even those later deleted, to reside in a
>> TrueCrypt folder.
>>
>> I have tried to remove the path in the Preferences/Paths/Temporary
>> directory, but the PDF file still doesn't appear in the lyx-file
>> folder.
>>
> If you want all files on the encrypted volume, then set the path for the
> temporary directory to somewhere on that volume.

I don't want this behaviour *always*. If I edit some other lyx-file,
not this secret one, then the TrueCrypt volume may even not be
mounted.

Is there in LyX some parameter like the 'lyx-file location', so that
the temporary folder could be specified with this parameter?

Kotya