diff src/oct-parse.yy @ 11572:7d6d8c1e471f

Grammarcheck Texinfo for files in src directory.
author Rik <octave@nomad.inbox5.com>
date Wed, 19 Jan 2011 17:51:22 -0800
parents fd0a3ac60b0e
children 12df7854fa7c
line wrap: on
line diff
--- a/src/oct-parse.yy
+++ b/src/oct-parse.yy
@@ -3816,6 +3816,7 @@
 autoload (\"foo\", \"bar.oct\");\n\
 @end example\n\
 \n\
+@noindent\n\
 will load the function @code{foo} from the file @code{bar.oct}.  The above\n\
 when @code{bar.oct} is not in the same directory or uses like\n\
 \n\
@@ -4013,7 +4014,7 @@
 
 DEFUN (mfilename, args, ,
   "-*- texinfo -*-\n\
-@deftypefn {Built-in Function} {} mfilename ()\n\
+@deftypefn  {Built-in Function} {} mfilename ()\n\
 @deftypefnx {Built-in Function} {} mfilename (@code{\"fullpath\"})\n\
 @deftypefnx {Built-in Function} {} mfilename (@code{\"fullpathext\"})\n\
 Return the name of the currently executing file.  At the top-level,\n\
@@ -4207,8 +4208,10 @@
 are passed on to the named function.  For example,\n\
 \n\
 @example\n\
+@group\n\
 feval (\"acos\", -1)\n\
      @result{} 3.1416\n\
+@end group\n\
 @end example\n\
 \n\
 @noindent\n\
@@ -4442,10 +4445,12 @@
 string is evaluated, as the following example shows:\n\
 \n\
 @example\n\
+@group\n\
 eval ('error (\"This is a bad example\");',\n\
       'printf (\"This error occurred:\\n%s\\n\", lasterr ());');\n\
      @print{} This error occurred:\n\
         This is a bad example\n\
+@end group\n\
 @end example\n\
 @end deftypefn")
 {