On Wed, Apr 29, 2009 at 2:52 PM, Martin Rubey wrote: > > Thus, you really have to edit efricas: > > instead of > > emacs --eval '(progn (server-start) (setq load-path (cons (quote > "/home/math/rubey//lib/fricas/emacs") load-path)) (setq auto-mode-alist (cons > (quote ("\\.fri" . fricas-mode)) auto-mode-alist)) (require (quote fricas)))' > -f fricas; > > write > > emacs --eval '(progn (server-start) (setq load-path (cons (quote > "/home/math/rubey//lib/fricas/emacs") load-path)) (setq auto-mode-alist (cons > (quote ("\\.fri" . fricas-mode)) auto-mode-alist)) (setq > temporary-file-directory "/home/bpage") (require (quote fricas)))' -f fricas; > > i.e. just write (setq temporary-file-directory "/home/bpage") *before* > (require (quote fricas)) > > (Of course, that's just to try whether we can get anywhere. This is not > a fix I'd push into the repository, but I have no better idea right > now.) >
Ok, that worked. I have a nice LaTeX graphic displayed inside efricas now! Maybe one possible solution would be to allow the user to specify the temp directory on the command line? Or maybe it should just use some standard linux location for temporary files, such as /tmp ? I think that should be ok on both linux and cygwin, no? >> Also, probably I should revert the earlier change from png to PNG, >> right? > > Hm, I just looked at the source, yes it shouldn't really matter. > Yes, it's ok. Regards, Bill Page. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "FriCAS - computer algebra system" group. To post to this group, send email to fricas-devel@googlegroups.com To unsubscribe from this group, send email to fricas-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/fricas-devel?hl=en -~----------~----~----~----~------~----~------~--~---