changeset 28093:05c1217d0dae stable

doc: Create better looking cross references in Info format (bug #57845). * image.m, text.m, light.m, line.m, patch.m, surface.m, axes.m, figure.m: Use 1-input form of @ref which produces better visuals in Info format.
author Rik <rik@octave.org>
date Tue, 18 Feb 2020 08:15:39 -0800
parents 4ec1e15b3438
children c24103fbefe5 b0f949055097
files scripts/image/image.m scripts/plot/appearance/text.m scripts/plot/draw/light.m scripts/plot/draw/line.m scripts/plot/draw/patch.m scripts/plot/draw/surface.m scripts/plot/util/axes.m scripts/plot/util/figure.m
diffstat 8 files changed, 8 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/image/image.m	Mon Feb 17 17:00:44 2020 -0500
+++ b/scripts/image/image.m	Tue Feb 18 08:15:39 2020 -0800
@@ -63,7 +63,7 @@
 ## and inserts it in the current axes.
 ##
 ## Graphic Properties: The full list of properties is documented at
-## @ref{Image Properties,,Image Properties}.
+## @ref{Image Properties}.
 ## @seealso{imshow, imagesc, colormap}
 ## @end deftypefn
 
--- a/scripts/plot/appearance/text.m	Mon Feb 17 17:00:44 2020 -0500
+++ b/scripts/plot/appearance/text.m	Tue Feb 18 08:15:39 2020 -0800
@@ -76,7 +76,7 @@
 ## @end example
 ##
 ## Programming Notes: The full list of properties is documented at
-## @ref{Text Properties,,Text Properties}.
+## @ref{Text Properties}.
 ##
 ## Any numeric entries in a cell array will be converted to text using
 ## @code{sprintf ("%g")}.  For more precise control of the appearance convert
--- a/scripts/plot/draw/light.m	Mon Feb 17 17:00:44 2020 -0500
+++ b/scripts/plot/draw/light.m	Tue Feb 18 08:15:39 2020 -0800
@@ -69,7 +69,7 @@
 ## object.
 ##
 ## Programming Note: The full list of properties is documented at
-## @ref{Light Properties,,Light Properties}.
+## @ref{Light Properties}.
 ## @seealso{lighting, material, patch, surface}
 ## @end deftypefn
 
--- a/scripts/plot/draw/line.m	Mon Feb 17 17:00:44 2020 -0500
+++ b/scripts/plot/draw/line.m	Tue Feb 18 08:15:39 2020 -0800
@@ -59,7 +59,7 @@
 ## handles) to the line objects created.
 ##
 ## Programming Note: The full list of properties is documented at
-## @ref{Line Properties,,Line Properties}.
+## @ref{Line Properties}.
 ##
 ## The function @code{line} differs from @code{plot} in that line objects are
 ## inserted in to the current axes without first clearing the plot.
--- a/scripts/plot/draw/patch.m	Mon Feb 17 17:00:44 2020 -0500
+++ b/scripts/plot/draw/patch.m	Tue Feb 18 08:15:39 2020 -0800
@@ -72,7 +72,7 @@
 ## object.
 ##
 ## Programming Note: The full list of properties is documented at
-## @ref{Patch Properties,,Patch Properties}.  Useful patch properties include:
+## @ref{Patch Properties}.  Useful patch properties include:
 ## @qcode{"cdata"}, @qcode{"edgecolor"}, @qcode{"facecolor"}, @qcode{"faces"},
 ## and @qcode{"facevertexcdata"}.
 ## @seealso{fill, get, set}
--- a/scripts/plot/draw/surface.m	Mon Feb 17 17:00:44 2020 -0500
+++ b/scripts/plot/draw/surface.m	Tue Feb 18 08:15:39 2020 -0800
@@ -51,7 +51,7 @@
 ## surface object.
 ##
 ## Programming Note: The full list of properties is documented at
-## @ref{Surface Properties,,Surface Properties}.
+## @ref{Surface Properties}.
 ## @seealso{surf, mesh, patch, line}
 ## @end deftypefn
 
--- a/scripts/plot/util/axes.m	Mon Feb 17 17:00:44 2020 -0500
+++ b/scripts/plot/util/axes.m	Tue Feb 18 08:15:39 2020 -0800
@@ -47,7 +47,7 @@
 ## objects associated with @var{hax} so that they are also visible.
 ##
 ## Programming Note: The full list of properties is documented at
-## @ref{Axes Properties,,Axes Properties}.
+## @ref{Axes Properties}.
 ## @seealso{gca, set, get}
 ## @end deftypefn
 
--- a/scripts/plot/util/figure.m	Mon Feb 17 17:00:44 2020 -0500
+++ b/scripts/plot/util/figure.m	Tue Feb 18 08:15:39 2020 -0800
@@ -45,7 +45,7 @@
 ## object.
 ##
 ## Programming Note: The full list of properties is documented at
-## @ref{Figure Properties,,Figure Properties}.
+## @ref{Figure Properties}.
 ## @seealso{axes, gcf, shg, clf, close}
 ## @end deftypefn