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

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

some improvements in wiki production

File size: 5.0 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 [http://www.ittvis.com/codebank/search.asp?FID=100 IDLdoc]. SAXO and IDL online_help have been merged, you can simply get the help by typing:
130     
131{{{
132#!html
133<pre xmlns:xl="http://www.w3.org/1999/xlink" class="screen">
134       <code class="prompt">idl&gt;</code> <strong class="userinput"><code><span><strong class="command">?</strong></span></code></strong>
135     </pre>
136}}}
137
138
139
140
141
142Contributors
143
144
145
146Is there an SAXO Style Guide available ?
147
148
149
150
151There is a template for header [../new_header.txt new_header.txt]
152which can be parsed by IDLdoc.
153
154
155This file can be added in Emacs configuration
156
157 
158    C-cC-h
159 
160  IDLWAVE
161  Templates
162  Doc Header
163.
164in your {{{${HOME}/.emacs}}} like this :
165
166(add-hook 'idlwave-mode-hook
167  (function
168    (lambda ()
169     (setq idlwave-file-header '("'''''SAXO_basedirectory'''''/SAXO_DIR/SRC/Documentation/new_header.txt")
170    ))))
171
172
173
174
175
176
177Is there any trouble with IDLdoc ?
178
179
180
181
182Yes, there are some :
183
184 * {{{\}}} in {{{*.pro}}} are not written
185in {{{*.html}}}.
186They must be escaped by an other {{{\}}} or you can choose an other character.
187
188 * Search doesn't handle characters like {{{-}}}
189and {{{|}}}.
190
191 * Paragraphs of {{{*.pro}}} headers are shown with a proportional
192font in the {{{HTML}}} release.
193
194If you need to draw some small figure like grid cell, you can encapsulate
195the block to be shown in constant font
196between
197{{{; &lt;fixe&gt;}}} and
198{{{; &lt;/fixe&gt;}}}
199
200Unfortunately, these troubles may not be fixed because the author does not
201have anymore the opportunity to work on his own work.
202
203
204Bugs can be submitted to IDL but we do not expect answers !
205
206
207
208
209
210
211How can I check spelling of XML files ?
212
213
214
215
216There is one way with command line :
217     
218{{{
219#!html
220<pre xmlns:xl="http://www.w3.org/1999/xlink" class="screen">
221       <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>
222     </pre>
223}}}
224
225
226
227
228
229
230How can I check spelling of IDL files ?
231
232
233
234
235Not so easy but you can start with something like this :
236     
237{{{
238#!html
239<pre xmlns:xl="http://www.w3.org/1999/xlink" class="screen">
240       <code class="prompt">$</code> <strong class="userinput"><code><span><strong class="command">cd</strong></span> ${HOME}/SAXO_DIR/SRC/</code></strong>
241       <code class="prompt">$</code> <strong class="userinput"><code>list=$(find . -name "*.pro")</code></strong>
242       <code class="prompt">$</code> <strong class="userinput"><code>for file in ${list}; do aspell list &lt; ${file}; done &gt; /tmp/list_word </code></strong>
243       <code class="prompt">$</code> <strong class="userinput"><code>sort -u /tmp/list_word &gt; /tmp/list_sort</code></strong>
244     </pre>
245}}}
246
247
248This will give {{{/tmp/list_sort}}} a list of sorted word
249used in IDL files that are not in the default dictionnary.
250Some of these words are correct in IDL and SAXO vocabulary, so they do not have to be replaced but some typo can be found.
251
252
253To find occurences of one of these misspelled words, you have to do this :
254     
255{{{
256#!html
257<pre xmlns:xl="http://www.w3.org/1999/xlink" class="screen">
258       <code class="prompt">$</code> <strong class="userinput"><code>find . -name "*.pro" -exec grep -h "<code class="replaceable">misspelled_word</code>" {} \;</code></strong>
259     </pre>
260}}}
261
262
263We should improve this by providing some IDL and SAXO dictionnary.
264
265
266
267
268
269How can I see online help update ?
270
271
272
273
274You 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 :
275     
276{{{
277#!html
278<pre xmlns:xl="http://www.w3.org/1999/xlink" class="screen">
279       <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>
280     </pre>
281}}}
282
283
284
285
286
Note: See TracBrowser for help on using the repository browser.