Re: Problem specifying a new converter

2013-05-10 Thread Andrew Parsloe
On 10/05/2013 1:13 a.m., Richard Heck wrote: On 05/08/2013 05:34 PM, Andrew Parsloe wrote: On 9/05/2013 1:34 a.m., Richard Heck wrote: On 05/07/2013 05:10 PM, Andrew Parsloe wrote: On 8/05/2013 4:39 a.m., Richard Heck wrote: On 05/07/2013 10:17 AM, Stephen Brooking wrote: Hi, I have s

Re: Problem specifying a new converter

2013-05-09 Thread Stephen Brooking
> $$r The full path to the original LyX file being processed, e.g. > D:/Documents/LyX/ Is this supported in Windows? I tried to update my LaTeX (pdflatex) -> PDF (pdflatex) converter to specify the output directory (to overcome the problem in my other thread); so it is specified as this: pdflat

Re: Problem specifying a new converter

2013-05-09 Thread Richard Heck
On 05/08/2013 05:34 PM, Andrew Parsloe wrote: On 9/05/2013 1:34 a.m., Richard Heck wrote: On 05/07/2013 05:10 PM, Andrew Parsloe wrote: On 8/05/2013 4:39 a.m., Richard Heck wrote: On 05/07/2013 10:17 AM, Stephen Brooking wrote: Hi, I have specified a new converter to convert Visio drawin

Re: Problem specifying a new converter

2013-05-09 Thread Stephen Brooking
> There may not be any pdf->png converter defined, though one could use > ImageMagick to define one. A better solution might be to modify the > script you have to export something other than PDF. This is probably > fairly easy to do. So I have now updated my script to convert to PNG also, and s

Re: Problem specifying a new converter

2013-05-08 Thread Andrew Parsloe
On 9/05/2013 1:34 a.m., Richard Heck wrote: On 05/07/2013 05:10 PM, Andrew Parsloe wrote: On 8/05/2013 4:39 a.m., Richard Heck wrote: On 05/07/2013 10:17 AM, Stephen Brooking wrote: Hi, I have specified a new converter to convert Visio drawings into PDF (using some VBScript borrowed from

Re: Problem specifying a new converter

2013-05-08 Thread Richard Heck
On 05/08/2013 11:18 AM, Stephen Brooking wrote: Which doesn't seem to show any error. Any other suggestions of what I could try? Am I doing the right thing in trying to get the console output in the command prompt? Sorry - I wasn't looking high enough up in the debug output. If I just select

Re: Problem specifying a new converter

2013-05-08 Thread Stephen Brooking
> Which doesn't seem to show any error. > > Any other suggestions of what I could try? Am I doing the right thing in > trying to get the console output in the command prompt? Sorry - I wasn't looking high enough up in the debug output. If I just select 'Graphics conversion and loading' messages

Re: Problem specifying a new converter

2013-05-08 Thread Stephen Brooking
> > 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 th

Re: Problem specifying a new converter

2013-05-08 Thread Richard Heck
On 05/08/2013 09:59 AM, Stephen Brooking wrote: 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. They're in the Customization manual, under "Converters". So I now get my conversion perform

Re: Problem specifying a new converter

2013-05-08 Thread Stephen Brooking
> > 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/l

Re: Problem specifying a new converter

2013-05-08 Thread Richard Heck
On 05/07/2013 05:10 PM, Andrew Parsloe wrote: On 8/05/2013 4:39 a.m., Richard Heck wrote: On 05/07/2013 10:17 AM, Stephen Brooking wrote: Hi, I have specified a new converter to convert Visio drawings into PDF (using some VBScript borrowed from elsewhere on the web), but have run into issues

Re: Problem specifying a new converter

2013-05-07 Thread Andrew Parsloe
On 8/05/2013 4:39 a.m., Richard Heck wrote: On 05/07/2013 10:17 AM, Stephen Brooking wrote: Hi, I have specified a new converter to convert Visio drawings into PDF (using some VBScript borrowed from elsewhere on the web), but have run into issues. My converter is specified like this: cscri

Re: Problem specifying a new converter

2013-05-07 Thread Richard Heck
On 05/07/2013 10:17 AM, Stephen Brooking wrote: Hi, I have specified a new converter to convert Visio drawings into PDF (using some VBScript borrowed from elsewhere on the web), but have run into issues. My converter is specified like this: cscript /vsd2pdf.vbs "$$i" "$$o" When Visio runs, i

Problem specifying a new converter

2013-05-07 Thread Stephen Brooking
Hi, I have specified a new converter to convert Visio drawings into PDF (using some VBScript borrowed from elsewhere on the web), but have run into issues. My converter is specified like this: cscript /vsd2pdf.vbs "$$i" "$$o" When Visio runs, it can't access the file to convert because the curr