On Thu, Nov 18, 2010 at 10:35 PM, RGH <[email protected]> wrote: > On 11/18/2010 06:54 PM, [email protected] wrote: >> >> Dear Lyx developers and users, >> thanks for your work concerning the new beta version. I have just enjoyed >> some of the new features. >> I have a small problem (win7,64bit, Lyx2.0beta): >> How can I set the temp-dir to the same location, were the current file is >> located. >> in Lyx 1.6 I put in the options temp-dir: "LyxTemp" and thats it. >> I think Lyx always looks to >> Users\mynama\AppData\Local\Temp\lyx_tmpdir..... >> when I put an absolute path in the options, it works. >> How can I set a relative path from current file for lyxtempdir? >> >> I use this to refer to an external file from ERT by using >> ../../../myfile.txt in pgfplot for loading data for a data plot. Maybe >> there is another solution. >>
A somewhat clunky but effective (in my experience) workaround is: 1. Export your lyx document to .tex 2. Create the pdf (assuming that is your goal) in TeXworks or via the command line. This handles relative paths very well. I wish this capacity were built into LyX. Perhaps there is some difficulty I'm not anticipating.
