# HG changeset patch # User jwe # Date 947059769 0 # Node ID a020244950f93b44bcd389a370e58a66aca536ea # Parent c4ba3cada9cbc3f1dbaab2d403044376b4538d25 [project @ 2000-01-05 08:09:27 by jwe] diff -r c4ba3cada9cb -r a020244950f9 doc/interpreter/octave.texi --- a/doc/interpreter/octave.texi Wed Jan 05 06:45:01 2000 +0000 +++ b/doc/interpreter/octave.texi Wed Jan 05 08:09:29 2000 +0000 @@ -5,6 +5,14 @@ \input texinfo @setfilename octave.info +@c The following macro is used for the on-line help system, but we don't +@c want lots of `See also: foo, bar, and baz' strings cluttering the +@c printed manual (that information should be in the supporting text for +@c each symbol). + +@macro seealso {args} +@end macro + @ifinfo @format START-INFO-DIR-ENTRY diff -r c4ba3cada9cb -r a020244950f9 scripts/ChangeLog --- a/scripts/ChangeLog Wed Jan 05 06:45:01 2000 +0000 +++ b/scripts/ChangeLog Wed Jan 05 08:09:29 2000 +0000 @@ -1,3 +1,10 @@ +2000-01-05 John W. Eaton + + * set/complement.m: Add @seealso{} stuff. + * set/create_set.m: Likewise. + * set/intersection.m: Likewise. + * set/union.m: Likewise. + 1999-12-22 John W. Eaton * control/d2c.m: Use double quotes instead of single quotes for diff -r c4ba3cada9cb -r a020244950f9 scripts/set/complement.m --- a/scripts/set/complement.m Wed Jan 05 06:45:01 2000 +0000 +++ b/scripts/set/complement.m Wed Jan 05 08:09:29 2000 +0000 @@ -28,10 +28,10 @@ ## @result{} 5 ## @end group ## @end example +## +## @seealso{create_set, union, and intersection} ## @end deftypefn -## See also: create_set, union, intersection - ## Author: jwe function y = complement (a, b) diff -r c4ba3cada9cb -r a020244950f9 scripts/set/create_set.m --- a/scripts/set/create_set.m Wed Jan 05 06:45:01 2000 +0000 +++ b/scripts/set/create_set.m Wed Jan 05 08:09:29 2000 +0000 @@ -28,10 +28,10 @@ ## @result{} [ 1, 2, 3, 4 ] ## @end group ## @end example +## +## @seealso{union, intersection, and complement} ## @end deftypefn -## See also: union, intersection, complement - ## Author: jwe function y = create_set(x) diff -r c4ba3cada9cb -r a020244950f9 scripts/set/intersection.m --- a/scripts/set/intersection.m Wed Jan 05 06:45:01 2000 +0000 +++ b/scripts/set/intersection.m Wed Jan 05 08:09:29 2000 +0000 @@ -28,10 +28,10 @@ ## @result{} [ 2, 3 ] ## @end group ## @end example +## +## @seealso{create_set, union, and complement} ## @end deftypefn -## See also: create_set, union, complement - ## Author: jwe function y = intersection(a,b) diff -r c4ba3cada9cb -r a020244950f9 scripts/set/union.m --- a/scripts/set/union.m Wed Jan 05 06:45:01 2000 +0000 +++ b/scripts/set/union.m Wed Jan 05 08:09:29 2000 +0000 @@ -28,10 +28,10 @@ ## @result{} [ 1, 2, 3, 4, 5 ] ## @end group ## @end example +## +## @seealso{create_set, intersection, and complement} ## @end deftypefn -## See also: create_set, intersection, complement - ## Author: jwe function y = union(a,b) diff -r c4ba3cada9cb -r a020244950f9 src/ChangeLog --- a/src/ChangeLog Wed Jan 05 06:45:01 2000 +0000 +++ b/src/ChangeLog Wed Jan 05 08:09:29 2000 +0000 @@ -1,3 +1,8 @@ +2000-01-05 John W. Eaton + + * help.cc (display_help_text): Pass a definition for @seealso + through the filter. + 1999-12-22 John W. Eaton * lex.l (Vwarn_single_quote_string): New variable. diff -r c4ba3cada9cb -r a020244950f9 src/help.cc --- a/src/help.cc Wed Jan 05 06:45:01 2000 +0000 +++ b/src/help.cc Wed Jan 05 08:09:29 2000 +0000 @@ -632,6 +632,10 @@ if (filter) { + filter << "@macro seealso {args}\n" + << "See also: \\args\\.\n" + << "@end macro\n"; + filter << msg.substr (pos+1); filter.close ();