Am 10.06.2014 15:52, schrieb Alex Vergara Gil:
Thanks, Alex, for the new lyx file. I now realized, that I had to load the matplotlib and pandas packages, which I did. I followed your advices Define a new file format in tools>preferences, name it Python graphics, extension pygr and vector image format ticked Define a new converter from the format Python graphics to the format EPS as ... After reconfigure (necessary?) and making sure the two example graphics (in pygr format) are found in the path I get this error

LaTeX Warning: File `0_home_we_Lyx_PhytonGraphics_example.eps' not found on input line 83.

Why is it expecting an eps file instead of taking the pygr files?
What am I missing?
Wolfgang

Dear all

I have rewritten a little the procedure using recommendations from several 
users that doesn´t understand the original one. I hope this time everyone can 
understand the procedure.

Regards
Alex
   ----- Original Message -----
   From: Wolfgang Engelmann
   To: lyx-users@lists.lyx.org
   Sent: Tuesday, June 10, 2014 2:56 AM
   Subject: Re: Python Graphics in LyX [was: Python bindings]


   I retryed again and now got the PythonGraphics>LyX converter after 
reconfiguring, but running it gives me:


   LaTeX Warning: File `0_home_we_Lyx_PhytonGraphics_example.pdf' not found on 
inp

   ut line 80.
   shouldn't it load example.pygr, which I selected in my folder PhytonGraphics 
containing all the files supplied by Alex?
   Do I have to use instead of view>pdflatex something else for export?
   Wolfgang








   ! Package pdftex.def Error: File `0_home_we_Lyx_PhytonGraphics_example.pdf' 
not

   found.




   See the pdftex.def package documentation for explanation.

   Type H <return> for immediate help.

   ...

   Am 10.06.2014 09:00, schrieb Wolfgang Engelmann:


     Am 09.06.2014 21:42, schrieb Alex Vergara Gil:

          ----- Original Message -----
          From: Wolfgang Engelmann
          To: lyx-users@lists.lyx.org
          Sent: Monday, June 09, 2014 12:55 PM
          Subject: Re: Python Graphics in LyX [was: Python bindings]


          where in lyx is this done?-->
          Define a new converter from Python graphics to EPS as

          python $$i $$o

          Wolfgang


       If you have followed the little manual you know in tools - preferences 
there is two options, one that says file types and the other says converters
       in the first you define the Python graphics file type
       in the second you define the converter

       regards
       Alex



       Thanks Alex, still not there.



       First: Could one change in the instruction of the PythonGraphics.lyx
       Define a new file format, name it Python graphics, extension pygr and 
vector image format ticked
       to: Define a new file format in tools>preferences, name it Python 
graphics, extension pygr and vector image format ticked



       Second: in Converters - Converter Definitions I guess I have to add 
python $$i $$o in the Converter: line. However, Add on the right side of the 
Converter Definitions is greyed out. So, how do I do that?



       Wolfgang






   __________ Información de ESET NOD32 Antivirus, versión de la base de firmas 
de virus 9900 (20140605) __________

   ESET NOD32 Antivirus ha comprobado este mensaje.

   http://www.eset.com


Reply via email to