Ignore:
Timestamp:
08/29/06 14:59:46 (18 years ago)
Author:
navarro
Message:

header improvements : type of parameters and keywords, default values, spell checking + idldoc assistant (IDL online_help)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SRC/Documentation/idldoc_html_output/Textoidl/translate_sub_super.html

    r157 r163  
    699699      </div> 
    700700 
    701       <div id="file_comments"></div> 
     701      <div id="file_comments"> 
     702 Return the proper IDL font positioning command for TeX 
     703 sub/superscripts.  
     704</div> 
    702705 
    703706       
     
    713716        <dl> 
    714717           
    715           <dt><p><a href="#_Sub_sup_idl"><span class="result">result = </span>Sub_sup_idl(<span class="result">token</span>, FORCE_UD=<span class="result">FORCE_UD</span>)</a></p><dt> 
    716           <dd>  SPECIAL NOTE:         The file translate_sub_super.</dd>         
    717            
    718           <dt><p><a href="#_Translate_sub_super"><span class="result">result = </span>Translate_sub_super(<span class="result">InputString</span>, RECURSED=<span class="result">RECURSED</span>, HELP=<span class="result">HELP</span>)</a></p><dt> 
     718          <dt><p><a href="#_sub_sup_idl"><span class="result">result = </span>sub_sup_idl(<span class="result">token</span>, FORCE_UD=<span class="result">FORCE_UD</span>)</a></p><dt> 
     719          <dd></dd>      
     720           
     721          <dt><p><a href="#_translate_sub_super"><span class="result">result = </span>translate_sub_super(<span class="result">InputString</span>, RECURSED=<span class="result">RECURSED</span>, HELP=<span class="result">HELP</span>)</a></p><dt> 
    719722          <dd>  NAME:        TRANSLATE_SUB_SUPER  PURPOSE:        Translate TeX sub/superscripts to IDL sub/superscripts.</dd>   
    720723                 
     
    726729         
    727730 
    728         <div class="routine_details" id="_Sub_sup_idl"> 
    729  
    730           <h2><a class="top" href="#container">top</a>Sub_sup_idl </h2> 
     731        <div class="routine_details" id="_sub_sup_idl"> 
     732 
     733          <h2><a class="top" href="#container">top</a>sub_sup_idl <span class="categories"> 
     734 Text, String 
     735</span></h2> 
    731736         
    732737          <p class="header"> 
    733             <span class="result">result = </span>Sub_sup_idl(<span class="result"><a href="#_Sub_sup_idl_param_token">token</a></span>, <a href="#_Sub_sup_idl_keyword_FORCE_UD">FORCE_UD</a>=<span class="result">FORCE_UD</span>)</p> 
     738            <span class="result">result = </span>sub_sup_idl(<span class="result"><a href="#_sub_sup_idl_param_token">token</a></span>, <a href="#_sub_sup_idl_keyword_FORCE_UD">FORCE_UD</a>=<span class="result">FORCE_UD</span>)</p> 
     739         
     740          <div class="comments"></div> 
     741 
     742          <h3>Return value</h3><div class="preformat"> 
     743 Either '!U' or !E' for superscripts, or '!D' or '!I' for subscripts. 
     744</div> 
     745 
     746           
     747            <h3>Parameters</h3> 
     748         
     749             
     750            <h4 id="_sub_sup_idl_param_token">token&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
     751               
     752               
     753               
     754               
     755               
     756               
     757               
     758               
     759            </h4> 
    734760         
    735761          <div class="comments"> 
    736  SPECIAL NOTE:  
    737        The file translate_sub_super.pro contains two functions, 
    738        translate_sub_super, and sub_sup_idl.  The former is the 
    739        generic routine for processing TeX sub/superscripts, the 
    740        latter is used only by translate_sub_super and has no general 
    741        utility.  Hence it lives here.  You will see documentation for 
    742        translate_sub_super second if you use DOC_LIBRARY.</div> 
    743  
    744            
    745  
    746            
    747             <h3>Parameters</h3> 
    748          
    749              
    750             <h4 id="_Sub_sup_idl_param_token">token&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    751                
    752                
    753                
    754                
    755                
    756                
    757                
    758                
    759             </h4> 
    760          
    761           <div class="comments"></div> 
     762 Either '^' or '_', the TeX super/subscript characters 
     763</div> 
    762764             
    763765 
     
    768770            <h3>Keywords</h3> 
    769771             
    770             <h4 id="_Sub_sup_idl_keyword_FORCE_UD">FORCE_UD&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
     772            <h4 id="_sub_sup_idl_keyword_FORCE_UD">FORCE_UD&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    771773               
    772774               
     
    779781            </h4> 
    780782         
    781             <div class="comments"></div> 
     783            <div class="comments"> 
     784 Set this to use !U/!D instead of !E/!I for sub/superscripts. 
     785</div> 
    782786             
    783787           
    784788 
    785            
    786            
    787            
    788            
    789            
    790            
    791            
    792            
    793            
    794            
    795            
    796            
    797          
    798            
    799            
    800            
    801            
    802            
    803            
    804            
    805          
     789          <h3>Examples</h3><div class="preformat"> 
     790 
     791</div> 
     792          <h3>Version history</h3> 
     793           
     794          <h4>Version</h4><div class="preformat"> 
     795 $Id: translate_sub_super.pro 134 2006-07-07 10:19:08Z navarro $</div> 
     796          <h4>History</h4><div class="preformat"> 
     797       $Log: translate_sub_super.pro,v $ 
     798       Revision 1.5  2000/06/14 19:09:22  mcraig 
     799       Changed name of strtok str_token to avoid conflict in IDL 5.3. 
     800 
     801       Revision 1.4  1996/06/14 20:00:27  mcraig 
     802       Updated Copyright info. 
     803 
     804       Revision 1.3  1996/05/09 00:22:17  mcraig 
     805       Changed some function calls to reflect changes in those functions, moved 
     806       some code out of the main loop that didn't need to be there, added 
     807       documentation. 
     808 
     809       Revision 1.1  1996/01/31 18:47:37  mcraig 
     810       Initial revision 
     811 
     812  Copyright (C) 1996 The Regents of the University of California, All 
     813  Rights Reserved.  Written by Matthew W. Craig. 
     814  See the file COPYRIGHT for restrictions on distrubting this code. 
     815  This code comes with absolutely NO warranty; see DISCLAIMER for details. 
     816</div> 
     817           
     818           
     819          <h3>Known issues</h3> 
     820           
     821           
     822           
     823          <h4>Restrictions</h4><div class="preformat"> 
     824 Make sure sub_sup_idl stays before translate_sub_super.  At least 
     825 for now, when IDL encounters a function and automatically compiles 
     826 it, it only compiles the functions in the file up to the named 
     827 function.  So even if sub_sup_idl was declared with 
     828 FORWARD_FUNCTION in translate_sub_super, it would not properly 
     829 compile.  
     830 
     831 The file translate_sub_super.pro contains two functions, 
     832 translate_sub_super, and sub_sup_idl.  The former is the 
     833 generic routine for processing TeX sub/superscripts, the 
     834 latter is used only by translate_sub_super and has no general 
     835 utility.  Hence it lives here.  You will see documentation for 
     836 translate_sub_super second if you use DOC_LIBRARY. 
     837 
     838 Used only by translate_sub_super.  Should be kept in same 
     839 file. 
     840 </div> 
     841         
     842          <h3>Other attributes</h3> 
     843           
     844           
     845          <h4>Uses routines</h4><div class="preformat"> 
     846 
     847</div> 
     848           
     849           
     850           
     851         
     852          <h3>Statistics</h3> 
     853          <table class="statistics"> 
     854            <tr><td>McCabe cyclic</td><td>           7</td></tr> 
     855            <tr><td>McCabe essential</td><td>           1</td></tr> 
     856            <tr><td>McCabe modular design</td><td>           1</td></tr> 
     857          </table> 
    806858           
    807859         
     
    809861         
    810862 
    811         <div class="routine_details" id="_Translate_sub_super"> 
    812  
    813           <h2><a class="top" href="#container">top</a>Translate_sub_super </h2> 
     863        <div class="routine_details" id="_translate_sub_super"> 
     864 
     865          <h2><a class="top" href="#container">top</a>translate_sub_super </h2> 
    814866         
    815867          <p class="header"> 
    816             <span class="result">result = </span>Translate_sub_super(<span class="result"><a href="#_Translate_sub_super_param_InputString">InputString</a></span>, <a href="#_Translate_sub_super_keyword_RECURSED">RECURSED</a>=<span class="result">RECURSED</span>, <a href="#_Translate_sub_super_keyword_HELP">HELP</a>=<span class="result">HELP</span>)</p> 
     868            <span class="result">result = </span>translate_sub_super(<span class="result"><a href="#_translate_sub_super_param_InputString">InputString</a></span>, <a href="#_translate_sub_super_keyword_RECURSED">RECURSED</a>=<span class="result">RECURSED</span>, <a href="#_translate_sub_super_keyword_HELP">HELP</a>=<span class="result">HELP</span>)</p> 
    817869         
    818870          <div class="comments"> 
     
    885937         
    886938             
    887             <h4 id="_Translate_sub_super_param_InputString">InputString&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
     939            <h4 id="_translate_sub_super_param_InputString">InputString&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    888940               
    889941               
     
    905957            <h3>Keywords</h3> 
    906958             
    907             <h4 id="_Translate_sub_super_keyword_RECURSED">RECURSED&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
     959            <h4 id="_translate_sub_super_keyword_RECURSED">RECURSED&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    908960               
    909961               
     
    918970            <div class="comments"></div> 
    919971             
    920             <h4 id="_Translate_sub_super_keyword_HELP">HELP&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
     972            <h4 id="_translate_sub_super_keyword_HELP">HELP&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    921973               
    922974               
     
    9541006           
    9551007         
     1008          <h3>Statistics</h3> 
     1009          <table class="statistics"> 
     1010            <tr><td>McCabe cyclic</td><td>          11</td></tr> 
     1011            <tr><td>McCabe essential</td><td>           1</td></tr> 
     1012            <tr><td>McCabe modular design</td><td>           1</td></tr> 
     1013          </table> 
    9561014           
    9571015         
Note: See TracChangeset for help on using the changeset viewer.