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)

Location:
trunk/SRC/Documentation/idldoc_html_output/Textoidl
Files:
11 edited

Legend:

Unmodified
Added
Removed
  • trunk/SRC/Documentation/idldoc_html_output/Textoidl/directory-overview.html

    r157 r163  
    702702       
    703703        <dt><a href="matchdelim.html?format=raw">matchdelim.pro</a></dt> 
    704         <dd></dd> 
     704        <dd>  Match open/close delimiters in a string.</dd> 
    705705       
    706706        <dt><a href="nexttok.html?format=raw">nexttok.pro</a></dt> 
     
    714714       
    715715        <dt><a href="strcnt.html?format=raw">strcnt.pro</a></dt> 
    716         <dd></dd> 
     716        <dd>  Count number of occurrences of a substring in a string.</dd> 
    717717       
    718718        <dt><a href="strtrans.html?format=raw">strtrans.pro</a></dt> 
     
    723723       
    724724        <dt><a href="textable.html?format=raw">textable.pro</a></dt> 
    725         <dd></dd> 
     725        <dd>  Returns a translation table from TeX to IDL.</dd> 
    726726       
    727727        <dt><a href="textoidl.html?format=raw">textoidl.pro</a></dt> 
    728         <dd></dd> 
     728        <dd>  Convert a valid TeX string to a valid IDL string for plot labels.</dd> 
    729729       
    730730        <dt><a href="translate_sub_super.html?format=raw">translate_sub_super.pro</a></dt> 
    731         <dd></dd> 
     731        <dd>  Return the proper IDL font positioning command for TeX  sub/superscripts.</dd> 
    732732       
    733733      </dl> 
  • trunk/SRC/Documentation/idldoc_html_output/Textoidl/matchdelim.html

    r157 r163  
    699699      </div> 
    700700 
    701       <div id="file_comments"></div> 
     701      <div id="file_comments"> 
     702 Match open/close delimiters in a string. 
     703</div> 
    702704 
    703705       
     
    712714         
    713715 
    714         <div class="routine_details" id="_Matchdelim"> 
    715  
    716           <h2><a class="top" href="#container">top</a>Matchdelim </h2> 
     716        <div class="routine_details" id="_matchdelim"> 
     717 
     718          <h2><a class="top" href="#container">top</a>matchdelim <span class="categories"> 
     719 Text, String 
     720</span></h2> 
    717721         
    718722          <p class="header"> 
    719             <span class="result">result = </span>Matchdelim(<span class="result"><a href="#_Matchdelim_param_InString">InString</a>, <a href="#_Matchdelim_param_OpenPos">OpenPos</a></span>, <a href="#_Matchdelim_keyword_OPEN_DELIM">OPEN_DELIM</a>=<span class="result">OPEN_DELIM</span>, <a href="#_Matchdelim_keyword_CLOSE_DELIM">CLOSE_DELIM</a>=<span class="result">CLOSE_DELIM</span>, <a href="#_Matchdelim_keyword_HELP">HELP</a>=<span class="result">HELP</span>)</p> 
     723            <span class="result">result = </span>matchdelim(<span class="result"><a href="#_matchdelim_param_InString">InString</a>[, <a href="#_matchdelim_param_OpenPos">OpenPos</a>]</span>, <a href="#_matchdelim_keyword_OPEN_DELIM">OPEN_DELIM</a>=<span class="result">OPEN_DELIM</span>, <a href="#_matchdelim_keyword_CLOSE_DELIM">CLOSE_DELIM</a>=<span class="result">CLOSE_DELIM</span>, <a href="#_matchdelim_keyword_HELP">HELP</a>=<span class="result">HELP</span>)</p> 
     724         
     725          <div class="comments"></div> 
     726 
     727          <h3>Return value</h3><div class="preformat"> 
     728 
     729</div> 
     730 
     731           
     732            <h3>Parameters</h3> 
     733         
     734             
     735            <h4 id="_matchdelim_param_InString">InString&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
     736              <span class="attr">in</span> 
     737               
     738               
     739              <span class="attr">required</span> 
     740               
     741              <span class="attr">type:</span> <span class="value">string</span> 
     742               
     743               
     744            </h4> 
     745         
     746          <div class="comments">') 
     747</div> 
     748             
     749            <h4 id="_matchdelim_param_OpenPos">OpenPos&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
     750              <span class="attr">in</span> 
     751               
     752              <span class="attr">optional</span> 
     753               
     754               
     755               
     756               
     757               
     758            </h4> 
    720759         
    721760          <div class="comments"> 
    722  NAME: 
    723        MATCHDELIM 
    724  PURPOSE: 
    725         Match open/close delimiters in a string. 
    726  CATEGORY: 
    727         text/strings 
    728  CALLING SEQUENCE: 
    729         position = matchdelim( strn, [openpos]) 
    730  INPUTS: 
    731         strn        -- a string containing an open                 in 
    732                        delimiter (e.g. '{') in which you  
    733                        want to find the matching closing   
    734                        delimiter (e.g. '}') 
    735  KEYWORD PARAMETERS: 
    736         OPEN_DELIM  -- A single character containing the opening   in 
    737                        delimiter (e.g. '(').  Default is '{' 
    738         CLOSE_DELIM -- A single character containing the closing   in 
    739                        delimiter (e.g. ')').  Default is '}' 
    740  OUTPUTS: 
    741         position -- returns the position in strn of the            out 
    742                     closing delimiter, -1 if no closing found. 
    743         openpos  -- Set to a named variable to receive the         out 
    744                     position of the first opening delimiter. 
    745                     Optional. 
    746  COMMON BLOCKS: 
    747  SIDE EFFECTS: 
    748  NOTES: 
    749         - Any pair of (nonidentical) characters can be used as 
    750           delimiters.  
    751  EXAMPLE: 
    752         matchdelim('{one{two}}three') returns 9, the character just 
    753         before 'three'.   
    754  MODIFICATION HISTORY: 
    755        $Id: matchdelim.pro 134 2006-07-07 10:19:08Z navarro $ 
    756        $Log: matchdelim.pro,v $ 
    757        Revision 1.3  1996/06/14 20:00:27  mcraig 
    758        Updated Copyright info. 
    759  
    760        Revision 1.2  1996/05/09 00:22:17  mcraig 
    761        Removed restriction that open delim must be first char.  Added argument 
    762        to allow for return of position of open delim. 
    763  
    764        Revision 1.1  1996/01/31 18:41:06  mcraig 
    765        Initial revision 
    766  
    767  RELEASE: 
    768        $Name: Rel_2_1_2 $ 
    769  
    770  COPYRIGHT: 
    771   Copyright (C) 1996 The Regents of the University of California, All 
    772   Rights Reserved.  Written by Matthew W. Craig. 
    773   See the file COPYRIGHT for restrictions on distrubting this code. 
    774   This code comes with absolutely NO warranty; see DISCLAIMER for details.</div> 
    775  
    776            
    777  
    778            
    779             <h3>Parameters</h3> 
    780          
    781              
    782             <h4 id="_Matchdelim_param_InString">InString&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    783                
    784                
    785                
    786                
    787                
    788                
    789                
    790                
    791             </h4> 
    792          
    793           <div class="comments"></div> 
    794              
    795             <h4 id="_Matchdelim_param_OpenPos">OpenPos&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    796                
    797                
    798                
    799                
    800                
    801                
    802                
    803                
    804             </h4> 
    805          
    806           <div class="comments"></div> 
     761 Set to a named variable to receive the 
     762 position of the first opening delimiter. 
     763</div> 
    807764             
    808765 
     
    813770            <h3>Keywords</h3> 
    814771             
    815             <h4 id="_Matchdelim_keyword_OPEN_DELIM">OPEN_DELIM&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
     772            <h4 id="_matchdelim_keyword_OPEN_DELIM">OPEN_DELIM&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
     773               
     774               
     775               
     776               
     777               
     778               
     779              <span class="attr">default:</span> <span class="value">'{'</span> 
     780               
     781            </h4> 
     782         
     783            <div class="comments"> 
     784 A single character containing the opening 
     785 delimiter (e.g. '('). 
     786</div> 
     787             
     788            <h4 id="_matchdelim_keyword_CLOSE_DELIM">CLOSE_DELIM&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
     789               
     790               
     791               
     792               
     793               
     794               
     795              <span class="attr">default:</span> <span class="value">'</span> 
     796               
     797            </h4> 
     798         
     799            <div class="comments">'} 
     800 A single character containing the closing  
     801 delimiter (e.g. ')'). 
     802</div> 
     803             
     804            <h4 id="_matchdelim_keyword_HELP">HELP&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    816805               
    817806               
     
    826815            <div class="comments"></div> 
    827816             
    828             <h4 id="_Matchdelim_keyword_CLOSE_DELIM">CLOSE_DELIM&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    829                
    830                
    831                
    832                
    833                
    834                
    835                
    836                
    837             </h4> 
    838          
    839             <div class="comments"></div> 
    840              
    841             <h4 id="_Matchdelim_keyword_HELP">HELP&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    842                
    843                
    844                
    845                
    846                
    847                
    848                
    849                
    850             </h4> 
    851          
    852             <div class="comments"></div> 
    853              
    854            
    855  
    856            
    857            
    858            
    859            
    860            
    861            
    862            
    863            
    864            
    865            
    866            
    867            
    868          
    869            
    870            
    871            
    872            
    873            
    874            
    875            
    876          
     817           
     818 
     819          <h3>Examples</h3><div class="preformat"> 
     820 matchdelim('{one{two}}three') returns 9, the character just before 'three'. 
     821</div> 
     822          <h3>Version history</h3> 
     823           
     824          <h4>Version</h4><div class="preformat"> 
     825 $Id: matchdelim.pro 134 2006-07-07 10:19:08Z navarro $</div> 
     826          <h4>History</h4><div class="preformat"> 
     827 $Log: matchdelim.pro,v $ 
     828 Revision 1.3  1996/06/14 20:00:27  mcraig 
     829 Updated Copyright info. 
     830 
     831 Revision 1.2  1996/05/09 00:22:17  mcraig 
     832 Removed restriction that open delim must be first char.  Added argument 
     833 to allow for return of position of open delim. 
     834 
     835 Revision 1.1  1996/01/31 18:41:06  mcraig 
     836 Initial revision; 
     837 
     838 Copyright (C) 1996 The Regents of the University of California, All 
     839 Rights Reserved.  Written by Matthew W. Craig. 
     840 See the file COPYRIGHT for restrictions on distrubting this code. 
     841 This code comes with absolutely NO warranty; see DISCLAIMER for details. 
     842</div> 
     843           
     844           
     845          <h3>Known issues</h3> 
     846           
     847           
     848           
     849          <h4>Restrictions</h4><div class="preformat"> 
     850 Any pair of (nonidentical) characters can be used as delimiters. 
     851</div> 
     852         
     853          <h3>Other attributes</h3> 
     854           
     855           
     856          <h4>Uses routines</h4><div class="preformat"> 
     857 
     858</div> 
     859           
     860           
     861           
     862         
     863          <h3>Statistics</h3> 
     864          <table class="statistics"> 
     865            <tr><td>McCabe cyclic</td><td>           8</td></tr> 
     866            <tr><td>McCabe essential</td><td>           1</td></tr> 
     867            <tr><td>McCabe modular design</td><td>           1</td></tr> 
     868          </table> 
    877869           
    878870         
  • trunk/SRC/Documentation/idldoc_html_output/Textoidl/nexttok.html

    r157 r163  
    858858           
    859859         
     860          <h3>Statistics</h3> 
     861          <table class="statistics"> 
     862            <tr><td>McCabe cyclic</td><td>           5</td></tr> 
     863            <tr><td>McCabe essential</td><td>           1</td></tr> 
     864            <tr><td>McCabe modular design</td><td>           1</td></tr> 
     865          </table> 
    860866           
    861867         
  • trunk/SRC/Documentation/idldoc_html_output/Textoidl/showtex.html

    r157 r163  
    712712         
    713713 
    714         <div class="routine_details" id="_Showtex"> 
    715  
    716           <h2><a class="top" href="#container">top</a>Showtex </h2> 
     714        <div class="routine_details" id="_showtex"> 
     715 
     716          <h2><a class="top" href="#container">top</a>showtex </h2> 
    717717         
    718718          <p class="header"> 
    719             Showtex, <a href="#_Showtex_keyword_FONT">FONT</a>=<span class="result">FONT</span>, <a href="#_Showtex_keyword_HELP">HELP</a>=<span class="result">HELP</span></p> 
     719            showtex, <a href="#_showtex_keyword_FONT">FONT</a>=<span class="result">FONT</span>, <a href="#_showtex_keyword_HELP">HELP</a>=<span class="result">HELP</span></p> 
    720720         
    721721          <div class="comments"> 
     
    774774            <h3>Keywords</h3> 
    775775             
    776             <h4 id="_Showtex_keyword_FONT">FONT&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
     776            <h4 id="_showtex_keyword_FONT">FONT&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    777777               
    778778               
     
    787787            <div class="comments"></div> 
    788788             
    789             <h4 id="_Showtex_keyword_HELP">HELP&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
     789            <h4 id="_showtex_keyword_HELP">HELP&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    790790               
    791791               
     
    823823           
    824824         
     825          <h3>Statistics</h3> 
     826          <table class="statistics"> 
     827            <tr><td>McCabe cyclic</td><td>           9</td></tr> 
     828            <tr><td>McCabe essential</td><td>           1</td></tr> 
     829            <tr><td>McCabe modular design</td><td>           1</td></tr> 
     830          </table> 
    825831           
    826832         
  • trunk/SRC/Documentation/idldoc_html_output/Textoidl/str_token.html

    r157 r163  
    712712         
    713713 
    714         <div class="routine_details" id="_Str_token"> 
    715  
    716           <h2><a class="top" href="#container">top</a>Str_token </h2> 
     714        <div class="routine_details" id="_str_token"> 
     715 
     716          <h2><a class="top" href="#container">top</a>str_token </h2> 
    717717         
    718718          <p class="header"> 
    719             <span class="result">result = </span>Str_token(<span class="result"><a href="#_Str_token_param_string">string</a>, <a href="#_Str_token_param_token">token</a></span>, <a href="#_Str_token_keyword_TRIM">TRIM</a>=<span class="result">TRIM</span>, <a href="#_Str_token_keyword_HELP">HELP</a>=<span class="result">HELP</span>)</p> 
     719            <span class="result">result = </span>str_token(<span class="result"><a href="#_str_token_param_string">string</a>, <a href="#_str_token_param_token">token</a></span>, <a href="#_str_token_keyword_TRIM">TRIM</a>=<span class="result">TRIM</span>, <a href="#_str_token_keyword_HELP">HELP</a>=<span class="result">HELP</span>)</p> 
    720720         
    721721          <div class="comments"> 
     
    785785         
    786786             
    787             <h4 id="_Str_token_param_string">string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
     787            <h4 id="_str_token_param_string">string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    788788               
    789789               
     
    798798          <div class="comments"></div> 
    799799             
    800             <h4 id="_Str_token_param_token">token&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
     800            <h4 id="_str_token_param_token">token&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    801801               
    802802               
     
    818818            <h3>Keywords</h3> 
    819819             
    820             <h4 id="_Str_token_keyword_TRIM">TRIM&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
     820            <h4 id="_str_token_keyword_TRIM">TRIM&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    821821               
    822822               
     
    831831            <div class="comments"></div> 
    832832             
    833             <h4 id="_Str_token_keyword_HELP">HELP&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
     833            <h4 id="_str_token_keyword_HELP">HELP&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    834834               
    835835               
     
    867867           
    868868         
     869          <h3>Statistics</h3> 
     870          <table class="statistics"> 
     871            <tr><td>McCabe cyclic</td><td>           4</td></tr> 
     872            <tr><td>McCabe essential</td><td>           1</td></tr> 
     873            <tr><td>McCabe modular design</td><td>           1</td></tr> 
     874          </table> 
    869875           
    870876         
  • trunk/SRC/Documentation/idldoc_html_output/Textoidl/strcnt.html

    r157 r163  
    699699      </div> 
    700700 
    701       <div id="file_comments"></div> 
     701      <div id="file_comments"> 
     702 Count number of occurrences of a substring in a string. 
     703</div> 
    702704 
    703705       
     
    712714         
    713715 
    714         <div class="routine_details" id="_Strcnt"> 
    715  
    716           <h2><a class="top" href="#container">top</a>Strcnt </h2> 
     716        <div class="routine_details" id="_strcnt"> 
     717 
     718          <h2><a class="top" href="#container">top</a>strcnt <span class="categories"> 
     719 Text, String 
     720</span></h2> 
    717721         
    718722          <p class="header"> 
    719             <span class="result">result = </span>Strcnt(<span class="result"><a href="#_Strcnt_param_strn">strn</a>, <a href="#_Strcnt_param_substrn">substrn</a>, <a href="#_Strcnt_param_startpos">startpos</a></span>, <a href="#_Strcnt_keyword_HELP">HELP</a>=<span class="result">HELP</span>)</p> 
     723            <span class="result">result = </span>strcnt(<span class="result"><a href="#_strcnt_param_strn">strn</a>, <a href="#_strcnt_param_substrn">substrn</a>, <a href="#_strcnt_param_startpos">startpos</a></span>, <a href="#_strcnt_keyword_HELP">HELP</a>=<span class="result">HELP</span>)</p> 
     724         
     725          <div class="comments"></div> 
     726 
     727          <h3>Return value</h3><div class="preformat"> 
     728 Number of occurances of substring in string. 
     729</div> 
     730 
     731           
     732            <h3>Parameters</h3> 
     733         
     734             
     735            <h4 id="_strcnt_param_strn">strn&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
     736              <span class="attr">in</span> 
     737               
     738               
     739              <span class="attr">required</span> 
     740               
     741              <span class="attr">type:</span> <span class="value">string</span> 
     742               
     743               
     744            </h4> 
    720745         
    721746          <div class="comments"> 
    722  NAME: 
    723        STRCNT 
    724  PURPOSE: 
    725        Count number of occurrences of a substring in a string. 
    726  CATEGORY: 
    727        text/strings 
    728  CALLING SEQUENCE: 
    729        num = strcnt(strn, substring, [pos]) 
    730  INPUTS: 
    731        string    -- The string in which to count occurences.     in 
    732        substring -- The substring to count occurrences of.       in 
    733        pos       -- the position at which to begin the search.   [in] 
    734                     If not supplied, start at beginning of 
    735                     string. 
    736  KEYWORD PARAMETERS: 
    737        /HELP     -- Print useful message and return. 
    738  OUTPUTS: 
    739        num       -- Number of occurances of substring in string. out 
    740  COMMON BLOCKS: 
    741  SIDE EFFECTS: 
    742  NOTES: 
    743        Overlapping occurances are not counted separately.  For 
    744        example, counting occurances of 'bb' in 'blah bbb' returns one 
    745        occurance.  
    746  EXAMPLE: 
    747  MODIFICATION HISTORY: 
    748        $Id: strcnt.pro 134 2006-07-07 10:19:08Z navarro $ 
     747 The string in which to count occurences. 
     748</div> 
     749             
     750            <h4 id="_strcnt_param_substrn">substrn&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
     751              <span class="attr">in</span> 
     752               
     753               
     754              <span class="attr">required</span> 
     755               
     756              <span class="attr">type:</span> <span class="value">string</span> 
     757               
     758               
     759            </h4> 
     760         
     761          <div class="comments"> 
     762 The substring to count occurrences of. 
     763</div> 
     764             
     765            <h4 id="_strcnt_param_startpos">startpos&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
     766              <span class="attr">in</span> 
     767               
     768               
     769              <span class="attr">required</span> 
     770               
     771               
     772               
     773               
     774            </h4> 
     775         
     776          <div class="comments"> 
     777 The position at which to begin the search. 
     778 If not supplied, start at beginning of string. 
     779</div> 
     780             
     781 
     782           
     783 
     784           
     785 
     786            <h3>Keywords</h3> 
     787             
     788            <h4 id="_strcnt_keyword_HELP">HELP&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
     789               
     790               
     791               
     792               
     793               
     794               
     795               
     796               
     797            </h4> 
     798         
     799            <div class="comments"> 
     800 Print useful message and return. 
     801</div> 
     802             
     803           
     804 
     805           
     806          <h3>Version history</h3> 
     807           
     808          <h4>Version</h4><div class="preformat"> 
     809 $Id: strcnt.pro 134 2006-07-07 10:19:08Z navarro $</div> 
     810          <h4>History</h4><div class="preformat"> 
    749811       $Log: strcnt.pro,v $ 
    750812       Revision 1.3  1996/06/14 20:00:27  mcraig 
     
    758820       Initial revision 
    759821 
    760  RELEASE: 
    761        $Name: Rel_2_1_2 $ 
    762  
    763  COPYRIGHT: 
    764822  Copyright (C) 1996 The Regents of the University of California, All 
    765823  Rights Reserved.  Written by Matthew W. Craig. 
    766824  See the file COPYRIGHT for restrictions on distrubting this code. 
    767   This code comes with absolutely NO warranty; see DISCLAIMER for details.</div> 
    768  
    769            
    770  
    771            
    772             <h3>Parameters</h3> 
    773          
    774              
    775             <h4 id="_Strcnt_param_strn">strn&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    776                
    777                
    778                
    779                
    780                
    781                
    782                
    783                
    784             </h4> 
    785          
    786           <div class="comments"></div> 
    787              
    788             <h4 id="_Strcnt_param_substrn">substrn&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    789                
    790                
    791                
    792                
    793                
    794                
    795                
    796                
    797             </h4> 
    798          
    799           <div class="comments"></div> 
    800              
    801             <h4 id="_Strcnt_param_startpos">startpos&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    802                
    803                
    804                
    805                
    806                
    807                
    808                
    809                
    810             </h4> 
    811          
    812           <div class="comments"></div> 
    813              
    814  
    815            
    816  
    817            
    818  
    819             <h3>Keywords</h3> 
    820              
    821             <h4 id="_Strcnt_keyword_HELP">HELP&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    822                
    823                
    824                
    825                
    826                
    827                
    828                
    829                
    830             </h4> 
    831          
    832             <div class="comments"></div> 
    833              
    834            
    835  
    836            
    837            
    838            
    839            
    840            
    841            
    842            
    843            
    844            
    845            
    846            
    847            
    848          
    849            
    850            
    851            
    852            
    853            
    854            
    855            
    856          
     825  This code comes with absolutely NO warranty; see DISCLAIMER for details. 
     826</div> 
     827           
     828           
     829          <h3>Known issues</h3> 
     830           
     831           
     832           
     833          <h4>Restrictions</h4><div class="preformat"> 
     834 Overlapping occurances are not counted separately.  For 
     835 example, counting occurances of 'bb' in 'blah bbb' returns one 
     836 occurance.  
     837</div> 
     838         
     839           
     840           
     841           
     842           
     843           
     844           
     845           
     846         
     847          <h3>Statistics</h3> 
     848          <table class="statistics"> 
     849            <tr><td>McCabe cyclic</td><td>           7</td></tr> 
     850            <tr><td>McCabe essential</td><td>           1</td></tr> 
     851            <tr><td>McCabe modular design</td><td>           1</td></tr> 
     852          </table> 
    857853           
    858854         
  • trunk/SRC/Documentation/idldoc_html_output/Textoidl/strtrans.html

    r157 r163  
    891891           
    892892         
     893          <h3>Statistics</h3> 
     894          <table class="statistics"> 
     895            <tr><td>McCabe cyclic</td><td>           8</td></tr> 
     896            <tr><td>McCabe essential</td><td>           1</td></tr> 
     897            <tr><td>McCabe modular design</td><td>           1</td></tr> 
     898          </table> 
    893899           
    894900         
  • trunk/SRC/Documentation/idldoc_html_output/Textoidl/sub_sup_idl.html

    r157 r163  
    814814           
    815815         
     816          <h3>Statistics</h3> 
     817          <table class="statistics"> 
     818            <tr><td>McCabe cyclic</td><td>           6</td></tr> 
     819            <tr><td>McCabe essential</td><td>           1</td></tr> 
     820            <tr><td>McCabe modular design</td><td>           1</td></tr> 
     821          </table> 
    816822           
    817823         
  • trunk/SRC/Documentation/idldoc_html_output/Textoidl/textable.html

    r157 r163  
    699699      </div> 
    700700 
    701       <div id="file_comments"></div> 
     701      <div id="file_comments"> 
     702 Returns a translation table from TeX to IDL. 
     703</div> 
    702704 
    703705       
     
    714716        <div class="routine_details" id="_textable"> 
    715717 
    716           <h2><a class="top" href="#container">top</a>textable </h2> 
     718          <h2><a class="top" href="#container">top</a>textable <span class="categories"> 
     719 Text, String 
     720</span></h2> 
    717721         
    718722          <p class="header"> 
    719723            <span class="result">result = </span>textable(<a href="#_textable_keyword_POSTSCRIPT">POSTSCRIPT</a>=<span class="result">POSTSCRIPT</span>, <a href="#_textable_keyword_VECTOR">VECTOR</a>=<span class="result">VECTOR</span>, <a href="#_textable_keyword_HELP">HELP</a>=<span class="result">HELP</span>)</p> 
    720724         
    721           <div class="comments"> 
    722  NAME: 
    723        TEXTABLE 
    724  PURPOSE: 
    725        Returns a translation table from TeX to IDL. 
    726  CATEGORY: 
    727        text/strings 
    728  CALLING SEQUENCE: 
    729        table = textable() 
    730  INPUTS: 
    731        None 
    732  KEYWORD PARAMETERS: 
    733        /POSTSCRIPT -- If set, return postscript translation 
    734                       table rather than vector fonts table. 
    735                       Default is translations for vector 
    736                       fonts. 
    737        /HELP       -- Print help and exit. 
    738  OUTPUTS: 
    739        table -- a 2D text array.  table(0,*) contains          out 
    740                 the words to be translated away, table(1,*) 
    741                 contains the words to translate them to.    
    742  COMMON BLOCKS: 
    743  SIDE EFFECTS: 
    744  NOTES: 
    745        To find out what TeX sequences are available, look at 
    746        table(0,*). 
    747  EXAMPLE: 
    748  MODIFICATION HISTORY: 
    749        $Id: textable.pro 134 2006-07-07 10:19:08Z navarro $ 
     725          <div class="comments"></div> 
     726 
     727          <h3>Return value</h3><div class="preformat"> 
     728 a 2D text array.  table(0,*) contains the words to be translated away, table(1,*) 
     729 contains the words to translate them to. 
     730</div> 
     731 
     732           
     733 
     734           
     735 
     736            <h3>Keywords</h3> 
     737             
     738            <h4 id="_textable_keyword_POSTSCRIPT">POSTSCRIPT&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
     739               
     740               
     741               
     742               
     743               
     744               
     745               
     746               
     747            </h4> 
     748         
     749            <div class="comments"> 
     750 If set, return postscript translation 
     751 table rather than vector fonts table. 
     752 Default is translations for vector fonts. 
     753</div> 
     754             
     755            <h4 id="_textable_keyword_VECTOR">VECTOR&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
     756               
     757               
     758               
     759               
     760               
     761               
     762               
     763               
     764            </h4> 
     765         
     766            <div class="comments"> 
     767 
     768</div> 
     769             
     770            <h4 id="_textable_keyword_HELP">HELP&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
     771               
     772               
     773               
     774               
     775               
     776               
     777               
     778               
     779            </h4> 
     780         
     781            <div class="comments"> 
     782 Print help and exit. 
     783</div> 
     784             
     785           
     786 
     787           
     788          <h3>Version history</h3> 
     789           
     790          <h4>Version</h4><div class="preformat"> 
     791 $Id: textable.pro 134 2006-07-07 10:19:08Z navarro $</div> 
     792          <h4>History</h4><div class="preformat"> 
    750793       $Log: textable.pro,v $ 
    751794       Revision 1.8  2004/06/15 17:25:54  mcraig 
     
    753796 
    754797       Revision 1.7  1996/07/22 23:56:08  mcraig 
    755        Added \vartheta. 
     798       Added vartheta. 
    756799 
    757800       Revision 1.6  1996/07/12 21:31:42  mcraig 
    758        Fixed \varphi in vector font, added \circ. 
     801       Fixed varphi in vector font, added circ. 
    759802 
    760803       Revision 1.5  1996/06/14 20:00:27  mcraig 
     
    766809 
    767810       Revision 1.3  1996/02/08 19:49:35  mcraig 
    768        Removed control sequence \perp because the postscript code for it is '^'. 
     811       Removed control sequence perp because the postscript code for it is '^'. 
    769812 
    770813       Revision 1.2  1996/02/08 18:53:38  mcraig 
     
    775818       Initial revision 
    776819 
    777  RELEASE: 
    778        $Name: Rel_2_1_2 $ 
    779  
    780  COPYRIGHT: 
    781820  Copyright (C) 1996 The Regents of the University of California, All 
    782821  Rights Reserved.  Written by Matthew W. Craig. 
    783822  See the file COPYRIGHT for restrictions on distrubting this code. 
    784   This code comes with absolutely NO warranty; see DISCLAIMER for details.</div> 
    785  
    786            
    787  
    788            
    789  
    790            
    791  
    792             <h3>Keywords</h3> 
    793              
    794             <h4 id="_textable_keyword_POSTSCRIPT">POSTSCRIPT&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    795                
    796                
    797                
    798                
    799                
    800                
    801                
    802                
    803             </h4> 
    804          
    805             <div class="comments"></div> 
    806              
    807             <h4 id="_textable_keyword_VECTOR">VECTOR&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    808                
    809                
    810                
    811                
    812                
    813                
    814                
    815                
    816             </h4> 
    817          
    818             <div class="comments"></div> 
    819              
    820             <h4 id="_textable_keyword_HELP">HELP&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    821                
    822                
    823                
    824                
    825                
    826                
    827                
    828                
    829             </h4> 
    830          
    831             <div class="comments"></div> 
    832              
    833            
    834  
    835            
    836            
    837            
    838            
    839            
    840            
    841            
    842            
    843            
    844            
    845            
    846            
    847          
    848            
    849            
    850            
    851            
    852            
    853            
    854            
    855          
     823  This code comes with absolutely NO warranty; see DISCLAIMER for details. 
     824</div> 
     825           
     826           
     827          <h3>Known issues</h3> 
     828           
     829           
     830           
     831          <h4>Restrictions</h4><div class="preformat"> 
     832 To find out what TeX sequences are available, look at table(0,*). 
     833</div> 
     834         
     835           
     836           
     837           
     838           
     839           
     840           
     841           
     842         
     843          <h3>Statistics</h3> 
     844          <table class="statistics"> 
     845            <tr><td>McCabe cyclic</td><td>           3</td></tr> 
     846            <tr><td>McCabe essential</td><td>           1</td></tr> 
     847            <tr><td>McCabe modular design</td><td>           1</td></tr> 
     848          </table> 
    856849           
    857850         
  • trunk/SRC/Documentation/idldoc_html_output/Textoidl/textoidl.html

    r157 r163  
    699699      </div> 
    700700 
    701       <div id="file_comments"></div> 
     701      <div id="file_comments"> 
     702 Convert a valid TeX string to a valid IDL string for plot labels. 
     703</div> 
    702704 
    703705       
     
    712714         
    713715 
    714         <div class="routine_details" id="_Textoidl"> 
    715  
    716           <h2><a class="top" href="#container">top</a>Textoidl </h2> 
     716        <div class="routine_details" id="_textoidl"> 
     717 
     718          <h2><a class="top" href="#container">top</a>textoidl <span class="categories"> 
     719 Text, String 
     720</span></h2> 
    717721         
    718722          <p class="header"> 
    719             <span class="result">result = </span>Textoidl(<span class="result"><a href="#_Textoidl_param_InputString">InputString</a></span>, <a href="#_Textoidl_keyword_FONT">FONT</a>=<span class="result">FONT</span>, <a href="#_Textoidl_keyword_HELP">HELP</a>=<span class="result">HELP</span>, <a href="#_Textoidl_keyword_TEX_SEQUENCES">TEX_SEQUENCES</a>=<span class="result">TEX_SEQUENCES</span>)</p> 
     723            <span class="result">result = </span>textoidl(<span class="result"><a href="#_textoidl_param_InputString">InputString</a></span>, <a href="#_textoidl_keyword_FONT">FONT</a>=<span class="result">FONT</span>, <a href="#_textoidl_keyword_HELP">HELP</a>=<span class="result">HELP</span>, <a href="#_textoidl_keyword_TEX_SEQUENCES">TEX_SEQUENCES</a>=<span class="result">TEX_SEQUENCES</span>)</p> 
     724         
     725          <div class="comments"></div> 
     726 
     727           
     728 
     729           
     730            <h3>Parameters</h3> 
     731         
     732             
     733            <h4 id="_textoidl_param_InputString">InputString&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
     734              <span class="attr">in</span> 
     735               
     736               
     737              <span class="attr">required</span> 
     738               
     739               
     740               
     741               
     742            </h4> 
    720743         
    721744          <div class="comments"> 
    722  NAME: 
    723        TEXTOIDL 
    724  PURPOSE: 
    725        Convert a valid TeX string to a valid IDL string for plot labels. 
    726  CATEGORY: 
    727        text/strings 
    728  CALLING SEQUENCE: 
    729        new = textoidl(old) 
    730  INPUTS: 
    731        old            -- TeX string to be converted.  Will not be     in 
    732                          modified.  old may be a string array. 
    733  KEYWORD PARAMETERS: 
    734        FONT           -- Set to 0 to use hardware font, -1 to use  
    735                          vector.  Note that the only hardware font  
    736                          supported is PostScript. 
    737        /TEX_SEQUENCES -- return the available TeX sequences 
    738        /HELP          -- print out info on use of the function 
    739                          and exit. 
    740  OUTPUTS: 
    741        new            -- IDL string corresponding to old.             out 
    742  COMMON BLOCKS: 
    743  SIDE EFFECTS: 
    744  NOTES: 
     745 TeX string to be converted.  Will not be modified.  old may be a string array. 
     746</div> 
     747             
     748 
     749           
     750 
     751           
     752 
     753            <h3>Keywords</h3> 
     754             
     755            <h4 id="_textoidl_keyword_FONT">FONT&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
     756               
     757               
     758               
     759               
     760               
     761               
     762               
     763               
     764            </h4> 
     765         
     766            <div class="comments"> 
     767 Set to 0 to use hardware font, -1 to use  
     768 vector.  Note that the only hardware font  
     769 supported is PostScript. 
     770</div> 
     771             
     772            <h4 id="_textoidl_keyword_HELP">HELP&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
     773               
     774               
     775               
     776               
     777               
     778               
     779               
     780               
     781            </h4> 
     782         
     783            <div class="comments"> 
     784 print out info on use of the function and exit. 
     785</div> 
     786             
     787            <h4 id="_textoidl_keyword_TEX_SEQUENCES">TEX_SEQUENCES&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
     788               
     789               
     790               
     791               
     792               
     793               
     794               
     795               
     796            </h4> 
     797         
     798            <div class="comments"> 
     799 return the available TeX sequences 
     800</div> 
     801             
     802           
     803 
     804          <h3>Examples</h3><div class="preformat"> 
     805       out = TeXtoIDL('Gamma^2 + 5N_{ed}') 
     806       The string out may be used in XYOUTS or other IDL text 
     807       display routines.  It will be an uppercase Gamma, with an 
     808       exponent of 2, then a plus sign, then an N with the subscript 
     809       ed. 
     810</div> 
     811          <h3>Version history</h3> 
     812           
     813          <h4>Version</h4><div class="preformat"> 
     814 $Id: textoidl.pro 134 2006-07-07 10:19:08Z navarro $</div> 
     815          <h4>History</h4><div class="preformat"> 
     816       $Log: textoidl.pro,v $ 
     817       Revision 1.7  2004/06/15 17:25:54  mcraig 
     818       Fixed bug in regular expression, changed array notation to square brackets 
     819 
     820       Revision 1.6  2004/01/11 01:49:00  mcraig 
     821       Changed format of one array to newer [] style to avoidf conflict with function name in astro library. 
     822 
     823       Revision 1.5  2001/11/23 21:10:55  mcraig 
     824       Added backslash '' to tex sequences in translation table to protect them during regexp search in strsplit. 
     825 
     826       Revision 1.4  1996/06/14 20:00:27  mcraig 
     827       Updated Copyright info. 
     828 
     829       Revision 1.3  1996/05/09 00:22:17  mcraig 
     830       Added error handling, cleaned up documentation. 
     831 
     832       Revision 1.2  1996/02/08 18:52:50  mcraig 
     833       Added ability to use hardware fonts for PostScript device. 
     834 
     835       Revision 1.1  1996/01/31 18:47:37  mcraig 
     836       Initial revision 
     837 
     838  Copyright (C) 1996 The Regents of the University of California, All 
     839  Rights Reserved.  Written by Matthew W. Craig. 
     840  See the file COPYRIGHT for restrictions on distrubting this code. 
     841  This code comes with absolutely NO warranty; see DISCLAIMER for details. 
     842</div> 
     843           
     844           
     845          <h3>Known issues</h3> 
     846           
     847           
     848           
     849          <h4>Restrictions</h4><div class="preformat"> 
    745850       - Use the procedure SHOWTEX to get a list of the available TeX 
    746851         control sequences.   
     
    751856       - The FONT keyword overrides the font selected' 
    752857         by !p.font' 
    753  EXAMPLE: 
    754        out = TeXtoIDL('\Gamma^2 + 5N_{ed}') 
    755        The string out may be used in XYOUTS or other IDL text 
    756        display routines.  It will be an uppercase Gamma, with an 
    757        exponent of 2, then a plus sign, then an N with the subscript 
    758        ed. 
    759  MODIFICATION HISTORY: 
    760        $Id: textoidl.pro 134 2006-07-07 10:19:08Z navarro $ 
    761        $Log: textoidl.pro,v $ 
    762        Revision 1.7  2004/06/15 17:25:54  mcraig 
    763        Fixed bug in regular expression, changed array notation to square brackets 
    764  
    765        Revision 1.6  2004/01/11 01:49:00  mcraig 
    766        Changed format of one array to newer [] style to avoidf conflict with function name in astro library. 
    767  
    768        Revision 1.5  2001/11/23 21:10:55  mcraig 
    769        Added backslash '\' to tex sequences in translation table to protect them during regexp search in strsplit. 
    770  
    771        Revision 1.4  1996/06/14 20:00:27  mcraig 
    772        Updated Copyright info. 
    773  
    774        Revision 1.3  1996/05/09 00:22:17  mcraig 
    775        Added error handling, cleaned up documentation. 
    776  
    777        Revision 1.2  1996/02/08 18:52:50  mcraig 
    778        Added ability to use hardware fonts for PostScript device. 
    779  
    780        Revision 1.1  1996/01/31 18:47:37  mcraig 
    781        Initial revision 
    782  
    783  RELEASE: 
    784        $Name: Rel_2_1_2 $ 
    785  
    786  COPYRIGHT: 
    787   Copyright (C) 1996 The Regents of the University of California, All 
    788   Rights Reserved.  Written by Matthew W. Craig. 
    789   See the file COPYRIGHT for restrictions on distrubting this code. 
    790   This code comes with absolutely NO warranty; see DISCLAIMER for details.</div> 
    791  
    792            
    793  
    794            
    795             <h3>Parameters</h3> 
    796          
    797              
    798             <h4 id="_Textoidl_param_InputString">InputString&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    799                
    800                
    801                
    802                
    803                
    804                
    805                
    806                
    807             </h4> 
    808          
    809           <div class="comments"></div> 
    810              
    811  
    812            
    813  
    814            
    815  
    816             <h3>Keywords</h3> 
    817              
    818             <h4 id="_Textoidl_keyword_FONT">FONT&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    819                
    820                
    821                
    822                
    823                
    824                
    825                
    826                
    827             </h4> 
    828          
    829             <div class="comments"></div> 
    830              
    831             <h4 id="_Textoidl_keyword_HELP">HELP&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    832                
    833                
    834                
    835                
    836                
    837                
    838                
    839                
    840             </h4> 
    841          
    842             <div class="comments"></div> 
    843              
    844             <h4 id="_Textoidl_keyword_TEX_SEQUENCES">TEX_SEQUENCES&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    845                
    846                
    847                
    848                
    849                
    850                
    851                
    852                
    853             </h4> 
    854          
    855             <div class="comments"></div> 
    856              
    857            
    858  
    859            
    860            
    861            
    862            
    863            
    864            
    865            
    866            
    867            
    868            
    869            
    870            
    871          
    872            
    873            
    874            
    875            
    876            
    877            
    878            
    879          
     858</div> 
     859         
     860           
     861           
     862           
     863           
     864           
     865           
     866           
     867         
     868          <h3>Statistics</h3> 
     869          <table class="statistics"> 
     870            <tr><td>McCabe cyclic</td><td>           8</td></tr> 
     871            <tr><td>McCabe essential</td><td>           1</td></tr> 
     872            <tr><td>McCabe modular design</td><td>           1</td></tr> 
     873          </table> 
    880874           
    881875         
  • 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.