Subject: mailing-list for TeXmacs Users
List archive
From : Joris van der Hoeven <address@hidden>- To: address@hidden
- Subject: Re: [TeXmacs] command interruption
- Date: Mon, 18 Jun 2007 15:34:27 +0200
On Mon, Jun 18, 2007 at 08:18:08PM +0800, Buganini wrote:
> I made a shell script to inserting specified session automatically
> texmacs-session:
> #!/bin/sh
> texmacs -x "(if (no-name?) (make-session \"$1\" (url->string
> (get-name-buffer))))" -x '(session-use-math-input (not
> (session-math-input?)))'
>
> by this I can set "texmacs-session maxima" as maxima's command, and
> "texmacs-session scilab" as for scilab
>
> The problem is:
> If I click on the document before the maxima's prompt shows up, maxima
> session won't be inserted.
You may use the following kind of command
texmacs -x "(begin (lazy-plugin-force) (make-session \"maxima\"
\"default\"))"
The point is that TeXmacs boots is a lazy fashion, so you should always
make sure that the needed functionality is already present.
In the case of plug-ins, this can be done using (lazy-plugin-force),
or, more specifically, using (lazy-plugin-initialize "maxima").
Best wishes, Joris
- command interruption, Buganini, 06/18/2007
- Re: [TeXmacs] command interruption, Joris van der Hoeven, 06/18/2007
- Message not available
- Re: [TeXmacs] command interruption, Joris van der Hoeven, 06/18/2007
- Message not available
- Re: [TeXmacs] command interruption, Joris van der Hoeven, 06/18/2007
Archive powered by MHonArc 2.6.19.