[gnumeric] Docs: fix function names' case.



commit b6faf28866a485fe46967b52283b111644e36105
Author: Morten Welinder <terra gnome org>
Date:   Sun Aug 30 16:59:51 2009 -0400

    Docs: fix function names' case.

 doc/C/func.defs             |   10 +++++-----
 doc/C/functions.xml         |   21 +++++++++++----------
 plugins/fn-math/functions.c |    2 +-
 plugins/fn-tsa/functions.c  |    2 +-
 src/func-builtin.c          |    2 +-
 5 files changed, 19 insertions(+), 18 deletions(-)
---
diff --git a/doc/C/func.defs b/doc/C/func.defs
index 3e2d1a3..5002d78 100644
--- a/doc/C/func.defs
+++ b/doc/C/func.defs
@@ -2782,7 +2782,7 @@ If any argument is zero, the result is zero.
 @{x}: number
 
 @NOTE=If @{x} falls outside the range -1 to 1, ASIN returns #NUM!
- SEEALSO=SIN COS,ASINH,DEGREES,RADIANS
+ SEEALSO=SIN,COS,ASINH,DEGREES,RADIANS
 
 @CATEGORY=Mathematics
 @FUNCTION=ASINH
@@ -3225,8 +3225,8 @@ If @{d} is less than zero, @{x} is rounded away from 0 to the left of the decima
 @SEEALSO=PI
 
 @CATEGORY=Mathematics
- FUNCTION=Sum
- SYNTAX=Sum(values)
+ FUNCTION=SUM
+ SYNTAX=SUM(values)
 @DESCRIPTION=SUM computes the sum of all the values and cells referenced in the argument list.
 @{values}: a list of values to add
 
@@ -5269,8 +5269,8 @@ The successive use of the simulation tool also requires that you give to the too
 @NOTE=If @{Sequence} is neither an n by 1 nor 1 by n array, this function returns #NUM!
 
 @CATEGORY=Time Series Analysis
- FUNCTION=Interpolation
- SYNTAX=Interpolation(abscissas,ordinates,targets,interpolation)
+ FUNCTION=INTERPOLATION
+ SYNTAX=INTERPOLATION(abscissas,ordinates,targets,interpolation)
 @DESCRIPTION=If an interpolation method is used, the number of returned values is one less than the number of targets and the targets values must be given in increasing order.
 @{abscissas}: The abscissas of the data to interpolate.
 @{ordinates}: The ordinates of the data to interpolate.
diff --git a/doc/C/functions.xml b/doc/C/functions.xml
index c1a7755..f7b69e5 100644
--- a/doc/C/functions.xml
+++ b/doc/C/functions.xml
@@ -8531,7 +8531,8 @@
       </refsect1>
       <refsect1>
         <title>See also</title>
-        <para><link linkend="gnumeric-SINCOS"><function>SINCOS</function></link>,
+        <para><link linkend="gnumeric-SIN"><function>SIN</function></link>,
+        <link linkend="gnumeric-COS"><function>COS</function></link>,
         <link linkend="gnumeric-ASINH"><function>ASINH</function></link>,
         <link linkend="gnumeric-DEGREES"><function>DEGREES</function></link>,
         <link linkend="gnumeric-RADIANS"><function>RADIANS</function></link>.
@@ -10236,24 +10237,24 @@
       </para>
       </refsect1>
     </refentry>
-    <refentry id="gnumeric-Sum">
+    <refentry id="gnumeric-SUM">
       <refmeta>
         <refentrytitle>
-          <function>Sum</function>
+          <function>SUM</function>
         </refentrytitle>
       </refmeta>
       <refnamediv>
         <refname>
-          <function>Sum</function>
+          <function>SUM</function>
         </refname>
         <refpurpose/>
       </refnamediv>
       <refsynopsisdiv>
-        <synopsis><function>Sum</function>(<parameter>values</parameter>)</synopsis>
+        <synopsis><function>SUM</function>(<parameter>values</parameter>)</synopsis>
       </refsynopsisdiv>
       <refsect1>
         <title>Description</title>
-        <para>SUM computes the sum of all the values and cells referenced in the argument list.</para>
+        <para><function>SUM</function> computes the sum of all the values and cells referenced in the argument list.</para>
         <para><parameter>values</parameter>: a list of values to add</para>
       </refsect1>
       <refsect1>
