changeset 24059:d8e2fffb371c

doc: Fix missing braces in quad documentation (bug #52065). * quad.txi, integral.m: Use curly braces for any Texinfo @ commands.
author Rik <rik@octave.org>
date Tue, 19 Sep 2017 22:01:09 -0700
parents f9e0f7f1e267
children 9158b9c65676
files doc/interpreter/quad.txi scripts/general/integral.m
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/doc/interpreter/quad.txi	Tue Sep 19 21:56:20 2017 -0700
+++ b/doc/interpreter/quad.txi	Tue Sep 19 22:01:09 2017 -0700
@@ -60,8 +60,8 @@
 In addition, the following functions are also provided:
 
 @item integral
-A compatibility wrapper function that will choose between @code(quadv) and
-@code(quadgk) depending on the integrand and options chosen.
+A compatibility wrapper function that will choose between @code{quadv} and
+@code{quadgk} depending on the integrand and options chosen.
 
 @item trapz, cumtrapz
 Numerical integration of data using the trapezoidal method.
--- a/scripts/general/integral.m	Tue Sep 19 21:56:20 2017 -0700
+++ b/scripts/general/integral.m	Tue Sep 19 22:01:09 2017 -0700
@@ -58,7 +58,7 @@
 ##
 ## @item ArrayValued
 ## @code{integral} expects @var{f} to return a scalar value unless
-## @var(arrayvalued) is specified as true.  This option will cause
+## @var{arrayvalued} is specified as true.  This option will cause
 ## @code{integral} to perform the integration over the entire array and return
 ## @var{q} with the same dimensions as returned by @var{f}.
 ## @end table