bugGNU Octave - Bugs: bug #45301, Ghostscript error if title...

 
 

bug #45301: Ghostscript error if title contains ')'

Submitted by:  None
Submitted on:  Thu 11 Jun 2015 08:20:30 AM UTC  
 
Category: Plotting with OpenGLSeverity: 3 - Normal
Priority: 3 - LowItem Group: Incorrect Result
Status: FixedAssigned to: None
Originator Name: Originator Email: -unavailable-
Open/Closed: ClosedRelease: 4.0.0
Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 14 Oct 2015 09:46:31 PM UTC, comment #5:

I pushed a patch that unconditionally escapes parenthesis before printing:

http://hg.savannah.gnu.org/hgweb/octave/rev/4e47e10d5279

Closing report.

Pantxo Diribarne <pantxo>
Project Member
Sat 13 Jun 2015 06:22:21 AM UTC, comment #4:

"Test a.)" is a common title, but it's okay to lower this because there is a workaround.

Anonymous
Sat 13 Jun 2015 12:12:40 AM UTC, comment #3:

I'm lowering the priority the priority since 1) there is a workaround, and 2) unpaired parentheses are fairly rare in text.

Rik <rik5>
Project Administrator
Fri 12 Jun 2015 11:44:52 AM UTC, comment #2:

The request to escape special characters in gl2ps has been formally accepted by the gl2ps maintainer: http://www.geuz.org/pipermail/gl2ps/2015/000413.html

It looks like a long/fastidious task and I don't know when someone will find the time to write the patch gl2ps. Anyway, as noted by the OP, there is a workaround in Octave: escape special characters.

Pantxo Diribarne <pantxo>
Project Member
Thu 11 Jun 2015 11:21:26 AM UTC, comment #1:

Hi,

I can confirm this bug: any text with an unmatched parenthesis will trigger the bug.
I suppose gl2ps is a better place to fix this as it is responsible for producing valid files whatever the text we want to print: the base eps file, that we use for producing other formats, is invalid because of this unmatched parenthesis.

Pantxo Diribarne <pantxo>
Project Member
Thu 11 Jun 2015 08:20:30 AM UTC, original submission:

gives

graphics_toolkit gnuplot works fine.

It's possible to escape it:

But I think Octave should handle this internal.

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Digest:
   bug dependencies.

 

Carbon-Copy List
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by pantxo (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

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

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 13 May 2016 03:54:51 PM UTCmtmillerDependencies-=>bugs #47907 is dependent
    Wed 14 Oct 2015 09:46:31 PM UTCpantxoStatusConfirmed=>Fixed
      Open/ClosedOpen=>Closed
    Sat 13 Jun 2015 12:12:40 AM UTCrik5Priority5 - Normal=>3 - Low
    Thu 11 Jun 2015 11:21:26 AM UTCpantxoItem GroupNone=>Incorrect Result
      StatusNone=>Confirmed

    Back to the top


    Powered by Savane 3.1-cleanup1