#638 Inline preview (equations) not working when using relative path

El Vierde

Hi everyone!

Thanks for the great tool!

I'm writing a large document subdivided in several smaller chapters and I like to keep these chapter separated, each in its own directory. To accomplish this, I'm using the "subfiles" package. Furthermore, I edit this document from different computers with different OSs and I use dropbox to keep the data in sync.

One of the drawback of this configuration is that I need to use relative path (I don't have permission to move folders where the path on different system would coincide).

When I try the inline preview, I get an error:

Process started: latex -interaction=nonstopmode -ini "&latex hmr9532 \dump"

Process exited with error(s)

Process started: latex -interaction=nonstopmode "SB9532".tex

Process exited with error(s)

Process started: dvipng.exe -T tight -D 120 "SB9532".dvi

Process exited with error(s)

After a little digging, I found out that the snipped of code needed to generate the inline preview is created in the temp directory (c:\temp) in my case where of course, relative path to the style files are not working (see attachments).

Is there any way to specify the directory to use for inline preview generation? I would have no problem in adding a temp directory to my project and have all this compilation happening in there.

Or, is there any other solution that doesn't require to use absolute path?

Thanks for your time!


2 Attachments