I guess fork_jtask_ is used in windows. I would prefer png to pdf output because pdf veiwers requie x-window running while png can be viewed under framebuffer.
Вс, 31 авг 2014, Scott Locklin написал(а): > Thanks for the quick reply, Bill. > > I remember how to do it now. If you load the plot methods via require'plot' > from emacs, and you're set up to use the pdf viewer, you have to change the > following part of stdlb.ijs to include the extra ' &' to fork the PDF > viewer. (aka change the "2!:1 cmd" line to "2!:1 cmd, ' &'") > > cmd=. PDFReader,' ',dquote cmd > try. > 2!:1 cmd, ' &' > catch. > msg=. 'Could not run the PDFReader with the command:',LF2 > > Anyway, maybe this will help somebody else in the future. It is a lot more > convenient being able to plot without your fingers leaving the keyboard in > emacs (which is one of the main reasons I like to use emacs). > > For the record, there is another pdf viewer thing in > graphics/plot/jzplot.ijs which looks like it forks, but that code is never > reached when I use plotting from jconsole/emacs. > > The relevant line there is > fork_jtask_ (dquote PDFReader_j_),' ', (dquote file) > > -SL > > Bill Lam wrote: > > >I know almost nothing about emacs. for J7 Jconsole , there is a > >cairo output which generates png image. at ~temp/plot.png IIRC. > > On 08/31/2014 07:42 PM, Scott Locklin wrote: > >I know some of you are emacs types like me. I recall being able to call up > >multiple plots in emacs using jconsole/J7.x/emacs, but I can't for the > >life of me remember the configuration magic for achieving this. > > > >The symptom, just to be clear, is you need to kill the plot window to > >return to the J session. > > > >It seems that you should be able to fork the pdf viewer somehow, at the > >very least (sticking a '&' after the shell out if you're working in > >something unix-like as I am). > > > >-SL > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm -- regards, ==================================================== GPG key 1024D/4434BAB3 2008-08-24 gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 gpg --keyserver subkeys.pgp.net --armor --export 4434BAB3 ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
