Changeset 186


Ignore:
Timestamp:
09/20/06 12:50:37 (18 years ago)
Author:
pinsard
Message:

introducing hyperlinks in idldoc outputs (1/2)

Location:
trunk/SRC
Files:
10 edited

Legend:

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

    r183 r186  
    238238<listitem> 
    239239<para> 
    240 <guimenu>Search</guimenu> does'nt handle characters like <literal>-</literal> 
     240<guimenu>Search</guimenu> doesn't handle characters like <literal>-</literal> 
    241241and <literal>|</literal>. 
    242242</para> 
     
    267267</answer> 
    268268</qandaentry> 
     269<qandaentry> 
     270<question> 
     271<para> 
     272How can I check spelling of xml files ? 
     273</para> 
     274</question> 
     275<answer> 
     276<para> 
     277There is one way with command line : 
     278     <screen format="linespecific"> 
     279       <prompt>$</prompt> <userinput><command>aspell</command> <option>--mode=sgml</option> <option>-c</option> <parameter><filename><replaceable>xmlfile</replaceable></filename></parameter></userinput> 
     280     </screen> 
     281</para> 
     282</answer> 
     283</qandaentry> 
     284<qandaentry> 
     285<question> 
     286<para> 
     287How can I see online help update ? 
     288</para> 
     289</question> 
     290<answer> 
     291<para> 
     292You 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"> 
     294       <prompt>IDL</prompt> <userinput><command>ONLINE_HELP</command>,<option>book="../idldoc_assistant_output/idldoc-lib.adp"</option></userinput> 
     295     </screen> 
     296</para> 
     297</answer> 
     298</qandaentry> 
    269299</qandadiv> 
    270300</qandaset> 
  • trunk/SRC/Documentation/xmldoc/savesaxo.sh

    r183 r186  
    11#!/bin/bash 
    2 #  
     2# 
    33# update : 
    44# $Id$ 
     
    3333# ajout de  white-space: pre; dans la css pour file_comments 
    3434# fplod 2006-07-04T13:09:19Z aedon.locean-ipsl.upmc.fr (Darwin) 
    35 # for idldoc html output  
     35# for idldoc html output 
    3636# because preformat option doesn't seem to work well 
    37 # replace  
     37# replace 
    3838# div class="value" 
    3939# by 
    4040# div class="preformat" 
    4141# fplod 2006-06-19T08:46:39Z aedon.locean-ipsl.upmc.fr (Darwin) 
    42 # for idldoc html output  
     42# for idldoc html output 
    4343#. replace 
    4444#     -e 's/\(href=".*\)\(\.html\)\("\)/\1\2?format=raw\3/g' \ 
    4545#     -e 's/\(href=".*\)\(\.html\)\(#.*"\)/\1\2?format=raw\3/g' \ 
    4646#     -e 's/\(src=".*\)\(\.html\)\("\)/\1\2?format=raw\3/g' \ 
    47 # by  
     47# by 
    4848# -e 's@\(href="[^.]*[^h]*[^t]*[^m]*[^l]*[^"]*\)\(\.html\)\("\)@\1\2?format=raw\3@g' \ 
    4949# -e 's@\(href="[^.]*[^h]*[^t]*[^m]*[^l]*[^"]*\)\(\.html\)\(#.*"\)@\1\2?format=raw\3@g' \ 
    5050#-e 's@\(src="[^.]*[^h]*[^t]*[^m]*[^l]*[^"]*\)\(\.html\)\("\)@\1\2?format=raw\3@g' 
    5151# in order to be able to add ?format=raw several time on one line 
    52 # . suppress .html in line like  
     52# . suppress .html in line like 
    5353# a parameter from the routine ./ReadWrite/idl-NetCDF/ncdf_read.html 
    5454# in files idldoc-index*.html 
     
    5656# add embed parameter idldoc instructions to try to fix ticket#17 
    5757# fplod 2006-06-07T12:11:50Z aedon.locean-ipsl.upmc.fr (Darwin) 
    58 # add g option in ?format=raw sed transformation in order to fix  
     58# add g option in ?format=raw sed transformation in order to fix 
    5959# link on top of idldoc like directory-overview.html 
    6060# fplod 2006-06-07T10:57:35Z aedon.locean-ipsl.upmc.fr (Darwin) 
     
    105105    doSRCidris=0 
    106106    doDTAidris=0 
    107 fi     
     107fi 
    108108# 
    109109# get the date in a nice format 
     
    118118    then 
    119119    cat <<EOF > /tmp/compileall${$}.pro 
    120 .reset_session   
     120.reset_session 
    121121; 
    122122!path = expand_path('+' + '../..') + ':' + expand_path('+' + !dir) 
     
    131131IF !journal NE 0 THEN journal 
    132132journal, myuniquetmpdir + 'cm_demomode_used.pro' 
    133 journal    
     133journal 
    134134; 
    135135resolve_all, resolve_either='keep_compatibility', skip_routines = ['xxx2ps','trends', 'label_gmt'] 
     
    154154    grep -i "error" /tmp/compileallerr_${$} 
    155155#    grep -q "Compilation error(s)" /tmp/compileallerr_${$} 
    156     if [ ${?} -ne 0 ]  
     156    if [ ${?} -ne 0 ] 
    157157    then 
    158158     echo "ALL SAXO files are OK..." 
     
    174174# 
    175175    cd ${memopwd} 
    176     for docxml in firststeps.xml getsaxo.xml mailing.xml websaxo.xml tiplink.xml updatesaxo.xml whatissaxo.xml whatsnew.xml infoupdatekwd.xml infoupdatecm.xml mini_notice.xml faqsaxo.xml  
     176    for docxml in firststeps.xml getsaxo.xml mailing.xml websaxo.xml tiplink.xml updatesaxo.xml whatissaxo.xml whatsnew.xml infoupdatekwd.xml infoupdatecm.xml mini_notice.xml faqsaxo.xml 
    177177    do 
    178178      ./makehtml.sh $(basename ${docxml} .xml) 
     
    242242    # <div id="tagline">Produced by IDLdoc 2.0</div> 
    243243    # <h2>Produced on Wed Jun  7 10:23:13 2006</h2> 
    244     # will be delete  
    245     # other lines will be deleted because the time is the time of checkout not  
     244    # will be delete 
     245    # other lines will be deleted because the time is the time of checkout not 
    246246    # the time of revision. 
    247247    # the sequence of lines 
     
    345345    # <div id="tagline">Produced by IDLdoc 2.0</div> 
    346346    # <h2>Produced on Wed Jun  7 10:23:13 2006</h2> 
    347     # will be delete  
    348     # other lines will be deleted because the time is the time of checkout not  
     347    # will be delete 
     348    # other lines will be deleted because the time is the time of checkout not 
    349349    # the time of revision. 
    350350    # the sequence of lines 
     
    382382    do 
    383383      fout=../idldoc_assistant_output/${file_html#../idldoc_html_output/*} 
    384       fout=${fout%/*}/directory-overview.html  
     384      fout=${fout%/*}/directory-overview.html 
    385385      sed -e 's/?format=raw//g' ${file_html} > ${fout} 
    386386    done 
  • trunk/SRC/Interpolation/spl_fstdrv.pro

    r134 r186  
    66; @file_comments 
    77; SPL_FSTDRV returns the values of the first derivative of 
    8 ; the interpolating function at the points X2i. it is a double 
     8; the interpolating function at the points X2i. It is a double 
    99; precision array. 
    1010; 
     
    3232; The input values for which the first derivative values are desired. 
    3333; X can be scalar or an array of values. 
    34  
     34; 
    3535; @returns 
    36 ; 
    3736;    y2: f'(x2) = y2. 
    3837; 
  • trunk/SRC/Picture/showimage.pro

    r163 r186  
    1111;    JPEG 24-bit true color, 
    1212; 
    13 ;    Any conversions necessary to translate 8-bit or 24-bit files 
    14 ;    to 8-bit or 24-bit images on-screen are done automatically. 
     13; Any conversions necessary to translate 8-bit or 24-bit files 
     14; to 8-bit or 24-bit images on-screen are done automatically. 
    1515; 
    1616; @categories Input/Output. 
     
    3333; Requires IDL 5.2 or higher (image QUERY functions). 
    3434; 
    35 ; @examples $ 
     35; @examples 
    3636; IDL> showimage, filepath('rose.jpg', subdir='examples/data') 
    3737; 
  • trunk/SRC/Postscript/openps.pro

    r167 r186  
    1212; 
    1313; @keyword FILENAME 
    14 ; to define the name of the postscript file through 
    15 ; a keyword rather than with nameps input argument 
    16 ; (in this case the keyword can be pass through 
     14; to define the name of the postscript file through a keyword rather than with  
     15; nameps input argument (in this case the keyword can be pass through 
    1716; different routines via _EXTRA keyword). 
    1817; 
    1918; @keyword INFOWIDGET 
    20 ; If INFOWIDGET is present, it specifies a named 
    21 ; variable into which the id of the widget giving informations 
    22 ; about the postscript creation is stored as a long integer. 
    23 ; This id is needed by close ps to kill the information widget. 
     19; If INFOWIDGET is present, it specifies a named variable into which the id of  
     20; the widget giving information about the postscript creation is stored as a  
     21; long integer. 
     22; This id is needed by <a href="./closeps.html">closeps</a> to kill  
     23; the information widget. 
    2424; 
    2525; @keyword KEEP_PFONT 
  • trunk/SRC/ToBeReviewed/STRING/strtok.pro

    r163 r186  
    99; 
    1010; @param STRING {in}{required} 
    11 ; String to be split.  Contains text after    in, out 
    12 ; token on output. 
     11; String to be split. Contains text after in, out token on output. 
    1312;  
    1413; @param TOKEN {in}{required} 
     
    1615; 
    1716; @keyword TRIM  
    18 ; set to remove leading blanks from old  
    19 ; before returning. 
     17; set to remove leading blanks from old before returning. 
    2018; 
    2119; @keyword HELP 
  • trunk/SRC/ToBeReviewed/TRIANGULATION/definetri.pro

    r163 r186  
    66; the points are regulary-gridded on nx*ny array. 
    77; Find a Delaunay triangulation for this set of points is easy: 
    8 ; Points define (nx-1)*(ny-1) rectangles which we can cut in 2 
    9 ; triangles. cf. figure above 
     8; Points define (nx-1)*(ny-1) rectangles which we can cut in 2 triangles.  
     9; cf. figure above 
    1010; 
    1111; <fixe> 
     12; fixe 
    1213;      ny-1*---*---*. . . . . .*---*---* 
    1314;          |  +|  +|           |  +|  +|       
     
    4748; 
    4849; @param DOWNWARD {in}{optional} 
    49 ; When downward is undefine all rectangles are cut 
    50 ; in using the upward diagonal. Downward is a vector which 
    51 ; contains the rectangles numbers which are cut in using the 
    52 ; downward diagonal. 
    53 ; The rectangle number is define by the index (in a nx*ny 
    54 ; vector) of the lower-left corner of the rectangle. 
     50; When downward is undefine all rectangles are cut in using the upward  
     51; diagonal.  
     52; Downward is a vector which contains the rectangles numbers which are cut in  
     53; using the downward diagonal. 
     54; The rectangle number is defined by the index (in a nx*ny vector) of the  
     55; lower-left corner of the rectangle. 
    5556; 
    5657; @returns 
    57 ; triangles is a 2d array and is dimensions are 3 and 
    58 ; 2*(nx-1)*(ny-1) 
    59 ; triangles is define like in the TRIANGULATE procedure. 
     58; triangles is a 2d array and its dimensions are 3 and 2*(nx-1)*(ny-1). 
     59; triangles is defined like in the TRIANGULATE procedure. 
    6060; 
    6161; @examples 
    6262; 
    63 ; triangles=definetri(3,3,[1,3]) 
    64 ; triangles will be a this kind of triangulation: 
     63; IDL> triangles=definetri(3,3,[1,3]) 
     64; triangles will be this kind of triangulation: 
    6565; 
    6666;          *---*---* 
    67 ;           |+  |  +| 
    68 ;           | + | + | 
    69 ;           |  +|+  | 
     67;          |+  |  +| 
     68;          | + | + | 
     69;          |  +|+  | 
    7070;          *---*---* 
    71 ;           |  +|+  | 
    72 ;           | + | + | 
    73 ;           |+  |  +| 
     71;          |  +|+  | 
     72;          | + | + | 
     73;          |+  |  +| 
    7474;          *---*---* 
    7575; 
     
    103103; we define upward: upward is a vector which contains the rectangles 
    104104; numbers which are cut in using the upward diagonal. 
    105 ; The rectangle number is define by the index (in a nx*ny vector) of 
     105; The rectangle number is defined by the index (in a nx*ny vector) of 
    106106; the lower-left corner of the rectangle. 
    107107      upward = bytarr(nx, ny)+1 
  • trunk/SRC/ToBeReviewed/TRIANGULATION/definetri_e.pro

    r157 r186  
    6060; 
    6161; @param SINGULAR {in}{optional} 
    62 ; When singular is undefined all rectangles are cut 
    63 ; in using the vertical diagonal. Singular is a vector which 
    64 ; contains the rectangles numbers which are cut in using the 
    65 ; horizontal diagonal. 
    66 ; The rectangle number is define by the index (in a nx*ny 
    67 ; vector) of the lower-left corner of the rectangle. 
     62; When singular is undefined all rectangles are cut in using the vertical  
     63; diagonal.  
     64; Singular is a vector which contains the rectangles numbers which are cut in  
     65; using the horizontal diagonal. 
     66; The rectangle number is defined by the index (in a nx*ny vector) of the  
     67; lower-left corner of the rectangle. 
    6868; 
    6969; @keyword SHIFTED 
     
    7171; 
    7272; @returns 
    73 ; Triangles is a 2d array and is dimensions are 3 and 
    74 ; (nx-1)*(ny-1) 
     73; Triangles is a 2d array and is dimensions are 3 and (nx-1)*(ny-1). 
    7574; Triangles is defined like in the TRIANGULATE procedure. 
    7675;         
  • trunk/SRC/ToBeReviewed/TRIANGULATION/section.pro

    r157 r186  
    5858;  
    5959; @version  
     60; $Id$ 
    6061;  
    6162;- 
  • trunk/SRC/ToBeReviewed/WIDGET/xxx.pro

    r163 r186  
    11;+ 
    22; @file_comments 
    3 ; 
     3; see <a href="../../../xmldoc/mini_notice.html">Mini Guide for Basic Commands in the XXX Program</a> 
    44; 
    55; @categories 
Note: See TracChangeset for help on using the changeset viewer.