changeset 24550:966c3283a164

doc: Fix appearance of '.' and "'" in Operator Index (bug #52813). * container.txi: Use extra forced spaced after opindex for '.'. Wrap any opindex with a single quote in @cod{}. * data.txi, expr.txi, oop.txi, strings.txi: Wrap any opindex with a single quote in @code{}.
author Rik <rik@octave.org>
date Sun, 07 Jan 2018 20:19:51 -0800
parents 2c497be89710
children a7b6502b5cb5
files doc/interpreter/container.txi doc/interpreter/data.txi doc/interpreter/expr.txi doc/interpreter/oop.txi doc/interpreter/strings.txi
diffstat 5 files changed, 9 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/doc/interpreter/container.txi	Sun Jan 07 20:02:31 2018 -0800
+++ b/doc/interpreter/container.txi	Sun Jan 07 20:19:51 2018 -0800
@@ -67,7 +67,7 @@
 @end group
 @end example
 
-@opindex .
+@opindex . @ @ @ 
 @noindent
 create a structure with three elements.  The @samp{.} character separates
 the structure name from the field name and indicates to Octave that this
--- a/doc/interpreter/data.txi	Sun Jan 07 20:02:31 2018 -0800
+++ b/doc/interpreter/data.txi	Sun Jan 07 20:19:51 2018 -0800
@@ -127,7 +127,7 @@
 @cindex strings
 @cindex character strings
 @opindex "
-@opindex '
+@opindex @code{'}
 
 A character string in Octave consists of a sequence of characters
 enclosed in either double-quote or single-quote marks.  Internally,
--- a/doc/interpreter/expr.txi	Sun Jan 07 20:02:31 2018 -0800
+++ b/doc/interpreter/expr.txi	Sun Jan 07 20:19:51 2018 -0800
@@ -666,7 +666,7 @@
 Unary plus.  This operator has no effect on the operand.
 
 @item @var{x}'
-@opindex '
+@opindex @code{'}
 Complex conjugate transpose.  For real arguments, this operator is the
 same as the transpose operator.  For complex arguments, this operator is
 equivalent to the expression
@@ -676,7 +676,7 @@
 @end example
 
 @item @var{x}.'
-@opindex .'
+@opindex @code{.'}
 Transpose.
 @end table
 
@@ -709,7 +709,7 @@
 preferring the longest possible match at any given point, it is more
 useful in this case.
 
-@opindex '
+@opindex @code{'}
 @DOCSTRING(ctranspose)
 
 @opindex .\
@@ -744,7 +744,7 @@
 @opindex .*
 @DOCSTRING(times)
 
-@opindex .'
+@opindex @code{.'}
 @DOCSTRING(transpose)
 
 @opindex -
--- a/doc/interpreter/oop.txi	Sun Jan 07 20:02:31 2018 -0800
+++ b/doc/interpreter/oop.txi	Sun Jan 07 20:19:51 2018 -0800
@@ -500,8 +500,8 @@
 @opindex &
 @opindex |
 @opindex !
-@opindex '
-@opindex .'
+@opindex @code{'}
+@opindex @code{.'}
 @opindex :
 @opindex <
 
--- a/doc/interpreter/strings.txi	Sun Jan 07 20:02:31 2018 -0800
+++ b/doc/interpreter/strings.txi	Sun Jan 07 20:19:51 2018 -0800
@@ -21,7 +21,7 @@
 @cindex strings
 @cindex character strings
 @opindex "
-@opindex '
+@opindex @code{'}
 
 A @dfn{string constant} consists of a sequence of characters enclosed in
 either double-quote or single-quote marks.  For example, both of the