Re: Template for external gnuplots and converter scripts for LyX [was: Re: Help with gnuplot xtemplate needed]

2024-04-24 Thread Pavel Sanda
On Wed, Apr 24, 2024 at 04:07:51PM +0200, Tobias Hilbricht wrote: > > Apart from that, I could upload your scripts into wiki upload section > > if you want to just link them. > > Yes, that would be good, that makes it easier to install and use. Ok, it is now at:

Re: Template for external gnuplots and converter scripts for LyX [was: Re: Help with gnuplot xtemplate needed]

2024-04-24 Thread Tobias Hilbricht
Am Dienstag, dem 23.04.2024 um 11:01 +0200 schrieb Pavel Sanda: > On Mon, Apr 22, 2024 at 08:10:15PM +0200, Tobias Hilbricht wrote: > > > > With gnuplots as external material (gnuplot.xtemplate) something > > similar to the inkscape.xtemplate and the xfig.xtemplate happens: > > Labels and numbers

Re: Template for external gnuplots and converter scripts for LyX [was: Re: Help with gnuplot xtemplate needed]

2024-04-23 Thread Pavel Sanda
On Mon, Apr 22, 2024 at 08:10:15PM +0200, Tobias Hilbricht wrote: > thank you for asking. When just using .gp filename directly as graphics > inset the fonts in the plot are not the same as document fonts. E. g. > in default settings you have CM fonts in the document and Helvetica in > the

Re: Template for external gnuplots and converter scripts for LyX [was: Re: Help with gnuplot xtemplate needed]

2024-04-21 Thread Pavel Sanda
On Sun, Apr 21, 2024 at 03:03:15PM +0200, Tobias Hilbricht wrote: > I copied gnuplot.xtemplate and the converter scripts in Python along > with instructions for setup and configuration on? in? the LyX wiki: > > https://wiki.lyx.org/Tools/GnuplotInLyX What is the advantage here compared to just

Template for external gnuplots and converter scripts for LyX [was: Re: Help with gnuplot xtemplate needed]

2024-04-21 Thread Tobias Hilbricht
I copied gnuplot.xtemplate and the converter scripts in Python along with instructions for setup and configuration on? in? the LyX wiki: https://wiki.lyx.org/Tools/GnuplotInLyX Tobias -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users

Re: Help with gnuplot xtemplate needed

2024-04-20 Thread Tobias Hilbricht
I got it myself after a lot of trying and comparing: In my file gnuplot.xtemplate I wrote "InputFormat gp", because "InputFormat" and FileFilter extension are the same in the case of Xfig (fig) and Inkscape (svg), but not with gnuplot: "InputFormat gnuplot" and FileFilter .gp works! For anyone

Help with gnuplot xtemplate needed

2024-04-20 Thread Tobias Hilbricht
Dear LyX-user, I would like to have a gnuplot xtemplate. To that end I wrote a shell script gnuplot2pdftex.sh like this: #!/bin/bash GnuplotFile=$1 BaseName=`basename $GnuplotFile .gp` GnuplotName=$BaseName.ptx LyxName=$BaseName.pdf_tex gnuplot -e "set term cairolatex pdf ; set output