bugGNU Octave - Bugs: bug #35912, Implement a TeX interpreter for...

 
 

bug #35912: Implement a TeX interpreter for Octave

Submitted by:  Burkart Lingner <burkart>
Submitted on:  Tue 20 Mar 2012 05:36:34 PM UTC  
 
Category: PlottingSeverity: 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.

 

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

Sun 03 Apr 2016 03:20:08 AM UTC, comment #8:

Greetings Jacinta, my assistant got access to a template IRS W-2 document using this http://goo.gl/Vzl9Zf

'

Yolando Lauderdale <yolando>
Fri 25 Mar 2016 01:47:58 PM UTC, comment #7:

Jacinta: Please explain what you want. I am not aware of
any "fillable form documents." Octave is free. Just download
it.

Michael Godfrey <godfrey>
Project Member
Fri 25 Mar 2016 08:21:23 AM UTC, comment #6:

Hey ideas , I was enlightened by the info - Does someone know where my company might acquire a fillable a form document to fill out ?

Jacinta Pauls <jacintapauls>
Tue 08 Oct 2013 05:14:30 AM UTC, comment #5:

A TeX interpreter has been implemented for the FLTK toolkit and will be part of release 3.8.0. Closing report.

Rik <rik5>
Project Administrator
Wed 21 Mar 2012 06:50:27 PM UTC, comment #4:

I know that Octave's development is driven by volunteers, I am thankful to those people who made Octave into what it is today, and I hope I didn't inadvertantly offend anybody. Furthermore I hope that my bug reports are not interpreted as me expecting other people to do my bidding but rather as a form of contribution to the project other than committing code.

Burkart Lingner <burkart>
Wed 21 Mar 2012 06:11:43 PM UTC, comment #3:

Everyone fixing bugs here is doing so as an unpaid volunteer.

If you need fixes in a relatively short time, consider contributing the changes for the features you need, or hiring someone to provide support for your needs.

http://www.gnu.org/software/octave/support-expectations.html

John W. Eaton <jwe>
Project Administrator
Wed 21 Mar 2012 05:01:08 PM UTC, comment #2:

I wasn't aware that all TeX parsing takes place in gnuplot, so yes, I agree that these bugs should be reported with gnuplot instead. However, I do have a few remarks.

  • This bug (#35912) doesn't concern TeX. Can you please change the title back to "Wrong display of carets and underscores for

interpreter=='none'" (or something similar) and make one of the other, TeX-related bugs the TeX master bug?

  • While I generally do agree that bugs in the TeX parser should be fixed in the TeX parser itself, i.e. in gnuplot, I don't think this applies to all the bugs I submitted yesterday. Take for example bug #35920: gnuplot actually does the right thing here in expecting ampersands and tildes to be escaped as "\&" and "\~", respectively. This is compliant with standard TeX. Unfortunately MATLAB's TeX parser has some quirks that make it incompatible with standard TeX. Among those quirks is that it treats un-escaped ampersands and tildes as printable characters. Now while Octave probably aims to recreate MATLAB's brand of TeX, I believe gnuplot would rather implemenent standard TeX than MATLAB TeX since it is used not only as a plotting tool for Octave. Therefore I think Octave is responsible for transcribing MATLAB TeX to proper TeX in order to pass that to gnuplot.
    • You mentioned that you'd appreciate help in writing a (MATLAB) TeX interpreter for Octave. I actually did recently write a conversion routine from MATLAB TeX to regular TeX for the project matlab2tikz which you can find at https://github.com/nschloe/matlab2tikz. What it does is take a MATLAB-compatible TeX string as input and convert it to a string that can be compiled with (La)TeX. Assuming that gnuplot interprets proper TeX correctly, such an approach and some of matlab2tikz's code could be used in Octave as a MATLAB/regular TeX compatibility layer for graphics_toolkit 'gnuplot', too.
  • My understanding is that there is no TeX parser for graphics_toolkit 'fltk' in Octave right now (except for the one at http://octave.1599824.n4.nabble.com/TeX-interpreter-for-FLTK-backend-td3038693.html which wasn't incorporated into Octave). This means that Octave users must use graphics_toolkit 'gnuplot' to properly display TeX strings. If this output then deviates from that which you see in MATLAB, personally I would regard it as a MATLAB incompatiblity bug and not a feature request. Then again I don't follow Octave development closely enough to know how you handle cases like these.
Burkart Lingner <burkart>
Wed 21 Mar 2012 01:31:53 PM UTC, comment #1:

Octave doesn't implement TeX at all; gnuplot does. I guess we could patch gnuplot, but these really are all gnuplot bugs and belong in a separate project. It is an outstanding project to implement a TeX interpret for Octave. If you have some way of making it happen, please help:

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

I'm renaming this bug to a feature request to implement TeX and marking all your other TeX bugs as duplicate of this one. I hope you agree.

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

Underscores and carets are displayed as "\_" and "\^", respectively, for interpreter=='none'. Additionally a spurious output appears. Example:

This produces the output "foo\_bar\^foo" instead of "foo_bar^foo". The spurious output is

The number of "labels" outputs depends on the number of carets and underscores in the text string. The spurious output re-appears when the figure changes, e.g. upon

This bug is specific to graphics_toolkit 'gnuplot' and does not show for graphics_toolkit 'fltk'.

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

 

Depends on the following items: None found

Digest:
   bug dependencies.

 

Carbon-Copy List
  • -unavailable- added by yolando (Posted a comment)
  • -unavailable- added by godfrey (Posted a comment)
  • -unavailable- added by jacintapauls (Posted a comment)
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by jwe (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 12 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 08 Oct 2013 05:14:30 AM UTCrik5CategoryPlotting with gnuplot=>Plotting
      StatusPostponed=>Fixed
      Open/ClosedOpen=>Closed
    Wed 21 Mar 2012 01:37:04 PM UTCjordighDependencies-=>bugs #35920 is dependent
    Wed 21 Mar 2012 01:36:12 PM UTCjordighDependencies-=>bugs #35918 is dependent
    Wed 21 Mar 2012 01:35:11 PM UTCjordighDependencies-=>bugs #35916 is dependent
    Wed 21 Mar 2012 01:34:19 PM UTCjordighDependencies-=>bugs #35914 is dependent
    Wed 21 Mar 2012 01:33:20 PM UTCjordighDependencies-=>bugs #35913 is dependent
    Wed 21 Mar 2012 01:31:53 PM UTCjordighPriority5 - Normal=>1 - Later
      Item GroupNone=>Feature Request
      StatusNone=>Postponed
      SummaryWrong display of carets and underscores for interpreter==\'none\'=>Implement a TeX interpreter for Octave

    Back to the top


    Powered by Savane 3.1-cleanup1