bugGNU Octave - Bugs: bug #42582, some TeX symbols don't work...


bug #42582: some TeX symbols don't work on-screen (fltk)

Submitted by:  Hartmut <hardy>
Submitted on:  Wed 18 Jun 2014 06:54:08 PM UTC  
Category: Plotting with OpenGLSeverity: 1 - Wish
Priority: 3 - LowItem Group: Feature Request
Status: PostponedAssigned to: None
Originator Name: Open/Closed: Open
Release: devOperating System: Any

Add a New Comment(Rich Markup)

You are not logged in

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


(Jump to the original submission Jump to the original submission)

Sun 03 Sep 2017 11:01:14 PM UTC, comment #9:

I looked up pgs. 434-438 of the TeXbook. It appears that
what is in the Manual is not what I thought I had done.
I intended to do all of Lists:
1, 2, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15.
I think that there may have been a problem with the missing symbols, but this was a long time ago.

The missing symbols from these lists should be included if

But, adding non-TeX symbols is not, I think, a good idea.
Some thought could go into a mechanism for users to create
their own symbols.

Michael Godfrey <godfrey>
Project Member
Sun 03 Sep 2017 09:34:38 PM UTC, comment #8:

I have had a look what symbols TeX supports [1] and are not currently implemented in Octave [2]. From those I've picked the ones I personally have seen in scientific plots and consider them useful myself. So here is my suggested (and maybe very personal) list:

[1] http://www.math.union.edu/~dpvc/jsmath/symbols/welcome.html
This webpage claims to list „The symbols listed in Appendix F of The TeXbook“

[2] https://www.gnu.org/software/octave/doc/interpreter/Use-of-the-interpreter-Property.html

Here is the full list of TeX symbols in [1] which are not yet in Octave [2] (leftout stuff is marked with square brackets):

Hartmut <hardy>
Fri 01 Sep 2017 05:07:07 PM UTC, comment #7:

If more symbols are added it would be good to make clear
that the current set is taken from the TeX book. Additional
symbols have been added for some specific reason.

In any case the result should be able to be processed by
TeX since this is sometimes done to produce results
suitable for publication, for instance.

Michael Godfrey <godfrey>
Project Member
Fri 01 Sep 2017 04:36:40 PM UTC, comment #6:

Given that we like to view Octave as a superset of Matlab, I don't have an issue with adding some more symbols to the list. But, I don't want to go overboard and add 1,000 new entries.

Would someone be willing to look at TeX and the Octave manual and come up with a list of additional symbols that would be useful?

Rik <rik5>
Project Administrator
Tue 24 Jun 2014 08:24:43 PM UTC, comment #5:

Updating bug priority and severity. And of course there is always full Unicode support as a long-term goal, which if/when done might obviate the need to support more named TeX math symbols.

Mike Miller <mtmiller>
Project Administrator
Wed 18 Jun 2014 11:28:49 PM UTC, comment #4:

Table 15.1 is actually derived from the TeX Book.

I think that it is a good idea to adher to what is specified
by Knuth in his documentation.

There are other means of introducing TeX source code,
as explained in the Manual.

This was discussed about a year ago when Table 15.1 and
the code were updated to match the tables in the TeX Book.

Michael Godfrey <godfrey>
Project Member
Wed 18 Jun 2014 08:27:51 PM UTC, comment #3:

We could change this into a wish list item, but currently Octave is only trying to match Matlab's character set. It's not terrifically hard, but it does take some work to add a new character to the TeX interpreter so if we're mostly happy with the ones we have then I would make this a low priority item.

Rik <rik5>
Project Administrator
Wed 18 Jun 2014 07:43:10 PM UTC, comment #2:

Oh, sorry. Then I was mislead by the information in the mentioned book of jwe on "Octave 3" (link in my original post). Maybe that's a bit outdated now.

If those symbols currently are not mentioned in the Octave manual nor support by Matlab, then I personally wouldn't consider this to be a bug at all.

But now it's up to the TeX experts...

Hartmut <hardy>
Wed 18 Jun 2014 07:12:42 PM UTC, comment #1:

Thanks for your bug report. I will have to let someone with more expertise on TeX support comment on whether or not this will be fixed. Setting status to "need info" until that is resolved.

However, the set of TeX symbols that Octave supports is explicitly intended to match the set that Matlab supports. Here is the Matlab set:


and here is the Octave set:


As you can see, the symbols you say are not working are not listed in either of these tables, so they are currently not expected to work. The only question is, should they be supported or do we strictly support only the same set of characters as Matlab?

Mike Miller <mtmiller>
Project Administrator
Wed 18 Jun 2014 06:54:08 PM UTC, original submission:

Here is some sample script to show what I mean:

If I run this on Octave 3.8.1 as well as on Octave 3.8.2-rc1 under Ubuntu Linux, then the TeX symbols in s and t are NOT shown on screen. This is using FLTK.

If I switch to Gnuplot, then most of those symbols appear on screen, just the one in t still does not appear.

I assumed that all of those symbols should work because of this reference: http://www.network-theory.co.uk/docs/octave3/octave_172.html

I don't know if this happens as well on Windows installations, but I would assume yes.

Hartmut <hardy>


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

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by godfrey (Posted a comment)
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by mtmiller (Posted a comment)
  • -unavailable- added by hardy (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 8 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 24 Jun 2014 08:24:43 PM UTCmtmillerSeverity3 - Normal=>1 - Wish
      Priority5 - Normal=>3 - Low
      Item GroupIncorrect Result=>Feature Request
      StatusNeed Info=>Postponed
      Operating SystemGNU/Linux=>Any
    Wed 18 Jun 2014 07:12:42 PM UTCmtmillerCategoryPlotting=>Plotting with OpenGL
      StatusNone=>Need Info

    Back to the top

    Powered by Savane 3.1-cleanup1