comparison scripts/help/doc.m @ 9724:f22bbc5d56e9

Fix various incorrect usages of TeXinfo deffn and deftypefn macros which were causing bad entries in the function index.
author Rik <rdrider0-list@yahoo.com>
date Tue, 13 Oct 2009 21:10:37 -0700
parents eaf4e71e90e8
children 95c3e38098bf
comparison
equal deleted inserted replaced
9723:f426899f4b9c 9724:f22bbc5d56e9
15 ## You should have received a copy of the GNU General Public License 15 ## You should have received a copy of the GNU General Public License
16 ## along with Octave; see the file COPYING. If not, see 16 ## along with Octave; see the file COPYING. If not, see
17 ## <http://www.gnu.org/licenses/>. 17 ## <http://www.gnu.org/licenses/>.
18 18
19 ## -*- texinfo -*- 19 ## -*- texinfo -*-
20 ## @deftypefn {Command} doc @var{function_name} 20 ## @deffn {Command} doc @var{function_name}
21 ## Display documentation for the function @var{function_name} 21 ## Display documentation for the function @var{function_name}
22 ## directly from an on-line version of 22 ## directly from an on-line version of
23 ## the printed manual, using the GNU Info browser. If invoked without 23 ## the printed manual, using the GNU Info browser. If invoked without
24 ## any arguments, the manual is shown from the beginning. 24 ## any arguments, the manual is shown from the beginning.
25 ## 25 ##
27 ## at the @code{rand} node in the on-line version of the manual. 27 ## at the @code{rand} node in the on-line version of the manual.
28 ## 28 ##
29 ## Once the GNU Info browser is running, help for using it is available 29 ## Once the GNU Info browser is running, help for using it is available
30 ## using the command @kbd{C-h}. 30 ## using the command @kbd{C-h}.
31 ## @seealso{help} 31 ## @seealso{help}
32 ## @end deftypefn 32 ## @end deffn
33 33
34 ## Author: Soren Hauberg <soren@hauberg.org> 34 ## Author: Soren Hauberg <soren@hauberg.org>
35 ## Adapted-by: jwe 35 ## Adapted-by: jwe
36 36
37 function retval = doc (fname) 37 function retval = doc (fname)