From 2f44afcb75153d104586b78573978126d9742ea7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Uwe=20St=C3=B6hr?= Date: Mon, 8 May 2017 23:29:25 +0200 Subject: [PATCH] gnuplot.lyx: add missing makefile entries - also adapt style to match existing examples (e.g. the filename) --- lib/Makefile.am | 2 + ...{example_gnuplot.gp => gnuplot-example.gp} | 0 .../{example_gnuplot.lyx => gnuplot.lyx} | 41 ++++++++----------- 3 files changed, 20 insertions(+), 23 deletions(-) rename lib/examples/{example_gnuplot.gp => gnuplot-example.gp} (100%) rename lib/examples/{example_gnuplot.lyx => gnuplot.lyx} (89%) diff --git a/lib/Makefile.am b/lib/Makefile.am index e4354ff282..b655357d73 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -327,6 +327,8 @@ dist_examples_DATA = \ examples/example_lyxified.lyx \ examples/example_raw.lyx \ examples/FeynmanDiagrams.lyx \ + examples/gnuplot.lyx \ + examples/gnuplot-example.gp \ examples/H-P-statements.lyx \ examples/iecc05.fen \ examples/iecc07.fen \ diff --git a/lib/examples/example_gnuplot.gp b/lib/examples/gnuplot-example.gp similarity index 100% rename from lib/examples/example_gnuplot.gp rename to lib/examples/gnuplot-example.gp diff --git a/lib/examples/example_gnuplot.lyx b/lib/examples/gnuplot.lyx similarity index 89% rename from lib/examples/example_gnuplot.lyx rename to lib/examples/gnuplot.lyx index 759e77e981..b46a18bf43 100644 --- a/lib/examples/example_gnuplot.lyx +++ b/lib/examples/gnuplot.lyx @@ -76,7 +76,7 @@ \begin_body \begin_layout Title -LyX Gnuplot scripting example +LyX gnuplot scripting example \end_layout \begin_layout Standard @@ -89,10 +89,9 @@ This is a sample LyX file showing a Graphics inset including a simple gnuplot This can be inserted using the menu \family sans Insert\SpecialChar menuseparator -Graphics... - +Graphics \family default - then choosing a GNUPLOT script with either + then choosing a gnuplot script with either \family typewriter .gp \family default @@ -106,7 +105,7 @@ Graphics... \begin_layout Standard \begin_inset Graphics - filename example_gnuplot.gp + filename gnuplot-example.gp \end_inset @@ -126,7 +125,7 @@ you have on-screen graphics display disabled; this can be checked/enabled with menu \family sans Tools\SpecialChar menuseparator -Preferences..., +Preferences, \family default pane \family sans @@ -134,7 +133,7 @@ Look & feel\SpecialChar menuseparator Display, \family default then ensuring that the option -\family typewriter +\family sans Display graphics \family default is enabled @@ -145,22 +144,19 @@ you have \family typewriter needauth \family default - converters completely disabled/forbidden (Gnuplot is among this type of + converters completely disabled/forbidden (gnuplot is among this type of converters, more information is available at -\begin_inset Flex URL -status open - -\begin_layout Plain Layout - -http://www.lyx.org/trac/ticket/10481 -\end_layout +\begin_inset CommandInset href +LatexCommand href +target "http://www.lyx.org/trac/ticket/10481" +literal "false" \end_inset ); these can be re-enabled from the menu \family sans Tools\SpecialChar menuseparator -Preferences..., +Preferences, \family default pane \family sans @@ -196,13 +192,12 @@ Run \begin_layout Enumerate if none of the above worked, please contact us on the -\begin_inset Flex URL -status open - -\begin_layout Plain Layout - -mailto://lyx-devel@lyx.org -\end_layout +\begin_inset CommandInset href +LatexCommand href +name "lyx-devel@lyx.org" +target "lyx-devel@lyx.org" +type "mailto:" +literal "false" \end_inset -- 2.39.2