changeset 25312:586d6932b119 stable

doc: install info documentation into Math category * octave.texi: Use @dircategory Math to install manual into Math category. Use @direntry to define Info dir entry instead of raw Info-only text output. * liboctave.texi: Likewise. Thanks to Thomas Weber and Sébastien Villemot for the original patch.
author Mike Miller <mtmiller@octave.org>
date Wed, 25 Apr 2018 13:13:20 -0700
parents 10ec5795bd06
children ebe32e8062ab
files doc/interpreter/octave.texi doc/liboctave/liboctave.texi
diffstat 2 files changed, 8 insertions(+), 15 deletions(-) [+]
line wrap: on
line diff
--- a/doc/interpreter/octave.texi	Wed Apr 25 16:09:23 2018 -0400
+++ b/doc/interpreter/octave.texi	Wed Apr 25 13:13:20 2018 -0700
@@ -24,14 +24,10 @@
 
 @include macros.texi
 
-@ifinfo
-@format
-START-INFO-DIR-ENTRY
-* Octave: (octave).           Interactive language for numerical computations.
-
-END-INFO-DIR-ENTRY
-@end format
-@end ifinfo
+@dircategory Math
+@direntry
+* Octave: (octave).             Interactive language for numerical computations.
+@end direntry
 
 @c Settings for printing on 8-1/2 by 11 inch paper (default):
 @c --------------------------------------------------------
--- a/doc/liboctave/liboctave.texi	Wed Apr 25 16:09:23 2018 -0400
+++ b/doc/liboctave/liboctave.texi	Wed Apr 25 13:13:20 2018 -0700
@@ -20,13 +20,10 @@
 \input texinfo
 @setfilename liboctave.info
 
-@ifinfo
-@format
-START-INFO-DIR-ENTRY
-* liboctave: (liboctave). Octave C++ Classes
-END-INFO-DIR-ENTRY
-@end format
-@end ifinfo
+@dircategory Math
+@direntry
+* liboctave: (liboctave).       Octave C++ Classes
+@end direntry
 
 @c @smallbook
 @c @setchapternewpage odd