comparison src/help.cc @ 12605:307e177dbaa8 stable

doc: Add spaces after commas in @seealso blocks. * help.cc: Also add spaces to line up @deftypefn macros
author Rik <octave@nomad.inbox5.com>
date Wed, 13 Apr 2011 21:09:03 -0700
parents 91ccd08fe80c
children f83ec5ab90ad
comparison
equal deleted inserted replaced
12601:99babbf683ff 12605:307e177dbaa8
354 @seealso{do, while}\n\ 354 @seealso{do, while}\n\
355 @end deftypefn"), 355 @end deftypefn"),
356 356
357 pair_type ("function", 357 pair_type ("function",
358 "-*- texinfo -*-\n\ 358 "-*- texinfo -*-\n\
359 @deftypefn {Keyword} {} function @var{outputs} = function (@var{input}, @dots{})\n\ 359 @deftypefn {Keyword} {} function @var{outputs} = function (@var{input}, @dots{})\n\
360 @deftypefnx {Keyword} {} function {} function (@var{input}, @dots{})\n\ 360 @deftypefnx {Keyword} {} function {} function (@var{input}, @dots{})\n\
361 @deftypefnx {Keyword} {} function @var{outputs} = function\n\ 361 @deftypefnx {Keyword} {} function @var{outputs} = function\n\
362 Begin a function body with @var{outputs} as results and @var{inputs} as\n\ 362 Begin a function body with @var{outputs} as results and @var{inputs} as\n\
363 parameters.\n\ 363 parameters.\n\
364 @seealso{return}\n\ 364 @seealso{return}\n\
380 @seealso{persistent}\n\ 380 @seealso{persistent}\n\
381 @end deftypefn"), 381 @end deftypefn"),
382 382
383 pair_type ("if", 383 pair_type ("if",
384 "-*- texinfo -*-\n\ 384 "-*- texinfo -*-\n\
385 @deftypefn {Keyword} {} if (@var{cond}) @dots{} endif\n\ 385 @deftypefn {Keyword} {} if (@var{cond}) @dots{} endif\n\
386 @deftypefnx {Keyword} {} if (@var{cond}) @dots{} else @dots{} endif\n\ 386 @deftypefnx {Keyword} {} if (@var{cond}) @dots{} else @dots{} endif\n\
387 @deftypefnx {Keyword} {} if (@var{cond}) @dots{} elseif (@var{cond}) @dots{} endif\n\ 387 @deftypefnx {Keyword} {} if (@var{cond}) @dots{} elseif (@var{cond}) @dots{} endif\n\
388 @deftypefnx {Keyword} {} if (@var{cond}) @dots{} elseif (@var{cond}) @dots{} else @dots{} endif\n\ 388 @deftypefnx {Keyword} {} if (@var{cond}) @dots{} elseif (@var{cond}) @dots{} else @dots{} endif\n\
389 Begin an if block.\n\ 389 Begin an if block.\n\
390 \n\ 390 \n\
471 \n\ 471 \n\
472 If an error occurs within a try block, then the catch code will be run and\n\ 472 If an error occurs within a try block, then the catch code will be run and\n\
473 execution will proceed after the catch block (though it is often\n\ 473 execution will proceed after the catch block (though it is often\n\
474 recommended to use the lasterr function to re-throw the error after cleanup\n\ 474 recommended to use the lasterr function to re-throw the error after cleanup\n\
475 is completed).\n\ 475 is completed).\n\
476 @seealso{catch,unwind_protect}\n\ 476 @seealso{catch, unwind_protect}\n\
477 @end deftypefn"), 477 @end deftypefn"),
478 478
479 pair_type ("until", 479 pair_type ("until",
480 "-*- texinfo -*-\n\ 480 "-*- texinfo -*-\n\
481 @deftypefn {Keyword} {} until\n\ 481 @deftypefn {Keyword} {} until\n\
492 the commands within the unwind_protect_cleanup block are executed before\n\ 492 the commands within the unwind_protect_cleanup block are executed before\n\
493 the error is thrown. If an error is not thrown, then the\n\ 493 the error is thrown. If an error is not thrown, then the\n\
494 unwind_protect_cleanup block is still executed (in other words, the\n\ 494 unwind_protect_cleanup block is still executed (in other words, the\n\
495 unwind_protect_cleanup will be run with or without an error in the\n\ 495 unwind_protect_cleanup will be run with or without an error in the\n\
496 unwind_protect block).\n\ 496 unwind_protect block).\n\
497 @seealso{unwind_protect_cleanup,try}\n\ 497 @seealso{unwind_protect_cleanup, try}\n\
498 @end deftypefn"), 498 @end deftypefn"),
499 499
500 pair_type ("unwind_protect_cleanup", 500 pair_type ("unwind_protect_cleanup",
501 "-*- texinfo -*-\n\ 501 "-*- texinfo -*-\n\
502 @deftypefn {Keyword} {} unwind_protect_cleanup\n\ 502 @deftypefn {Keyword} {} unwind_protect_cleanup\n\