Re: Embed Gnuplot commands in Lyx

2016-02-16 Thread Guenter Milde
On 2016-02-16, Jürgen Lange wrote: > Hello, > I tried to embed Gnuplot commands in Lyx. > The necessary package is gnuplottex. > Because I use Miktex, I put \usepackage[miktex]{gnuplottex} in the > Lyx-preamble. > With Tex-Code in Lyx-document \begin{gnuplot}[terminal=pdf] plot sin(x) > \end{gn

Re: Embed Gnuplot commands in Lyx

2016-02-16 Thread Guenter Milde
On 2016-02-16, Jürgen Lange wrote: > Hello, > I tried to embed Gnuplot commands in Lyx. > The necessary package is gnuplottex. > Because I use Miktex, I put \usepackage[miktex]{gnuplottex} in the > Lyx-preamble. > With Tex-Code in Lyx-document \begin{gnuplot}[terminal=pdf] plot sin(x) > \end{gn

Re: Embed Gnuplot commands in Lyx

2016-02-16 Thread Jürgen Lange
It works now. I had to add the argument -shell-escape to the Converter syntax pdflatex in the Preferences. Thanks Am 16.02.2016, 20:16 Uhr, schrieb Guenter Milde : On 2016-02-16, Jürgen Lange wrote: Hello, I tried to embed Gnuplot commands in Lyx. The necessary package is gnuplottex. Beca

Re: Embed Gnuplot commands in Lyx

2016-02-16 Thread Scott Kostyshak
On Tue, Feb 16, 2016 at 08:52:53PM +0100, Jürgen Lange wrote: > It works now. > I had to add the argument -shell-escape to the Converter syntax pdflatex in > the Preferences. > > Thanks Glad you got it working. We wanted to make LyX work more seamlessly with gnuplot. I believe that Koji made effo

Re: Embed Gnuplot commands in Lyx

2016-02-17 Thread Jürgen Lange
This is a good idea. A small solution is, to write a short manual how to embed Gnuplot in Lyx on the Lyx-Webpage. A disadvantage of embedding Gnuplot code in Lyx is, that ERT doesn't understand unicode. So it's impossible, to embed unicode Gnuplot code in Lyx. Jürgen Am 17.02.2016, 06:23