bugGNU Octave - Bugs: bug #35914, \omega sometimes interpreted as...

 
 

bug #35914: \omega sometimes interpreted as \o{}mega

Submitted by:  Burkart Lingner <burkart>
Submitted on:  Tue 20 Mar 2012 06:06:14 PM UTC  
 
Category: Plotting with gnuplotSeverity: 3 - Normal
Priority: 1 - LaterItem Group: Feature Request
Status: FixedAssigned to: None
Originator Name: Open/Closed: Closed
Release: 3.6.1Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Fri 22 Nov 2013 01:37:16 AM UTC, comment #2:

A TeX interpreter has been implemented for the FLTK toolkit and will be part of release 3.8.0. The behavior described in this bug report now works correctly. Closing report.

Mike Miller <mtmiller>
Project Administrator
Tue 20 Mar 2012 07:04:39 PM UTC, comment #1:

Octave doesn't interpret TeX at all. These are really all gnuplot bugs. We can't do much about them unless we start patching gnuplot, but our own efforts are in implementing TeX to begin with. It's an outstanding project. See this:

http://octave.org/wiki/index.php?title=GSoC_Project_Ideas#TeX.2FLaTeX_markup

I'm tempted to mark all of these TeX bugs as duplicate.

Jordi GutiƩrrez Hermoso <jordigh>
Project Administrator
Tue 20 Mar 2012 06:06:14 PM UTC, original submission:

Some TeX character sequences are a little tricky to decode thanks to MATLAB's own way of doing TeX. Among those sequences is "\omega" whose subset "\o" is also a sequence recognized by MATLAB. So if a string contains "\omega", does that mean "(w)" or "(o)mega"?

It turns out that Octave is less consistent regarding that decision. While MATLAB tries to match the longest known sequence, what Octave does depends on what comes after the sequence. Example:

This yields "(w) foo (w)bar (w)(a)" in MATLAB but "(w) foo (o)megabar (w)(a)" in Octave. In other words, if the character after the longest possible sequence is a space or a backslash, the longest sequence is assumed to be present. However, if the character after the longest possible sequence is a letter, the shorter sequence is assumed to be present.

Other relevant cases:

  • \o
    • \omega
    • \otimes
    • \oplus
    • \oslash
  • \in
    • \int
    • \infty
  • \subset
    • \subseteq
  • \supset
    • \supseteq
Burkart Lingner <burkart>

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Digest:
   bug dependencies.

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by mtmiller (Posted a comment)
  • -unavailable- added by jordigh (Posted a comment)
  • -unavailable- added by burkart (Submitted the item)
  •  

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

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 22 Nov 2013 01:37:16 AM UTCmtmillerStatusDuplicate=>Fixed
      Open/ClosedOpen=>Closed
      Summary\\omega sometimes interpreted as \\o{}mega=>\omega sometimes interpreted as \o{}mega
    Wed 21 Mar 2012 01:41:50 PM UTCjordighItem GroupMatlab Compatibility=>Feature Request
      Summary\\omega sometimes interpreted as \\o{}mega=>\omega sometimes interpreted as \o{}mega
    Wed 21 Mar 2012 01:34:19 PM UTCjordighStatusNone=>Duplicate
      Summary\\omega sometimes interpreted as \\o{}mega=>\omega sometimes interpreted as \o{}mega
      Dependencies-=>Depends on bugs #35912
    Wed 21 Mar 2012 01:34:18 PM UTCjordighPriority5 - Normal=>1 - Later
    Tue 20 Mar 2012 07:04:39 PM UTCjordighSummary\\omega sometimes interpreted as \\o{}mega=>\omega sometimes interpreted as \o{}mega

    Back to the top


    Powered by Savane 3.1-cleanup1