John K john...@... writes:
OK I tried this. I defined a new Python file format with extension .py in Lyx,
and then created a Python - PDF
(pdflatex) converter that runs the command:
python $$i $$o
But when I try exporting the document to PDF I get the following error:
No information for
John K john...@... writes:
OK I tried this. I defined a new Python file format with extension .py in Lyx,
and then created a Python - PDF
(pdflatex) converter that runs the command:
python $$i $$o
But when I try exporting the document to PDF I get the following error:
No information for
>> I added the following to the Lyx external_templates file:
>>
>> Template Python
>> GuiName "Python: $$AbsOrRelPathParent$$Basename"
>> HelpText
>> Python diagram.
>> HelpTextEnd
>> InputFormat "*"
>
> I think you need to define an input format and a .py -> .pdf converter which
> runs the
John K writes:
> OK I tried this. I defined a new Python file format with extension .py in Lyx,
and then created a Python -> PDF
> (pdflatex) converter that runs the command:
>
> python $$i $$o
>
> But when I try exporting the document to PDF I get the following error:
>
> "No
John K wrote:
I am trying to auto-generate a diagram from a Python script in my Lyx
document using the External Material function. I have created a Python
script called myscript.py which generates a diagram and saves it to
myscript.pdf. I am trying to make Lyx run my script to
John K wrote:
I am trying to auto-generate a diagram from a Python script in my Lyx
document using the External Material function. I have created a Python
script called myscript.py which generates a diagram and saves it to
myscript.pdf. I am trying to make Lyx run my script to
> John K wrote:
>>
>>
>> I am trying to auto-generate a diagram from a Python script in my Lyx
>> document using the "External Material" function. I have created a Python
>> script called "myscript.py" which generates a diagram and saves it to
>> "myscript.pdf". I am trying to make Lyx run
> John K writes:
>> I added the following to the Lyx external_templates file:
>>
>> Template Python
>> GuiName "Python: $$AbsOrRelPathParent$$Basename"
>> HelpText
>> Python diagram.
>> HelpTextEnd
>> InputFormat "*"
>
> I think you need to define an input format and a .py -> .pdf converter
On 2010-03-11, John K wrote:
>> I think you need to define an input format and a .py -> .pdf converter which
>> runs the python interpreter on your file.
This is an alternative way to the "external inset".
...
>> Try the way I described above: defining the file format and converter
>> under
John K wrote:
I am trying to auto-generate a diagram from a Python script in my Lyx document using the External
Material function. I have created a Python script called myscript.py which generates a
diagram and saves it to myscript.pdf. I am trying to make Lyx run my script to generate the
John K wrote:
I am trying to auto-generate a diagram from a Python script in my Lyx document using the External
Material function. I have created a Python script called myscript.py which generates a
diagram and saves it to myscript.pdf. I am trying to make Lyx run my script to generate the
John K wrote:
I am trying to auto-generate a diagram from a Python script in my Lyx document using the "External
Material" function. I have created a Python script called "myscript.py" which generates a
diagram and saves it to "myscript.pdf". I am trying to make Lyx run my script to generate
John K writes:
> I added the following to the Lyx external_templates file:
>
> Template Python
> GuiName "Python: $$AbsOrRelPathParent$$Basename"
> HelpText
> Python diagram.
> HelpTextEnd
> InputFormat "*"
I think you need to define an input format and a .py -> .pdf converter
13 matches
Mail list logo