changeset 3296:7d60704b2cbe

[project @ 1999-10-19 10:23:04 by jwe]
author jwe
date Tue, 19 Oct 1999 10:23:15 +0000
parents 35a6d027772c
children b68ef5dec3bd
files doc/ChangeLog scripts/ChangeLog src/ChangeLog src/help.cc
diffstat 4 files changed, 25 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/doc/ChangeLog
+++ b/doc/ChangeLog
@@ -1,3 +1,10 @@
+1999-10-19  John W. Eaton  <jwe@bevo.che.wisc.edu>
+
+	* interpreter/*.txi: Rename from *.txi.
+	* interpreter/munge-texi.cc: New file.
+	* interpreter/Makefile.in: Use it to create .texi files from .txi
+	files and DOCSTRING files.
+
 Fri Jun 18 23:17:02 1999  John W. Eaton  <jwe@bevo.che.wisc.edu>
 
 	* interpreter/Makefile.in (octave_toc.html): Add -expandinfo to
--- a/scripts/ChangeLog
+++ b/scripts/ChangeLog
@@ -1,3 +1,9 @@
+1999-10-19  John W. Eaton  <jwe@bevo.che.wisc.edu>
+
+	* gethelp.cc, mkdoc: New files.
+	* Makefile.in: Use them to create DOCSTRINGS file from .m file
+	sources.
+
 1999-10-14  John W. Eaton  <jwe@bevo.che.wisc.edu>
 
 	* linear-algebra/kron.m: Fix typo in previous change
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,14 @@
+1999-10-19  John W. Eaton  <jwe@bevo.che.wisc.edu>
+
+	* help.cc (looks_like_texinfo): New function.
+	(display_help_text): Use it to see if the doc string looks like
+	Texinfo source.  If so, use makeinfo to format the text before
+	displaying it.
+
+	* mkgendoc: New script.
+	* Makefile.in: Use it to create gendoc.cc, which is compiled and
+	run to create DOCSTRINGS file from sources.
+
 1999-10-18  John W. Eaton  <jwe@bevo.che.wisc.edu>
 
 	* help.cc (help_from_info): Print `unable to find info' message if
--- a/src/help.cc
+++ b/src/help.cc
@@ -706,7 +706,7 @@
       ostrstream buf;
       buf << "sed 's/^[#%]+ *//'"
 	  << " | makeinfo --fill-column " << cols
-	  << " --no-warn --no-validate --no-headers --force > "
+	  << " --no-warn --no-validate --no-headers --force --output "
 	  << tmp_file_name
 	  << ends;