]> git.lyx.org Git - lyx.git/blob - lib/examples/External_Material/Gnuplot.lyx
Update sk.po
[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 620
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_roman_osf false
22 \font_sans_osf false
23 \font_typewriter_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 \tablestyle default
74 \tracking_changes false
75 \output_changes false
76 \change_bars false
77 \postpone_fragile_content false
78 \html_math_output 0
79 \html_css_as_file 0
80 \html_be_strict false
81 \docbook_table_output 0
82 \docbook_mathml_prefix 1
83 \end_header
84
85 \begin_body
86
87 \begin_layout Title
88 LyX gnuplot scripting example
89 \end_layout
90
91 \begin_layout Standard
92 This is a sample LyX file showing a Graphics inset including a simple gnuplot script,
93  that is auto-converted when previewing on-screen and when formatting for PDF or other output format.
94 \end_layout
95
96 \begin_layout Standard
97 This can be inserted using the menu 
98 \family sans
99 Insert\SpecialChar menuseparator
100 Graphics
101 \family default
102  then choosing a gnuplot script with either 
103 \family typewriter
104 .gp
105 \family default
106  or 
107 \family typewriter
108 .gnuplot
109 \family default
110  extension.
111  You should see a plot just below this text.
112 \end_layout
113
114 \begin_layout Standard
115 \begin_inset Graphics
116         filename gnuplot-example.gp
117
118 \end_inset
119
120
121 \end_layout
122
123 \begin_layout Standard
124 If you don't see it,
125  there are basically a few possible causes
126 \end_layout
127
128 \begin_layout Enumerate
129 you don't have Gnuplot installed
130 \end_layout
131
132 \begin_layout Enumerate
133 you have on-screen graphics display disabled;
134  this can be checked/enabled with menu 
135 \family sans
136 Tools\SpecialChar menuseparator
137 Preferences,
138
139 \family default
140  pane 
141 \family sans
142 Look & feel\SpecialChar menuseparator
143 Display,
144
145 \family default
146  then ensuring that the option 
147 \family sans
148 Display graphics
149 \family default
150  is enabled
151 \end_layout
152
153 \begin_layout Enumerate
154 you have 
155 \family typewriter
156 needauth
157 \family default
158  converters completely disabled/forbidden (gnuplot is among this type of converters,
159  more information is available at 
160 \begin_inset CommandInset href
161 LatexCommand href
162 target "https://www.lyx.org/trac/ticket/10481"
163 literal "false"
164
165 \end_inset
166
167 );
168  these can be re-enabled from the menu 
169 \family sans
170 Tools\SpecialChar menuseparator
171 Preferences,
172
173 \family default
174  pane 
175 \family sans
176 File Handling\SpecialChar menuseparator
177 Converters\SpecialChar menuseparator
178 Security
179 \family default
180 ,
181  then ensuring that the option 
182 \family sans
183 Forbid use of needauth converters
184 \family default
185  is unchecked
186 \end_layout
187
188 \begin_layout Enumerate
189 even though you have 
190 \family typewriter
191 needauth
192 \family default
193  converters enabled,
194  you denied permission to run the Gnuplot script included in this sample document when you first opened it,
195  and you got a prompt dialog on screen;
196  in such case,
197  close the document and open it again,
198  then answer 
199 \begin_inset Quotes eld
200 \end_inset
201
202 Run
203 \begin_inset Quotes erd
204 \end_inset
205
206  in that prompt dialog
207 \end_layout
208
209 \begin_layout Enumerate
210 if none of the above worked,
211  please contact us on the 
212 \begin_inset CommandInset href
213 LatexCommand href
214 name "lyx-devel@lyx.org"
215 target "lyx-devel@lyx.org"
216 type "mailto:"
217 literal "false"
218
219 \end_inset
220
221  mailing list for assistance
222 \end_layout
223
224 \end_body
225 \end_document