Mercurial > hg > octave-avbm
changeset 3401:1b782f9cecfe
[project @ 2000-01-05 02:54:11 by jwe]
author | jwe |
---|---|
date | Wed, 05 Jan 2000 02:54:11 +0000 |
parents | 18366d37e7dd |
children | 9610d364e444 |
files | doc/ChangeLog doc/interpreter/munge-texi.cc |
diffstat | 2 files changed, 12 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -1,3 +1,9 @@ +2000-01-04 John W. Eaton <jwe@bevo.che.wisc.edu> + + * 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 <jwe@bevo.che.wisc.edu> * interpreter/munge-texi.cc (process_texi_input_file): Begin
--- 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