changeset 27585:757a7119e319 stable

doc: Create en-dashes and em-dashes correctly in documentation. * numbers.txi, dmperm.cc (Fdmperm), condest.m, qmr.m: Use "--" to create en-dash for page numer ranges in citations. * fminunc.m: Use "---" to create em-dash where en-dash was mistakenly created.
author Rik <rik@octave.org>
date Tue, 29 Oct 2019 16:36:41 -0700
parents f6417502613a
children b0626d075ad7 18fea1c5b21a
files doc/interpreter/numbers.txi libinterp/dldfcn/dmperm.cc scripts/linear-algebra/condest.m scripts/optimization/fminunc.m scripts/sparse/qmr.m
diffstat 5 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/doc/interpreter/numbers.txi	Mon Oct 28 15:49:47 2019 -0700
+++ b/doc/interpreter/numbers.txi	Tue Oct 29 16:36:41 2019 -0700
@@ -317,7 +317,7 @@
 
 A matrix may have one or both dimensions zero, and operations on empty
 matrices are handled as described by @nospell{Carl de Boor} in
-@cite{An Empty Exercise}, SIGNUM, Volume 25, pages 2-6, 1990 and
+@cite{An Empty Exercise}, SIGNUM, Volume 25, pages 2--6, 1990 and
 @nospell{C. N. Nett and W. M. Haddad}, in
 @cite{A System-Theoretic Appropriate Realization of the Empty Matrix Concept},
 IEEE Transactions on Automatic Control, Volume 38, Number 5, May 1993.
--- a/libinterp/dldfcn/dmperm.cc	Mon Oct 28 15:49:47 2019 -0700
+++ b/libinterp/dldfcn/dmperm.cc	Tue Oct 29 16:36:41 2019 -0700
@@ -134,7 +134,7 @@
 
 The method used is described in: @nospell{A. Pothen & C.-J. Fan.}
 @cite{Computing the Block Triangular Form of a Sparse Matrix}.
-@nospell{ACM} Trans. Math. Software, 16(4):303-324, 1990.
+@nospell{ACM} Trans. Math. Software, 16(4):303--324, 1990.
 @seealso{colamd, ccolamd}
 @end deftypefn */)
 {
--- a/scripts/linear-algebra/condest.m	Mon Oct 28 15:49:47 2019 -0700
+++ b/scripts/linear-algebra/condest.m	Tue Oct 29 16:36:41 2019 -0700
@@ -89,7 +89,7 @@
 ## @item
 ## @nospell{N.J. Higham and F. Tisseur}, @cite{A Block Algorithm
 ## for Matrix 1-Norm Estimation, with an Application to 1-Norm
-## Pseudospectra}. SIMAX vol 21, no 4, pp 1185-1201.
+## Pseudospectra}. SIMAX vol 21, no 4, pp 1185--1201.
 ## @url{https://dx.doi.org/10.1137/S0895479899356080}
 ##
 ## @item
--- a/scripts/optimization/fminunc.m	Mon Oct 28 15:49:47 2019 -0700
+++ b/scripts/optimization/fminunc.m	Tue Oct 29 16:36:41 2019 -0700
@@ -45,7 +45,7 @@
 ## default, this option is @qcode{"off"} because it may sometimes deliver
 ## unexpected (though mathematically correct) results.
 ##
-## If @qcode{"GradObj"} is @qcode{"on"}, it specifies that @var{fcn}--when
+## If @qcode{"GradObj"} is @qcode{"on"}, it specifies that @var{fcn}---when
 ## called with two output arguments---also returns the Jacobian matrix of
 ## partial first derivatives at the requested point.
 ##
--- a/scripts/sparse/qmr.m	Mon Oct 28 15:49:47 2019 -0700
+++ b/scripts/sparse/qmr.m	Tue Oct 29 16:36:41 2019 -0700
@@ -73,7 +73,7 @@
 ## @item
 ## @nospell{R. Freund and N. Nachtigal}, @cite{QMR: a quasi-minimal residual
 ## method for non-Hermitian linear systems}, @nospell{Numerische Mathematik},
-## 1991, 60, pp. 315-339.
+## 1991, 60, pp. 315--339.
 ##
 ## @item
 ## @nospell{ R. Barrett, M. Berry, T. Chan, J. Demmel, J. Donato, J. Dongarra},