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