Changeset 376
- Timestamp:
- 08/11/08 12:24:07 (16 years ago)
- Location:
- trunk/SRC/Documentation/xmldoc
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/Documentation/xmldoc/doidldoc.sh
r345 r376 6 6 # update : 7 7 # $Id$ 8 # ++ pb PATH introduire SAXO_PATH 9 # fplod 2008-06-20T13:07:59Z aedon.locean-ipsl.upmc.fr (Darwin) 10 # evaluation version 3.1.1 11 # we are not yet still ready to migrate to rst format because of lack of 12 # assistant 13 # transformation independant of IDLdoc release (at least between 2. and 3.) 8 14 # fplod 2008-01-10T08:13:41Z aedon.locean-ipsl.upmc.fr (Darwin) 9 15 # version … … 39 45 # pas ok ne reconnait pas les @param, @keyword 40 46 # 41 set -x42 47 set -u 43 48 # ++ test si idl (car gdl inutilisable) 44 49 application=idl 45 50 assistant=0 46 transform= 051 transform=1 47 52 title="SAXO Documentation" # ++ parametre 48 53 root="../../" … … 53 58 # 54 59 idldoc_dir="../idldoc/" # 55 idldoc_dir="/usr/home/fplod/src/idldoc-3.0b3/" # overriding idldoc_dir for ctest ++ 56 #idldoc_dir="/usr/home/fplod/src/idldoc-3.0b4-src/" # overriding idldoc_dir for test ++ 57 idldoc_dir="/usr/home/fplod/src/idldoc-3.0b4/" # overriding idldoc_dir for test ++ 58 idldoc_dir="/usr/home/fplod/src/idldoc-3.0rc2/" # overriding idldoc_dir for test ++ 60 idldoc_dir="/usr/home/fplod/src/idldoc-3.1.1/" # overriding idldoc_dir for ctest ++ 59 61 template_location=${idldoc_dir}/templates/ 60 62 #++ pas fini 61 template_location=${idldoc_dir}/templates_dbk/ # overriding TEMPLATE_LOCATION++62 template_location=/usr/home/fplod/src/idldoc-3.0b3/templates_dbk/ # overriding TEMPLATE_LOCATION++63 #template_location=${idldoc_dir}/templates_dbk/ # overriding TEMPLATE_LOCATION++ 64 #template_location=/usr/home/fplod/src/idldoc-3.0b3/templates_dbk/ # overriding TEMPLATE_LOCATION++ 63 65 # 64 66 # memorize current directory … … 72 74 log="/tmp/idldochtml_${$}.log" 73 75 pro="/tmp/idldochtml_${$}.pro" 74 75 #+++ a remettre pour dbk template_location="${template_location}", $ 76 #++MARKUP_STYLE="verbatim", $ 77 # !path = expand_path('+' + '${idldoc_dir}') 76 # 78 77 cd ${idldoc_dir} 79 pwd 80 read a 81 cat <<EOF > ${pro} 78 cat << EOF > ${pro} 79 !path = expand_path('+' + '${idldoc_dir}') 82 80 idldoc,root="${root}",title="${title}", $ 83 81 CHARSET="ISO-8859-15", $ 84 82 LOG_FILE="${log}", $ 85 83 output="${outputtmp}", $ 86 template_prefix="dbk", $ 87 template_location="${template_location}", $ 88 overview="../../overview", /statistics, $ 89 COMMENT_STYLE="assistant" 84 overview="../../overview", /statistics 90 85 exit 91 86 EOF 92 more ${pro}93 read a94 87 # launch idl with the file built above 95 IDL_STARTUP=${pro};${application} 96 /bin/rm ${pro} 88 export IDL_STARTUP=${pro} 89 ${application} 90 rm ${pro} 97 91 # 98 92 if [ ${transform} -eq 1 ] … … 106 100 # <td><a href="../../Calendar/caldat.pro" title="Source code of a file">Source</a></td> 107 101 # 108 # - remove date and time of idldoc production 109 # examples : 110 # <!-- Generated by IDLdoc 2.0 on Wed Jun 7 10:25:28 2006 --> 111 # will be replaced by 112 # <!-- Generated by IDLdoc 2.0 --> 113 # <div id="tagline">Produced by IDLdoc 2.0 on Wed Jun 7 10:54:37 2006.</div 114 # will be replaced by 115 # <div id="tagline">Produced by IDLdoc 2.0</div> 116 # <h2>Produced on Wed Jun 7 10:23:13 2006</h2> 117 # will be delete 118 # other lines will be deleted because the time is the time of checkout not 119 # the time of revision. 120 # the sequence of lines 121 #<dl> 122 # <dt>Last modification:</dt> 123 # <dd>Fri Jun 2 11:46:24 2006</dd> 124 # </dl> 125 # should also be removed ++ je ne sais pas dire en sed la ligne 126 # suivant l'occurence de Last modification 102 # - remove version, date and time of idldoc production 103 # ++ je ne sais pas dire en sed la ligne suivant l'occurence de Modification date 127 104 # 128 105 # count of directory levels in output … … 166 143 do 167 144 sed \ 168 -e "s/\(Generated by IDLdoc 2.0\)\(on .*\)\( -->\)/\1\3/" \169 -e "s/\(Produced by IDLdoc 2.0\)\( on .*\)\(\.<\/div>\)/\1\3/" \145 -e "s/\(Generated by IDLdoc\)\( .* on .*\)\( -->\)/\1\3/" \ 146 -e "s/\(Produced by IDLdoc\)\( .* on .*\)\(<\/td>\)/\1\3/" \ 170 147 -e "/<h2>Produced on/d" \ 171 -e "/ Last modification:/d" \172 -e "/< dd>... ... .* ..:..:.. ....<\/dd>/d" \148 -e "/Modifcation:/d" \ 149 -e "/<td>... ... .* ..:..:.. ....<\/td>/d" \ 173 150 -e 's@<div class="value">@<div class="preformat">@' \ 174 151 -e 's/div\#file_comments {/div\#file_comments { white-space: pre;/' \ … … 191 168 # replace <pro>ginette</pro> by a sequence like 192 169 # <a href="./ginette.html">ginette</a> 193 ./pro2href.sh -i ${outputtmp} -r ${outputtmp} -e pro170 pro2href.sh -i ${outputtmp} -r ${outputtmp} -e pro 194 171 status=${?} 195 172 if [ ${status} -ne 0 ] 196 173 then 197 echo "eee : pb during ./pro2href.sh for <pro>...</pro>"174 echo "eee : pb during pro2href.sh for <pro>...</pro>" 198 175 exit 1 199 176 fi 200 177 # replace <proidl>ginette</proidl> by a sequence like 201 178 # <a href="./ginette.html">ginette</a> 202 ./pro2href.sh -i ${outputtmp} -r ${IDL_DIR}/help/online_help -e proidl179 pro2href.sh -i ${outputtmp} -r ${IDL_DIR}/help/online_help -e proidl 203 180 status=${?} 204 181 if [ ${status} -ne 0 ] 205 182 then 206 echo "eee : pb during ./pro2href.sh for <proidl>...</proidl>"183 echo "eee : pb during pro2href.sh for <proidl>...</proidl>" 207 184 exit 1 208 185 fi … … 276 253 # replace <pro>ginette</pro> by a sequence like 277 254 # <a href="./ginette.html">ginette</a> 278 ./pro2href.sh -i ${outputtmp} -r ${outputtmp} -e pro255 pro2href.sh -i ${outputtmp} -r ${outputtmp} -e pro 279 256 status=${?} 280 257 if [ ${status} -ne 0 ] 281 258 then 282 echo "eee : pb during ./pro2href.sh for <pro>...</pro>"259 echo "eee : pb during pro2href.sh for <pro>...</pro>" 283 260 exit 1 284 261 fi 285 262 # replace <proidl>ginette</proidl> by a sequence like 286 263 # <a href="./ginette.html">ginette</a> 287 ./pro2href.sh -i ${outputtmp} -r ${IDL_DIR}/help/online_help -e proidl264 pro2href.sh -i ${outputtmp} -r ${IDL_DIR}/help/online_help -e proidl 288 265 status=${?} 289 266 if [ ${status} -ne 0 ] 290 267 then 291 echo "eee : pb during ./pro2href.sh for <proidl>...</proidl>"268 echo "eee : pb during pro2href.sh for <proidl>...</proidl>" 292 269 exit 1 293 270 fi -
trunk/SRC/Documentation/xmldoc/faqsaxo.xml
r345 r376 244 244 <listitem> 245 245 <para> 246 <guimenu>Search</guimenu> doesn't handle characters like <literal>-</literal> 247 and <literal>|</literal>.246 The search facility (<guimenu>Search</guimenu>) doesn't handle characters 247 like <literal>-</literal> and <literal>|</literal>. 248 248 </para> 249 249 </listitem> -
trunk/SRC/Documentation/xmldoc/saxo_tracwiki.xsl
r356 r376 15 15 must be followed by awk -f saxo_trackwiki.awk 16 16 because I did not yet correctly handle "* text" (with no linefeed) 17 17 18 update : 18 19 $Id$ 19 ++20 20 ++ voir http://trac-hacks.org/wiki/XsltMacro 21 ++ add menu tags menuchoice, gui*, shortcut, keycombo, etc. 22 fplod 2008-08-06T09:38:26Z aedon.locean-ipsl.upmc.fr (Darwin) 23 add qanda tags (see ugly http://forge.ipsl.jussieu.fr/saxo/wiki/FaqSaxo 24 vs http://forge.ipsl.jussieu.fr/saxo/download/xmldoc/faqsaxo.html) 25 add programlisting management 26 fplod 2008-08-11T10:15:40Z aedon.locean-ipsl.upmc.fr (Darwin) 27 menu tags in comments because to ugly ... problem with these tags vs item in lists 21 28 fplod 2008-04-18T13:01:50Z aedon.locean-ipsl.upmc.fr (Darwin) 22 29 pompage de href="http://docbook.sourceforge.net/release/xsl/current/html/xref.xsl … … 62 69 </xsl:template> 63 70 71 <xsl:template match="d:qandadiv/d:title"> 72 <xsl:text>
</xsl:text> 73 <xsl:text>== </xsl:text><xsl:value-of select="normalize-space(.)"/><xsl:text> ==</xsl:text> 74 <xsl:text>
</xsl:text> 75 </xsl:template> 76 64 77 <xsl:template match="d:sect2/d:title"> 65 78 <xsl:text>
</xsl:text> … … 76 89 </xsl:template> 77 90 91 <xsl:template match="d:qandaentry/d:question/d:para"> 92 <xsl:text>
</xsl:text> 93 <xsl:variable name="newtitle"> 94 <xsl:call-template name="replace-string"> 95 <xsl:with-param name="text" select="normalize-space(.)"/> 96 <xsl:with-param name="replace" select="'>'"/> 97 <!-- do not how to write > instead of > ++. need sed features --> 98 <xsl:with-param name="with" select="'>'"/> 99 </xsl:call-template> 100 </xsl:variable> 101 <xsl:text>=== </xsl:text><xsl:value-of select="$newtitle"/><xsl:text> ===</xsl:text> 102 <xsl:text>
</xsl:text> 103 </xsl:template> 104 78 105 <xsl:template match="d:sect3/d:title"> 79 106 <xsl:text>
</xsl:text> … … 131 158 132 159 <xsl:template match="d:screen"> 160 <!-- 161 we open an HTML block because it is not possible to have font effect (bold, italic) using TracWiki 162 --> 163 <xsl:text>
</xsl:text> 164 <xsl:text>{{{</xsl:text> 165 <xsl:text>
</xsl:text> 166 <xsl:text>#!html</xsl:text> 167 <xsl:text>
</xsl:text> 168 <pre class="screen"> 169 <xsl:apply-templates/> 170 </pre> 171 <xsl:text>
</xsl:text> 172 <xsl:text>}}}</xsl:text> 173 <xsl:text>
</xsl:text> 174 </xsl:template> 175 176 <xsl:template match="d:programlisting"> 133 177 <!-- 134 178 we open an HTML block because it is not possible to have font effect (bold, italic) using TracWiki … … 340 384 <xsl:text>
</xsl:text> 341 385 </xsl:template> 386 387 <xsl:template match="d:informaltable"> 388 <!-- but beware of links inside --> 389 <xsl:text>
</xsl:text> 390 <xsl:text>{{{</xsl:text> 391 <xsl:text>
</xsl:text> 392 <xsl:text>#!docbook</xsl:text> 393 <xsl:text>
</xsl:text> 394 <xsl:copy-of select="."/> 395 <xsl:text>
</xsl:text> 396 <xsl:text>}}}</xsl:text> 397 <xsl:text>
</xsl:text> 398 </xsl:template> 399 400 <!-- ++ pb when in listitem/para 401 <xsl:template match="d:menuchoice|d:guimenu|d:guisubmenu"> 402 <xsl:text>
</xsl:text> 403 <xsl:text>{{{</xsl:text> 404 <xsl:text>
</xsl:text> 405 <xsl:text>#!docbook</xsl:text> 406 <xsl:text>
</xsl:text> 407 <xsl:copy-of select="."/> 408 <xsl:text>
</xsl:text> 409 <xsl:text>}}}</xsl:text> 410 <xsl:text>
</xsl:text> 411 </xsl:template> 412 --> 342 413 343 414 <xsl:template match="d:informaltable"> -
trunk/SRC/Documentation/xmldoc/wiki/FaqSaxo
r356 r376 18 18 19 19 20 General 21 22 23 24 What is SAXO ? 20 21 == General == 22 23 24 25 26 === What is SAXO ? === 25 27 26 28 … … 34 36 35 37 36 How can I get help ? 38 === How can I get help ? === 37 39 38 40 … … 46 48 47 49 48 How do I get SAXO ? 50 === How do I get SAXO ? === 49 51 50 52 … … 58 60 59 61 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 ? 62 === What is the current version of SAXO ? === 63 64 65 66 67 68 69 70 71 72 === On what systems does SAXO run ? === 73 74 75 76 77 78 79 80 81 82 === Does SAXO works with GDL instead of IDL ? === 81 83 82 84 … … 89 91 90 92 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 ? 93 === When is the next version of SAXO due out ? === 94 95 96 97 98 99 100 101 102 103 === How can I find if a routine to do what I want already exists ? === 104 105 106 107 108 109 110 111 112 113 === How should SAXO be cited or acknowledged in publication ? === 114 115 116 117 118 119 120 121 122 123 == Technical questions == 124 125 126 127 128 === Is there on-line help for SAXO ? === 125 129 126 130 … … 140 144 141 145 142 Contributors 143 144 145 146 Is there an SAXO Style Guide available ? 146 147 == Contributors == 148 149 150 151 152 === Is there an SAXO Style Guide available ? === 147 153 148 154 … … 164 170 in your {{{${HOME}/.emacs}}} like this : 165 171 172 {{{ 173 #!html 174 <pre xmlns:xl="http://www.w3.org/1999/xlink" class="screen"> 166 175 (add-hook 'idlwave-mode-hook 167 176 (function … … 169 178 (setq idlwave-file-header '("'''''SAXO_basedirectory'''''/SAXO_DIR/SRC/Documentation/new_header.txt") 170 179 )))) 171 172 173 174 175 176 177 Is there any trouble with IDLdoc ? 180 </pre> 181 }}} 182 183 184 185 186 187 188 === Is there any trouble with IDLdoc ? === 178 189 179 190 … … 186 197 They must be escaped by an other {{{\}}} or you can choose an other character. 187 198 188 * Search doesn't handle characters like {{{-}}}189 and {{{|}}}.199 * The search facility (Search) doesn't handle characters 200 like {{{-}}} and {{{|}}}. 190 201 191 202 * Paragraphs of {{{*.pro}}} headers are shown with a proportional … … 209 220 210 221 211 How can I check spelling of XML files ? 222 === How can I check spelling of XML files ? === 212 223 213 224 … … 228 239 229 240 230 How can I check spelling of IDL files ? 241 === How can I check spelling of IDL files ? === 231 242 232 243 … … 267 278 268 279 269 How can I see online help update ? 280 === How can I see online help update ? === 270 281 271 282 -
trunk/SRC/Documentation/xmldoc/wiki/GetSaxo
r357 r376 66 66 ==== Regular users ==== 67 67 68 The '''complete''' latest revision (source + tests data files: 77 3Mb) can be checked out with the following command executed in your ${HOME}:68 The '''complete''' latest revision (source + tests data files: 771 Mb) can be checked out with the following command executed in your ${HOME}: 69 69 70 70 {{{ … … 75 75 }}} 76 76 77 The latest revision of the '''source files''' (4 6Mb) can be checked out with the following command:77 The latest revision of the '''source files''' (44 Mb) can be checked out with the following command: 78 78 79 79 {{{
Note: See TracChangeset
for help on using the changeset viewer.