# HG changeset patch # User jwe # Date 947040851 0 # Node ID 1b782f9cecfe15f3e4fef121e64eddd46ae8f3db # Parent 18366d37e7dd22cd5070c2da7b6107680a0b8575 [project @ 2000-01-05 02:54:11 by jwe] diff --git a/doc/ChangeLog b/doc/ChangeLog --- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -1,3 +1,9 @@ +2000-01-04 John W. Eaton + + * interpreter/munge-texi.cc (process_texi_input_file): For Texinfo + doc strings, automatically insert an @anchor{doc-SYMBOL} command + just before the docstring for SYMBOL. + 1999-12-09 John W. Eaton * interpreter/munge-texi.cc (process_texi_input_file): Begin diff --git a/doc/interpreter/munge-texi.cc b/doc/interpreter/munge-texi.cc --- a/doc/interpreter/munge-texi.cc +++ b/doc/interpreter/munge-texi.cc @@ -154,6 +154,12 @@ while (isspace (doc_string[i])) i++; + // Make `see also' references in functions + // possible using @anchor{TAG} (new with + // Texinfo 4.0). + + os << "@anchor{doc-" << symbol_name << "}\n"; + os << doc_string.substr (i); } else