changeset 26602:4e521d091a70 stable

octave.texi: Change indentation of @example blocks to 2 ems in PDF. * octave.texi: Use @exampleindent to set indent to 2. Use @c on multiple lines to comment out block of texinfo code because the @ignore/@end ignore macro set is not recognized by all syntax highlighters. Condense long @c comment from 3 lines to 2. Add @c comment describing the "Chapter" section of the manual.
author Rik <rik@octave.org>
date Tue, 22 Jan 2019 15:39:17 -0800
parents de358b26dc88
children 8af641520aa9
files doc/interpreter/octave.texi
diffstat 1 files changed, 16 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/doc/interpreter/octave.texi	Tue Jan 22 15:20:22 2019 -0800
+++ b/doc/interpreter/octave.texi	Tue Jan 22 15:39:17 2019 -0800
@@ -29,6 +29,11 @@
 * Octave: (octave).             Interactive language for numerical computations.
 @end direntry
 
+@c Settings for appearance of example blocks
+@c --------------------------------------------------------
+
+@exampleindent 2
+
 @c Settings for printing on 8-1/2 by 11 inch paper (default):
 @c --------------------------------------------------------
 
@@ -41,21 +46,20 @@
 @c Settings for small book format:
 @c ------------------------------
 
-@ignore
-@smallbook
-@setchapternewpage odd
-@finalout
-@iftex
-@cropmarks
-@end iftex
-@end ignore
+@c @smallbook
+@c @setchapternewpage odd
+@c @finalout
+@c @iftex
+@c @cropmarks
+@c @end iftex
+
+@c ------------------------------
 
 @defindex op
 @defindex pr
 
-@c The version.texi file doesn't include a chapter, so it must not be
-@c included if you want to run the Emacs function
-@c texinfo-multiple-files-update.
+@c The version.texi file doesn't include a chapter, so it must not be included
+@c if you want to run the Emacs function texinfo-multiple-files-update.
 @include version-octave.texi
 
 @settitle GNU Octave (version @value{VERSION})
@@ -927,6 +931,7 @@
 @end menu
 
 @c ------------------------------------------------------------------------
+@c Chapters of manual.
 
 @include preface.texi
 @include intro.texi