changeset 28957:efc998c08d27

doc: Use @var rather than @code to mark function inputs in TexInfo. * rng.m, unmkpp.m: Use @var rather than @code to mark function inputs in TexInfo.
author Rik <rik@octave.org>
date Mon, 19 Oct 2020 08:26:46 -0700
parents 0089f0213384
children 6fd6ad758b10
files scripts/general/rng.m scripts/polynomial/unmkpp.m
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/general/rng.m	Sat Oct 17 15:49:12 2020 +0200
+++ b/scripts/general/rng.m	Mon Oct 19 08:26:46 2020 -0700
@@ -35,7 +35,7 @@
 ## Set or query the seed of the random number generator used by @code{rand} and
 ## @code{randn}.
 ##
-## The input @code{seed} is a scalar numeric value used to initialize the state
+## The input @var{seed} is a scalar numeric value used to initialize the state
 ## vector of the random number generator.
 ##
 ## The optional string @var{generator} specifies the type of random number
--- a/scripts/polynomial/unmkpp.m	Sat Oct 17 15:49:12 2020 +0200
+++ b/scripts/polynomial/unmkpp.m	Mon Oct 19 08:26:46 2020 -0700
@@ -29,7 +29,7 @@
 ## Extract the components of a piecewise polynomial structure @var{pp}.
 ##
 ## This function is the inverse of @code{mkpp}: it extracts the inputs to
-## @code{mkpp} needed to create the piecewise polynomial structure @var{PP}.
+## @code{mkpp} needed to create the piecewise polynomial structure @var{pp}.
 ## The code below makes this relation explicit:
 ##
 ## @example