Bill:

Try putting your code in an .m file and then start a TeXmacs Octave session. Load the .m file using the Octave session command line. You may have to change the active directory to where your .m file and EPS file are located on you system.

Then try your code on some EPS file of interest.

If you can get this to work, then it may merely be a matter of finding the best way to load this file automatically when the Octave plugin code is executed when the session is started. This should be the easier part. Getting the code right for the EPS file to insert inline is the harder part.

David Miller

On 5/17/2013 5:40 PM, Bill Eaton wrote:
It should be easy to do the same thing in Octave. The ps_out function in
Octave could be:
      function ps_out(fname)
         disp( [char(2); 'ps:';  fileread(fname) ; char(5)] )
      endfunction

I'm dying to test this out and add more sophisticated error checking,
but I don't know how to hack the appropriate file to look for the ps_out
function. I think it would be in tmrepl.m. If someone can suggest the
appropriate lines to modify, I would greatly appreciate and be happy to
report my findings.


_______________________________________________
Texmacs-dev mailing list
Texmacs-dev@gnu.org
https://lists.gnu.org/mailman/listinfo/texmacs-dev

Reply via email to