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