@@ -17089,20 +17090,20 @@
         <para>If <parameter>Sequence</parameter> is neither an n by 1 nor 1 by n array, this function returns #NUM!</para>
       </refsect1>
     </refentry>
-    <refentry id="gnumeric-Interpolation">
+    <refentry id="gnumeric-INTERPOLATION">
       <refmeta>
         <refentrytitle>
-          <function>Interpolation</function>
+          <function>INTERPOLATION</function>
         </refentrytitle>
       </refmeta>
       <refnamediv>
         <refname>
-          <function>Interpolation</function>
+          <function>INTERPOLATION</function>
         </refname>
         <refpurpose/>
       </refnamediv>
       <refsynopsisdiv>
-        <synopsis><function>Interpolation</function>(<parameter>abscissas</parameter>,<parameter>ordinates</parameter>,<parameter>targets</parameter>,<parameter>interpolation</parameter>)</synopsis>
+        <synopsis><function>INTERPOLATION</function>(<parameter>abscissas</parameter>,<parameter>ordinates</parameter>,<parameter>targets</parameter>,<parameter>interpolation</parameter>)</synopsis>
       </refsynopsisdiv>
       <refsect1>
         <title>Description</title>
diff --git a/plugins/fn-math/functions.c b/plugins/fn-math/functions.c
index 91cb4db..503ac4e 100644
--- a/plugins/fn-math/functions.c
+++ b/plugins/fn-math/functions.c
@@ -326,7 +326,7 @@ static GnmFuncHelp const help_asin[] = {
 	{ GNM_FUNC_HELP_NOTE, F_("If @{x} falls outside the range -1 to 1, ASIN returns #NUM!") },	
         { GNM_FUNC_HELP_EXAMPLES, "=ASIN(0.5)" },
         { GNM_FUNC_HELP_EXAMPLES, "=ASIN(1)" },
-        { GNM_FUNC_HELP_SEEALSO, "SIN COS,ASINH,DEGREES,RADIANS"},
+        { GNM_FUNC_HELP_SEEALSO, "SIN,COS,ASINH,DEGREES,RADIANS"},
         { GNM_FUNC_HELP_END}
 };
 
diff --git a/plugins/fn-tsa/functions.c b/plugins/fn-tsa/functions.c
index 4d39627..63e6ab0 100644
--- a/plugins/fn-tsa/functions.c
+++ b/plugins/fn-tsa/functions.c
@@ -368,7 +368,7 @@ spline_averaging (const gnm_float *absc, const gnm_float *ord, int nb_knots,
 /******************************************************************************/
 
 static GnmFuncHelp const help_interpolation[] = {
-	{ GNM_FUNC_HELP_NAME, F_("Interpolation:interpolated values corresponding to the given abscissa targets.") },
+	{ GNM_FUNC_HELP_NAME, F_("INTERPOLATION:interpolated values corresponding to the given abscissa targets.") },
 	{ GNM_FUNC_HELP_ARG, F_("abscissas:The abscissas of the data to interpolate.") },
 	{ GNM_FUNC_HELP_ARG, F_("ordinates:The ordinates of the data to interpolate.") },
 	{ GNM_FUNC_HELP_ARG, F_("targets:The abscissas of the interpolated data.") },
diff --git a/src/func-builtin.c b/src/func-builtin.c
index 2d0fe91..bd1b784 100644
--- a/src/func-builtin.c
+++ b/src/func-builtin.c
@@ -38,7 +38,7 @@
 /***************************************************************************/
 
 static GnmFuncHelp const help_sum[] = {
-	{ GNM_FUNC_HELP_NAME, N_("Sum:sum of the given values")},
+	{ GNM_FUNC_HELP_NAME, N_("SUM:sum of the given values")},
 	{ GNM_FUNC_HELP_ARG, N_("values:a list of values to add")},
 	{ GNM_FUNC_HELP_DESCRIPTION, N_("SUM computes the sum of all the values and cells referenced in the argument list.")},
 	{ GNM_FUNC_HELP_EXCEL, N_("This function is Excel compatible.") },



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]