I've found the most neutral solution. TeXmacs plugin interface supports middleware, which can be any executables =) So I can add such a program. All that will remain is to send ")set output texmacs on" and other commands at initialization.
On Tue, Jan 4, 2011 at 8:29 PM, Ralf Hemmecke <[email protected]> wrote: > On 01/04/2011 08:40 AM, Alexander Solovets wrote: >>>> >>>> 2) Globally changing ~/.fricas.input is not a good idea in my opinion. >>>> For 2), I wish FriCAS had a way to run scripts specified on the command >>>> line, i.e. something like "fricas -read texmacs.input". >> >> I think either script or command sequence is fine, but it seems that >> AXIOMsys doesn't receive command line argument at all. If there are >> any they are processed either by "axiom" script or by "sman". >> Therefore I need some help in this question. > > Oh, maybe it is easier than I thought. The file .fricas.input is not only > tried from the path $HOME, but first from the current directory. > In other words writing something like ... > > (plugin-configure fricas > (:require (url-exists-in-path? "fricas")) > (:launch "cd ~/.TeXmacs/plugins/fricas; fricas -nosman") > (:session "FriCAS")) > > in ~/.TeXmacs/plugins/fricas/progs/init-fricas.scm tries to read > ~/.TeXmacs/plugins/fricas/.fricas.input. > > Ralf > > -- > 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 [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/fricas-devel?hl=en. > > -- 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/fricas-devel?hl=en.
