> > No? I hesitate to contradict you Richard but in my tinkering with 
> > Python scripts I've run converters using *all* the following:
> > [snip]
> > $$p The full directory path of the LyX temporary directory. On my 
> > Windows system one day this was
> >
> > C:/Users/Andrew/AppData/Local/Temp/lyx_tmpdir.gq2540/lyx_tmpbuf5/
> 
> OK, thanks. This is in the documentation as "the path to the input 
> file", which usually would be the temporary directory. Perhaps that 
> should be clarified.

Many thanks for your replies.  It wasn't the cscript thingy that was
changing the current directory, but actually in the invocation of Visio from
the VBScript (I think).  So in the VBScript I can obtain the current
directory, and add that to the filename(s) to give Visio.

Thank you for the list of the '$$' variables though; they may well come in
useful.  I did try searching for documentation of them but couldn't find them.

So I now get my conversion performed OK when I generate the PDF document,
but the preview of the figure in the LyX editing window still says 'Error
converting to loadable format'.  Would you be able to provide me any
pointers as to why this is?  Is there a log of the errors that occurred in
this process anywhere?

Many thanks,

Steve

Reply via email to