source: trunk/SRC/Documentation/xmldoc/wiki/FaqSaxo @ 352

Last change on this file since 352 was 352, checked in by pinsard, 16 years ago

some improvements in wiki production

File size: 4.9 KB
Line 
1= Frequently Asked questions about SAXO =
2[[PageOutline]]
3
4   
5   
6   
7   
8 
9
10This is a list of Frequently Asked Questions about SAXO.
11
12
13This list is roughly divided into categories: general questions,
14technical questions, contributors questions.
15
16
17Suggestions 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
20General
21
22
23
24What is SAXO ?
25
26
27
28
29see document [wiki:WhatisSaxo What is SAXO].
30
31
32
33
34
35
36How can I get help ?
37
38
39
40
41see Support in document [wiki:WikiStart Main page of SAXO].
42
43
44
45
46
47
48How do I get SAXO ?
49
50
51
52
53see document [wiki:GetSaxo Get SAXO].
54
55
56
57
58
59
60What is the current version of SAXO ?
61
62
63
64
65
66
67
68
69
70On what systems does SAXO run ?
71
72
73
74
75
76
77
78
79
80Does SAXO works with GDL instead of IDL ?
81
82
83
84
85Not yet.
86
87
88
89
90
91When is the next version of SAXO due out ?
92
93
94
95
96
97
98
99
100
101How can I find if a routine to do what I want already exists ?
102
103
104
105
106
107
108
109
110
111How should SAXO be cited or acknowledged in publication ?
112
113
114
115
116
117
118
119
120Technical questions
121
122
123
124Is there on-line help for SAXO ?
125
126
127
128
129Yes, 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&gt;</code> <strong class="userinput"><code><span><strong class="command">?</strong></span></code></strong>
134     </pre>
135}}}
136
137
138
139
140
141Contributors
142
143
144
145Is there an SAXO Style Guide available ?
146
147
148
149
150There is a template for header [../new_header.txt new_header.txt]
151which can be parsed by IDLdoc.
152
153
154This file can be added in Emacs configuration
155
156 
157    C-cC-h
158 
159  IDLWAVE
160  Templates
161  Doc Header
162.
163in 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
176Is there any trouble with IDLdoc ?
177
178
179
180
181Yes, there are some :
182 * \ in {{{*.pro}}} are not written
183in {{{*.html}}}.
184They must be escaped by an other \ or you can choose an other character.
185 * Search doesn't handle characters like -
186and |.
187* Paragraphs of {{{*.pro}}} headers are shown with a proportional
188font in the HTML release.
189
190If you need to draw some small figure like grid cell, you can encapsulate
191the block to be shown in constant font
192between
193; &lt;fixe&gt; and
194; &lt;/fixe&gt;
195
196Unfortunately, these troubles may not be fixed because the author does not
197have anymore the opportunity to work on his own work.
198
199
200Bugs can be submitted to IDL but we do not expect answers !
201
202
203
204
205
206
207How can I check spelling of XML files ?
208
209
210
211
212There 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
225How can I check spelling of IDL files ?
226
227
228
229
230Not 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 &lt; ${file}; done &gt; /tmp/list_word </code></strong>
237       <code class="prompt">$</code> <strong class="userinput"><code>sort -u /tmp/list_word &gt; /tmp/list_sort</code></strong>
238     </pre>
239}}}
240
241
242This will give {{{/tmp/list_sort}}} a list of sorted word
243used in IDL files that are not in the default dictionnary.
244Some 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
247To 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
256We should improve this by providing some IDL and SAXO dictionnary.
257
258
259
260
261
262How can I see online help update ?
263
264
265
266
267You 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&gt;</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
Note: See TracBrowser for help on using the repository browser.