bugGNU Octave - Bugs: bug #59564, @result{} in HTML documentation is...

 
 

bug #59564: @result{} in HTML documentation is mis-aligned

Submitter:  Rik <rik5>
Submitted:  Sat 28 Nov 2020 03:19:29 AM UTC
   
 
Category:  Documentation Severity:  3 - Normal
Priority:  3 - Low Item Group:  Inaccurate Result
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * Any
Fixed Release:  11.1.0 (current default) Planned Release:  None
* Mandatory Fields

Post a Comment

Add a New Comment Rich Markup
   

Discussion

Wed 15 Oct 2025 02:43:34 PM UTC, comment #3: 

Fixed in cset https://hg.savann ... /rev/85705d0e663e.

Closing report.

Rik <rik5>
Group administrator
Sat 28 Nov 2020 03:23:31 AM UTC, comment #2: 

In terms of resolving this issue, is this something that we can adjust in the Texinfo output settings?  If not, can we change the octave.css file to get the right result?  Last shot might be to define a new macro @xresult which is decoded to " @result{}" for HTML formats and "@result{}" for all others.

Rik <rik5>
Group administrator
Sat 28 Nov 2020 03:20:41 AM UTC, comment #1: 

Here is the HTML version of the documentation, .

Rik <rik5>
Group administrator
Sat 28 Nov 2020 03:19:29 AM UTC, original submission:  

The Texinfo character that results from @result{} is "=>" in a plaintext environment (2 characters) but just 1 character (&Rarr) in HTML.  This throws the alignment of columns off.  Here is one example from the documentation from cstrcat: file:Rarr_example.png.

And here is how the documentation appears in a plaintext environment:


          s = [ "ab"; "cde" ];
          cstrcat (s, s, s)
                => "ab ab ab "
                   "cdecdecde"


Rik <rik5>
Group administrator

 

Attached Files

Attached Files
file #50355:  Rarr_example.png added by rik5 (2.9KiB - image/png)

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

Attach Files:
   
   
Comment:
   

 

Dependencies

This item does not depend on any other items.

No items depend on this one.

 

Mail Notification Carbon-Copy List

Carbon-Copy List
  • -email is unavailable- added by rik5 (Submitted the item)
  •  

    Votes

    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.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

    History

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2025-10-15 rik5 StatusConfirmed Fixed
        Open/ClosedOpen Closed
        Fixed ReleaseNone 11.1.0 (current default)
    2020-11-28 rik5 Priority5 - Normal 3 - Low
        StatusNone Confirmed
    2020-11-28 rik5 Attached File- Added Rarr_example.png, #50355

    Back to the top

    Powered by Savane 3.16-598c.
    Corresponding source code