Mercurial > hg > octave-lyh
diff doc/interpreter/expr.txi @ 13780:990762e784fe
Fix confusing interaction between @code macro and transpose operator (') in documentation (Bug #34661).
* octave.texi: Define new @xcode macro which expands to nothing in plain text
or Info output. Expands to normal @code for all other formats.
* data.cc: Rephrase documentation for functions which have operator equivalents.
Use @xcode macro to mark the operator equivalent for these functions.
* expr.txi: Use @asis markup in table to prevent confusion between
transpose operator and @code expansion in Info format.
* mk_doc_cache.m, __makeinfo__.m: Add processing for new @xcode macro.
* krylov.m, etreeplot.m, lu.cc, schur.cc, symbfact.cc: Use new @xcode macro.
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Tue, 01 Nov 2011 11:08:18 -0700 |
parents | 002948ae5bc0 |
children | dfbf6a49847c |
line wrap: on
line diff
--- a/doc/interpreter/expr.txi +++ b/doc/interpreter/expr.txi @@ -425,7 +425,7 @@ The following arithmetic operators are available, and work on scalars and matrices. -@table @code +@table @asis @item @var{x} + @var{y} @opindex + Addition. If both operands are matrices, the number of rows and columns