1 | = Frequently Asked questions about SAXO = |
---|
2 | [[PageOutline]] |
---|
3 | |
---|
4 | |
---|
5 | |
---|
6 | |
---|
7 | |
---|
8 | |
---|
9 | |
---|
10 | This is a list of Frequently Asked Questions about SAXO. |
---|
11 | |
---|
12 | |
---|
13 | This list is roughly divided into categories: general questions, |
---|
14 | technical questions, contributors questions. |
---|
15 | |
---|
16 | |
---|
17 | Suggestions for corrections or additional sections are welcome -- please email them to [mailto:saxo-dev@forge.ipsl.jussieu.fr saxo-dev@forge.ipsl.jussieu.fr]. |
---|
18 | |
---|
19 | |
---|
20 | General |
---|
21 | |
---|
22 | |
---|
23 | |
---|
24 | What is SAXO ? |
---|
25 | |
---|
26 | |
---|
27 | |
---|
28 | |
---|
29 | see document [wiki:WhatisSaxo What is SAXO]. |
---|
30 | |
---|
31 | |
---|
32 | |
---|
33 | |
---|
34 | |
---|
35 | |
---|
36 | How can I get help ? |
---|
37 | |
---|
38 | |
---|
39 | |
---|
40 | |
---|
41 | see Support in document [wiki:WikiStart Main page of SAXO]. |
---|
42 | |
---|
43 | |
---|
44 | |
---|
45 | |
---|
46 | |
---|
47 | |
---|
48 | How do I get SAXO ? |
---|
49 | |
---|
50 | |
---|
51 | |
---|
52 | |
---|
53 | see document [wiki:GetSaxo Get SAXO]. |
---|
54 | |
---|
55 | |
---|
56 | |
---|
57 | |
---|
58 | |
---|
59 | |
---|
60 | What is the current version of SAXO ? |
---|
61 | |
---|
62 | |
---|
63 | |
---|
64 | |
---|
65 | |
---|
66 | |
---|
67 | |
---|
68 | |
---|
69 | |
---|
70 | On what systems does SAXO run ? |
---|
71 | |
---|
72 | |
---|
73 | |
---|
74 | |
---|
75 | |
---|
76 | |
---|
77 | |
---|
78 | |
---|
79 | |
---|
80 | Does SAXO works with GDL instead of IDL ? |
---|
81 | |
---|
82 | |
---|
83 | |
---|
84 | |
---|
85 | Not yet. |
---|
86 | |
---|
87 | |
---|
88 | |
---|
89 | |
---|
90 | |
---|
91 | When is the next version of SAXO due out ? |
---|
92 | |
---|
93 | |
---|
94 | |
---|
95 | |
---|
96 | |
---|
97 | |
---|
98 | |
---|
99 | |
---|
100 | |
---|
101 | How can I find if a routine to do what I want already exists ? |
---|
102 | |
---|
103 | |
---|
104 | |
---|
105 | |
---|
106 | |
---|
107 | |
---|
108 | |
---|
109 | |
---|
110 | |
---|
111 | How should SAXO be cited or acknowledged in publication ? |
---|
112 | |
---|
113 | |
---|
114 | |
---|
115 | |
---|
116 | |
---|
117 | |
---|
118 | |
---|
119 | |
---|
120 | Technical questions |
---|
121 | |
---|
122 | |
---|
123 | |
---|
124 | Is there on-line help for SAXO ? |
---|
125 | |
---|
126 | |
---|
127 | |
---|
128 | |
---|
129 | Yes, if you use at least IDL 6.2. It is produced by IDLdoc. SAXO and IDL online_help have been merged, you can simply get the help by typing: |
---|
130 | {{{ |
---|
131 | #!html |
---|
132 | <pre xmlns:xl="http://www.w3.org/1999/xlink" class="screen"> |
---|
133 | <code class="prompt">idl></code> <strong class="userinput"><code><span><strong class="command">?</strong></span></code></strong> |
---|
134 | </pre> |
---|
135 | }}} |
---|
136 | |
---|
137 | |
---|
138 | |
---|
139 | |
---|
140 | |
---|
141 | Contributors |
---|
142 | |
---|
143 | |
---|
144 | |
---|
145 | Is there an SAXO Style Guide available ? |
---|
146 | |
---|
147 | |
---|
148 | |
---|
149 | |
---|
150 | There is a template for header [../new_header.txt new_header.txt] |
---|
151 | which can be parsed by IDLdoc. |
---|
152 | |
---|
153 | |
---|
154 | This file can be added in Emacs configuration |
---|
155 | |
---|
156 | |
---|
157 | C-cC-h |
---|
158 | |
---|
159 | IDLWAVE |
---|
160 | Templates |
---|
161 | Doc Header |
---|
162 | . |
---|
163 | in your {{{${HOME}/.emacs}}} like this : |
---|
164 | |
---|
165 | (add-hook 'idlwave-mode-hook |
---|
166 | (function |
---|
167 | (lambda () |
---|
168 | (setq idlwave-file-header '("'''''SAXO_basedirectory'''''/SAXO_DIR/SRC/Documentation/new_header.txt") |
---|
169 | )))) |
---|
170 | |
---|
171 | |
---|
172 | |
---|
173 | |
---|
174 | |
---|
175 | |
---|
176 | Is there any trouble with IDLdoc ? |
---|
177 | |
---|
178 | |
---|
179 | |
---|
180 | |
---|
181 | Yes, there are some : |
---|
182 | * \ in {{{*.pro}}} are not written |
---|
183 | in {{{*.html}}}. |
---|
184 | They must be escaped by an other \ or you can choose an other character. |
---|
185 | * Search doesn't handle characters like - |
---|
186 | and |. |
---|
187 | * Paragraphs of {{{*.pro}}} headers are shown with a proportional |
---|
188 | font in the HTML release. |
---|
189 | |
---|
190 | If you need to draw some small figure like grid cell, you can encapsulate |
---|
191 | the block to be shown in constant font |
---|
192 | between |
---|
193 | ; <fixe> and |
---|
194 | ; </fixe> |
---|
195 | |
---|
196 | Unfortunately, these troubles may not be fixed because the author does not |
---|
197 | have anymore the opportunity to work on his own work. |
---|
198 | |
---|
199 | |
---|
200 | Bugs can be submitted to IDL but we do not expect answers ! |
---|
201 | |
---|
202 | |
---|
203 | |
---|
204 | |
---|
205 | |
---|
206 | |
---|
207 | How can I check spelling of XML files ? |
---|
208 | |
---|
209 | |
---|
210 | |
---|
211 | |
---|
212 | There is one way with command line : |
---|
213 | {{{ |
---|
214 | #!html |
---|
215 | <pre xmlns:xl="http://www.w3.org/1999/xlink" class="screen"> |
---|
216 | <code class="prompt">$</code> <strong class="userinput"><code><span><strong class="command">aspell</strong></span> <code class="option">--mode=sgml</code> <code class="option">-c</code> {{{xmlfile}}}</code></strong> |
---|
217 | </pre> |
---|
218 | }}} |
---|
219 | |
---|
220 | |
---|
221 | |
---|
222 | |
---|
223 | |
---|
224 | |
---|
225 | How can I check spelling of IDL files ? |
---|
226 | |
---|
227 | |
---|
228 | |
---|
229 | |
---|
230 | Not so easy but you can start with something like this : |
---|
231 | {{{ |
---|
232 | #!html |
---|
233 | <pre xmlns:xl="http://www.w3.org/1999/xlink" class="screen"> |
---|
234 | <code class="prompt">$</code> <strong class="userinput"><code><span><strong class="command">cd</strong></span> {{{${HOME}/SAXO_DIR/SRC/}}}</code></strong> |
---|
235 | <code class="prompt">$</code> <strong class="userinput"><code>list=$(find . -name "*.pro")</code></strong> |
---|
236 | <code class="prompt">$</code> <strong class="userinput"><code>for file in ${list}; do aspell list < ${file}; done > /tmp/list_word </code></strong> |
---|
237 | <code class="prompt">$</code> <strong class="userinput"><code>sort -u /tmp/list_word > /tmp/list_sort</code></strong> |
---|
238 | </pre> |
---|
239 | }}} |
---|
240 | |
---|
241 | |
---|
242 | This will give {{{/tmp/list_sort}}} a list of sorted word |
---|
243 | used in IDL files that are not in the default dictionnary. |
---|
244 | Some of these words are correct in IDL and SAXO vocabulary, so they do not have to be replaced but some typo can be found. |
---|
245 | |
---|
246 | |
---|
247 | To find occurences of one of these misspelled words, you have to do this : |
---|
248 | {{{ |
---|
249 | #!html |
---|
250 | <pre xmlns:xl="http://www.w3.org/1999/xlink" class="screen"> |
---|
251 | <code class="prompt">$</code> <strong class="userinput"><code>find . -name "*.pro" -exec grep -h "'''''misspelled_word'''''" {} \;</code></strong> |
---|
252 | </pre> |
---|
253 | }}} |
---|
254 | |
---|
255 | |
---|
256 | We should improve this by providing some IDL and SAXO dictionnary. |
---|
257 | |
---|
258 | |
---|
259 | |
---|
260 | |
---|
261 | |
---|
262 | How can I see online help update ? |
---|
263 | |
---|
264 | |
---|
265 | |
---|
266 | |
---|
267 | You won't see online help update if you are working with the official distribution because of {{{!HELP_PATH}}}. To override this problem, when you are in {{{SAXO_basedirectory/SAXO_DIR/SRC/Documentation/xmldoc/}}}, you can call online help like this : |
---|
268 | {{{ |
---|
269 | #!html |
---|
270 | <pre xmlns:xl="http://www.w3.org/1999/xlink" class="screen"> |
---|
271 | <code class="prompt">idl></code> <strong class="userinput"><code><span><strong class="command">ONLINE_HELP</strong></span>,<code class="option">book="../idldoc_assistant_output/idldoc-lib.adp"</code></code></strong> |
---|
272 | </pre> |
---|
273 | }}} |
---|
274 | |
---|
275 | |
---|
276 | |
---|
277 | |
---|
278 | |
---|