bugGNU Octave - Bugs: bug #50203, doc: operator overloading Table...

 
 

bug #50203: doc: operator overloading Table 34.1 formatting errors

Submitter:  Ernst Reissner <ernstreissner>
Submitted:  Wed 01 Feb 2017 12:26:05 PM UTC
   
 
Category:  Documentation Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * 4.2.0 Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Thu 02 Feb 2017 04:44:04 AM UTC, comment #6: 

Since this was just a documentation change, I backported it to the 4.2 stable branch.  I also fixed two other issues in the table (missing space, incorrect variable name) in this cset http://hg.savannah.gnu.org/hgweb/octave/rev/0f2582425a9e.

Closing report.

Rik <rik5>
Group administrator
Thu 02 Feb 2017 03:27:58 AM UTC, comment #5: 

yes, you are right, that is the main objective...
but a complete list of operation symbols is also valuable.
Also the hint which ones are conform with matlab.

Ernst Reissner <ernstreissner>
Wed 01 Feb 2017 10:07:11 PM UTC, comment #4: 

I checked in this change:

http://hg.savannah.gnu.org/hgweb/octave/rev/3ade23e8fdc7

It looks better to me without the special TeX formatting, plus having both means extra maintenance.

John W. Eaton <jwe>
Group administrator
Wed 01 Feb 2017 08:17:33 PM UTC, comment #3: 

Keep in mind that the purpose of this table is to show what methods are used to overload specific operator semantics, not to be an exhaustive list of all operators and their aliases.

Mike Miller <mtmiller>
Group Member
Wed 01 Feb 2017 08:15:31 PM UTC, comment #2: 

Confirmed that the formatting of the table in the dvi/pdf/ps outputs is incorrect. The binary operators a.^b and a^b show up as a circumflex on top of the b character (a.̂b and âb). The binary operator a!=b is displayed as "a! = b".

Adding aliases for the operators ! and != might be nice if it's possible without messing up the table formatting.

Mike Miller <mtmiller>
Group Member
Wed 01 Feb 2017 06:18:46 PM UTC, comment #1: 

What is also missing are the alternatives:
** in place of ^,
!  in place of ~
!= in place of ~=

I feel, the expressions compatible with matlab
should come first, they are mandatory,
the others are optional.

Ernst Reissner <ernstreissner>
Wed 01 Feb 2017 12:26:05 PM UTC, original submission:  

meant is a^b but what occurs is $a\hat b$ (twice).
In addition to !a we have ~a.
Spacing of a!=b is bad. operator must be defined in tex.

Ernst Reissner <ernstreissner>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by jwe (Posted a comment)
  • -email is unavailable- added by mtmiller (Posted a comment)
  • -email is unavailable- added by ernstreissner (Submitted the item)
  • -email is unavailable- added by ernstreissner
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-02-02 rik5 StatusConfirmed Fixed
        Open/ClosedOpen Closed
    2017-02-01 mtmiller StatusNone Confirmed
        SummaryTable 34.1 doc: operator overloading Table 34.1 formatting errors
    2017-02-01 ernstreissner Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code