bugGNU Octave - Bugs: bug #58239, Latex interpreter introduces extra...

 
 

bug #58239: Latex interpreter introduces extra spaces

Submitter:  Tunc <tunc>
Submitted:  Sat 25 Apr 2020 12:26:38 PM UTC
   
 
Category:  Plotting Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * 4.2.2 Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 26 Apr 2020 02:43:48 AM UTC, comment #3: 

Oops, overlapped w/Pantxo.  Attached is a generated image using Octave 5.2 which shows correct spacing.


Rik <rik5>
Group administrator
Sun 26 Apr 2020 02:42:25 AM UTC, comment #2: 

Thanks for taking the time to report this bug.

This particular bug has already been fixed in a newer version of
Octave. You may want to check for a software upgrade.

Rik <rik5>
Group administrator
Sun 26 Apr 2020 02:25:29 AM UTC, comment #1: 

Octave 4.2 is quite old, this bug has been fixed in recent versions of Octave (>5.1). For raster outputs, like png, Octave now prints more or less exactly what is onscreen.

FYI, note that Octave still doesn't have a "latex" interpreter, only "tex".

Closing report as fixed.

Pantxo Diribarne <pantxo>
Group Member
Sat 25 Apr 2020 12:26:38 PM UTC, original submission:  

When I run the attached file, I am supposed to add a few Greek letters as part of the axis labels. The figure is prepared correctly, but rendered improperly when I export it as .png. There is significant white space between "(" and "\alpha".

The problem seems to improve if the length of the label string is short (ex: xlabel('a (\alpha \beta)') works).

I attached a simplified script and its output.

Tunc <tunc>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #48938:  58239.png added by rik5 (18KiB - image/png)
file #48936:  test.m added by tunc (130B - text/x-objcsrc)
file #48937:  test.png added by tunc (38KiB - image/png)

 

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 pantxo (Posted a comment)
  • -email is unavailable- added by tunc (Submitted the item)
  •  

    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 10 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-04-26 rik5 Attached File- Added 58239.png, #48938
        StatusNone Fixed
        Open/ClosedOpen Closed
    2020-04-26 rik5 CategoryNone Plotting
        StatusFixed None
        Open/ClosedClosed Open
    2020-04-26 pantxo StatusNone Fixed
        Open/ClosedOpen Closed
    2020-04-25 tunc Attached File- Added test.m, #48936
        Attached File- Added test.png, #48937

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code