Changeset 294 for trunk/SRC/Documentation/xmldoc/faqsaxo.xml
- Timestamp:
- 09/24/07 16:18:40 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/Documentation/xmldoc/faqsaxo.xml
r230 r294 5 5 <!ENTITY promptidl "idl>"> 6 6 ]> 7 <article> 7 8 <!-- 8 9 en s'inspirant de … … 12 13 13 14 !! on notera l'utilisation hypersioux de xinclude xpointer pour ne pas répéter 14 (avec des erreurs, forcément) àce qui est déjà écrit dans un autre document15 (avec des erreurs, forcément) ce qui est déjà écrit dans un autre document 15 16 !! 16 17 cf http://www.zvon.org/xxl/XIncludeTutorial/Output/example9.html … … 19 20 exemple de l'entité incluse) 20 21 --> 21 <article>22 22 <title>Frequently Asked questions about SAXO</title> 23 23 <articleinfo> … … 178 178 <para> 179 179 Yes, if you use at least IDL 6.2. It is produced by <application><ulink url="http://www.ittvis.com/codebank/search.asp?FID=100">IDLdoc</ulink></application>. SAXO and IDL online_help have been merged, you can simply get the help by typing: 180 <screen format="linespecific">180 <screen> 181 181 <prompt>&promptidl;</prompt> <userinput><command>?</command></userinput> 182 182 </screen> … … 209 209 </menuchoice>. 210 210 in your <filename>${HOME}/.emacs</filename> like this : 211 <programlisting format="linespecific">211 <programlisting> 212 212 (add-hook 'idlwave-mode-hook 213 213 (function … … 249 249 <para> 250 250 If you need to draw some small figure like grid cell, you can encapsulate 251 betweenthe block to be shown in constant font <!-- see savesaxo.sh -->251 the block to be shown in constant font <!-- see savesaxo.sh --> 252 252 between 253 253 <literal>; <fixe></literal> and … … 270 270 <question> 271 271 <para> 272 How can I check spelling of xmlfiles ?272 How can I check spelling of XML files ? 273 273 </para> 274 274 </question> … … 276 276 <para> 277 277 There is one way with command line : 278 <screen format="linespecific">278 <screen> 279 279 <prompt>$</prompt> <userinput><command>aspell</command> <option>--mode=sgml</option> <option>-c</option> <parameter><filename><replaceable>xmlfile</replaceable></filename></parameter></userinput> 280 280 </screen> … … 285 285 <question> 286 286 <para> 287 How can I check spelling of IDL files ? 288 </para> 289 </question> 290 <answer> 291 <para> 292 Not so easy but you can start with something like this : 293 <screen> 294 <prompt>$</prompt> <userinput><command>cd</command> <parameter><envar>${HOME}</envar>/SAXO_DIR/SRC</parameter></userinput> 295 <prompt>$</prompt> <userinput>list=$(find . -name "*.pro")</userinput> 296 <prompt>$</prompt> <userinput>for file in ${list}; do aspell list < ${file}; done > /tmp/list_word </userinput> 297 <prompt>$</prompt> <userinput>sort -u /tmp/list_word > /tmp/list_sort</userinput> 298 </screen> 299 </para> 300 <para> 301 This will give <filename>/tmp/list_sort</filename> a list of sorted word 302 used in IDL files that are not in the default dictionnary. 303 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. 304 </para> 305 <para> 306 To find occurences of one of these misspelled words, you have to do this : 307 <screen> 308 <prompt>$</prompt> <userinput>find . -name "*.pro" -exec grep -h "<replaceable>misspelled_word</replaceable>" {} \;</userinput> 309 </screen> 310 </para> 311 <para> 312 We should improve this by providing some IDL and SAXO dictionnary. <!-- ++ --> 313 </para> 314 </answer> 315 </qandaentry> 316 <qandaentry> 317 <question> 318 <para> 287 319 How can I see online help update ? 288 320 </para> … … 291 323 <para> 292 324 You won't see online help update if you are working with the official distribution because of <varname>!HELP_PATH</varname>. To override this problem, when you are in <filename class="directory"><replaceable>SAXO_basedirectory</replaceable>/SAXO_DIR/SRC/Documentation/xmldoc/</filename>, you can call online help like this : 293 <screen format="linespecific">325 <screen> 294 326 <prompt>&promptidl;</prompt> <userinput><command>ONLINE_HELP</command>,<option>book="../idldoc_assistant_output/idldoc-lib.adp"</option></userinput> 295 327 </screen>
Note: See TracChangeset
for help on using the changeset viewer.