Ignore:
Timestamp:
04/16/08 11:15:20 (16 years ago)
Author:
pinsard
Message:

migration from DocBook? 4 to Docbook 5 : sources and production tools

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SRC/Documentation/xmldoc/faqsaxo.xml

    r294 r345  
    1 <?xml version='1.0' encoding='iso-8859-1'?> 
    2 <!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" 
    3 "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" 
    4 [ 
     1<?xml version="1.0" encoding="iso-8859-1"?> 
     2<!DOCTYPE article [ 
    53<!ENTITY promptidl "idl&gt;"> 
    64]> 
    7 <article> 
     5 
     6<article version="5.0" 
     7xmlns="http://docbook.org/ns/docbook" 
     8xmlns:xl="http://www.w3.org/1999/xlink" 
     9xml:lang="en" 
     10xml:id="faqsaxo"> 
     11 
    812<!-- 
    913en s'inspirant de 
     
    2125--> 
    2226<title>Frequently Asked questions about SAXO</title> 
    23   <articleinfo> 
     27  <info> 
    2428    <authorgroup> 
    25       <author><firstname>Sébastien</firstname> <surname>Masson</surname> <email>Sebastien.Masson_at_locean-ipsl.upmc.fr</email></author> 
    26       <author><firstname>Françoise</firstname> <surname>Pinsard</surname> <email>Francoise.Pinsard_at_locean-ipsl.upmc.fr</email></author> 
     29      <author><personname><firstname>Sébastien</firstname> <surname>Masson</surname></personname> <email>Sebastien.Masson_at_locean-ipsl.upmc.fr</email></author> 
     30      <author><personname><firstname>Françoise</firstname> <surname>Pinsard</surname></personname> <email>Francoise.Pinsard_at_locean-ipsl.upmc.fr</email></author> 
    2731    </authorgroup> 
    2832    <keywordset> 
     
    4246        <revremark>+ onlinehelp</revremark> 
    4347      </revision> 
     48      <revision> 
     49        <revnumber>0.2</revnumber> 
     50        <date>April 2008</date> 
     51        <revremark>migration from DocBook 4.2 to Docbook 5.0</revremark> 
     52      </revision> 
    4453    </revhistory> 
    4554    <pubdate>$Id$</pubdate> 
    46   </articleinfo> 
     55  </info> 
    4756 
    4857<qandaset> 
    49 <qandadiv id="intro"> 
    50 <title>Introduction</title> 
    5158<para> 
    5259This is a list of Frequently Asked Questions about SAXO. 
     
    5966Suggestions for corrections or additional sections are welcome -- please email them to <email>saxo-dev@forge.ipsl.jussieu.fr</email>. 
    6067</para> 
    61 </qandadiv> 
    62 <qandadiv id="general"> 
     68<qandadiv xml:id="general"> 
    6369<title>General</title> 
    6470<qandaentry> 
     
    7076<answer> 
    7177<para> 
    72 see document <ulink url="./whatissaxo.html">What is SAXO</ulink>. 
     78see document <link xl:href="./whatissaxo.html">What is SAXO</link>. 
    7379</para> 
    7480</answer> 
     
    8288<answer> 
    8389<para> 
    84 see Support in document <ulink url="./websaxo.html">Main page of SAXO</ulink>. 
     90see Support in document <link xl:href="./websaxo.html">Main page of SAXO</link>. 
    8591</para> 
    8692</answer> 
     
    94100<answer> 
    95101<para> 
    96 see document <ulink url="./getsaxo.html">Get SAXO</ulink>. 
     102see document <link xl:href="./getsaxo.html">Get SAXO</link>. 
    97103</para> 
    98104</answer> 
     
    167173</qandaentry> 
    168174</qandadiv> 
    169 <qandadiv id="technical"> 
     175<qandadiv xml:id="technical"> 
    170176<title>Technical questions</title> 
    171177<qandaentry> 
     
    177183<answer> 
    178184<para> 
    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: 
     185Yes, if you use at least IDL 6.2. It is produced by <application><link xl:href="http://www.ittvis.com/codebank/search.asp?FID=100">IDLdoc</link></application>. SAXO and IDL online_help have been merged, you can simply get the help by typing: 
    180186     <screen> 
    181187       <prompt>&promptidl;</prompt> <userinput><command>?</command></userinput> 
     
    185191</qandaentry> 
    186192</qandadiv> 
    187 <qandadiv id="Contributors"> 
     193<qandadiv xml:id="Contributors"> 
    188194<title>Contributors</title> 
    189195<qandaentry> 
     
    195201<answer> 
    196202<para> 
    197 There is a template for header <ulink url="../new_header.txt">new_header.txt</ulink> 
     203There is a template for header <link xl:href="../new_header.txt">new_header.txt</link> 
    198204which can be parsed by <application>IDLdoc</application>. 
    199205</para> 
     
    277283There is one way with command line : 
    278284     <screen> 
    279        <prompt>$</prompt> <userinput><command>aspell</command> <option>--mode=sgml</option> <option>-c</option> <parameter><filename><replaceable>xmlfile</replaceable></filename></parameter></userinput> 
     285       <prompt>$</prompt> <userinput><command>aspell</command> <option>--mode=sgml</option> <option>-c</option> <filename><replaceable>xmlfile</replaceable></filename></userinput> 
    280286     </screen> 
    281287</para> 
     
    292298Not so easy but you can start with something like this : 
    293299     <screen> 
    294        <prompt>$</prompt> <userinput><command>cd</command> <parameter><envar>${HOME}</envar>/SAXO_DIR/SRC</parameter></userinput> 
     300       <prompt>$</prompt> <userinput><command>cd</command> <filename class="directory">${HOME}/SAXO_DIR/SRC/</filename></userinput> 
    295301       <prompt>$</prompt> <userinput>list=$(find . -name "*.pro")</userinput> 
    296302       <prompt>$</prompt> <userinput>for file in ${list}; do aspell list &lt; ${file}; done > /tmp/list_word </userinput> 
Note: See TracChangeset for help on using the changeset viewer.