]> git.lyx.org Git - lyx.git/blob - lib/examples/gnuplot.lyx
gnuplot.lyx: add missing makefile entries
[lyx.git] / lib / examples / gnuplot.lyx
1 #LyX 2.3 created this file. For more info see http://www.lyx.org/
2 \lyxformat 542
3 \begin_document
4 \begin_header
5 \save_transient_properties true
6 \origin /systemlyxdir/examples/
7 \textclass article
8 \use_default_options true
9 \maintain_unincluded_children false
10 \language english
11 \language_package default
12 \inputencoding auto
13 \fontencoding global
14 \font_roman "default" "default"
15 \font_sans "default" "default"
16 \font_typewriter "default" "default"
17 \font_math "auto" "auto"
18 \font_default_family default
19 \use_non_tex_fonts false
20 \font_sc false
21 \font_osf false
22 \font_sf_scale 100 100
23 \font_tt_scale 100 100
24 \use_microtype false
25 \use_dash_ligatures true
26 \graphics default
27 \default_output_format default
28 \output_sync 0
29 \bibtex_command default
30 \index_command default
31 \paperfontsize default
32 \use_hyperref false
33 \papersize default
34 \use_geometry false
35 \use_package amsmath 1
36 \use_package amssymb 1
37 \use_package cancel 1
38 \use_package esint 1
39 \use_package mathdots 1
40 \use_package mathtools 1
41 \use_package mhchem 1
42 \use_package stackrel 1
43 \use_package stmaryrd 1
44 \use_package undertilde 1
45 \cite_engine basic
46 \cite_engine_type default
47 \biblio_style plain
48 \use_bibtopic false
49 \use_indices false
50 \paperorientation portrait
51 \suppress_date false
52 \justification true
53 \use_refstyle 1
54 \index Index
55 \shortcut idx
56 \color #008000
57 \end_index
58 \secnumdepth 3
59 \tocdepth 3
60 \paragraph_separation indent
61 \paragraph_indentation default
62 \is_math_indent 0
63 \math_number_before 0
64 \quotes_style english
65 \dynamic_quotes 0
66 \papercolumns 1
67 \papersides 1
68 \paperpagestyle default
69 \tracking_changes false
70 \output_changes false
71 \html_math_output 0
72 \html_css_as_file 0
73 \html_be_strict false
74 \end_header
75
76 \begin_body
77
78 \begin_layout Title
79 LyX gnuplot scripting example
80 \end_layout
81
82 \begin_layout Standard
83 This is a sample LyX file showing a Graphics inset including a simple gnuplot
84  script, that is auto-converted when previewing on-screen and when formatting
85  for PDF or other output format.
86 \end_layout
87
88 \begin_layout Standard
89 This can be inserted using the menu 
90 \family sans
91 Insert\SpecialChar menuseparator
92 Graphics
93 \family default
94  then choosing a gnuplot script with either 
95 \family typewriter
96 .gp
97 \family default
98  or 
99 \family typewriter
100 .gnuplot
101 \family default
102  extension.
103  You should see a plot just below this text.
104 \end_layout
105
106 \begin_layout Standard
107 \begin_inset Graphics
108         filename gnuplot-example.gp
109
110 \end_inset
111
112
113 \end_layout
114
115 \begin_layout Standard
116 If you don't see it, there are basically a few possible causes
117 \end_layout
118
119 \begin_layout Enumerate
120 you don't have Gnuplot installed
121 \end_layout
122
123 \begin_layout Enumerate
124 you have on-screen graphics display disabled; this can be checked/enabled
125  with menu 
126 \family sans
127 Tools\SpecialChar menuseparator
128 Preferences,
129 \family default
130  pane 
131 \family sans
132 Look & feel\SpecialChar menuseparator
133 Display,
134 \family default
135  then ensuring that the option 
136 \family sans
137 Display graphics
138 \family default
139  is enabled
140 \end_layout
141
142 \begin_layout Enumerate
143 you have 
144 \family typewriter
145 needauth
146 \family default
147  converters completely disabled/forbidden (gnuplot is among this type of
148  converters, more information is available at 
149 \begin_inset CommandInset href
150 LatexCommand href
151 target "http://www.lyx.org/trac/ticket/10481"
152 literal "false"
153
154 \end_inset
155
156 ); these can be re-enabled from the menu 
157 \family sans
158 Tools\SpecialChar menuseparator
159 Preferences,
160 \family default
161  pane 
162 \family sans
163 File Handling\SpecialChar menuseparator
164 Converters\SpecialChar menuseparator
165 Security
166 \family default
167 , then ensuring that the option 
168 \family sans
169 Forbid use of needauth converters
170 \family default
171  is unchecked
172 \end_layout
173
174 \begin_layout Enumerate
175 even though you have 
176 \family typewriter
177 needauth
178 \family default
179  converters enabled, you denied permission to run the Gnuplot script included
180  in this sample document when you first opened it, and you got a prompt
181  dialog on screen; in such case, close the document and open it again, then
182  answer 
183 \begin_inset Quotes eld
184 \end_inset
185
186 Run
187 \begin_inset Quotes erd
188 \end_inset
189
190  in that prompt dialog
191 \end_layout
192
193 \begin_layout Enumerate
194 if none of the above worked, please contact us on the 
195 \begin_inset CommandInset href
196 LatexCommand href
197 name "lyx-devel@lyx.org"
198 target "lyx-devel@lyx.org"
199 type "mailto:"
200 literal "false"
201
202 \end_inset
203
204  mailing list for assistance
205 \end_layout
206
207 \end_body
208 \end_document