Mercurial > octave-nkf
comparison build-aux/mk-opts.pl @ 17513:fedcd3717ebc
doc: grammarcheck of documentation before 3.8 release.
* build-aux/mk-opts.pl: Use @qcode macro around quoted code options.
* liboctave/numeric/DASPK-opts.in, liboctave/numeric/LSODE-opts.in:
Use @qcode macro around quoted code options.
* libinterp/corefcn/module.mk, liboctave/numeric/module.mk: Option handlers
must also depend on Perl script mk-opts.pl.
* libinterp/corefcn/bitfcns.cc, scripts/help/type.m, scripts/image/imfinfo.m,
scripts/miscellaneous/dir.m, scripts/plot/stem.m, scripts/plot/stem3.m,
scripts/plot/subplot.m, scripts/specfun/expint.m: grammarcheck of documentation
before 3.8 release.
author | Rik <rik@octave.org> |
---|---|
date | Sat, 28 Sep 2013 16:54:34 -0700 |
parents | e753177cde93 |
children | d63878346099 |
comparison
equal
deleted
inserted
replaced
17512:c001cddbda66 | 17513:fedcd3717ebc |
---|---|
238 When called with two arguments, \@code{$OPT_FCN_NAME} set the option\\n\\ | 238 When called with two arguments, \@code{$OPT_FCN_NAME} set the option\\n\\ |
239 \@var{opt} to value \@var{val}."; | 239 \@var{opt} to value \@var{val}."; |
240 } | 240 } |
241 } | 241 } |
242 | 242 |
243 #FIXME: What does this routine do? And can it be simpler to understand? | 243 ## FIXME: What does this routine do? And can it be simpler to understand? |
244 sub get_min_match_len_info | 244 sub get_min_match_len_info |
245 { | 245 { |
246 my ($i, $j, $k); | 246 my ($i, $j, $k); |
247 | 247 |
248 for ($i = 0; $i < $OPT_NUM; $i++) | 248 for ($i = 0; $i < $OPT_NUM; $i++) |
922 _END_EMIT_OPTIONS_FUNCTION_HDR_ | 922 _END_EMIT_OPTIONS_FUNCTION_HDR_ |
923 # FIXME: Add extra newline above | 923 # FIXME: Add extra newline above |
924 | 924 |
925 for (my $i = 0; $i < $OPT_NUM; $i++) | 925 for (my $i = 0; $i < $OPT_NUM; $i++) |
926 { | 926 { |
927 print '@item \"', $NAME[$i], '\"\n\\', "\n"; | 927 print '@item @qcode{\"', $NAME[$i], '\"}\n\\', "\n"; |
928 print $DOC_ITEM[$i] if $DOC_ITEM[$i]; | 928 print $DOC_ITEM[$i] if $DOC_ITEM[$i]; |
929 } | 929 } |
930 | 930 |
931 print <<"_END_EMIT_OPTIONS_FUNCTION_BODY_"; | 931 print <<"_END_EMIT_OPTIONS_FUNCTION_BODY_"; |
932 \@end table\\n\\ | 932 \@end table\\n\\ |