Skip to Content.
Sympa Menu

texmacs-users - Re: [TeXmacs] How to have TeXmacs run only one instance ?

Subject: mailing-list for TeXmacs Users

List archive

Re: [TeXmacs] How to have TeXmacs run only one instance ?


Chronological Thread 
  • From: Tobia <address@hidden>
  • To: address@hidden
  • Subject: Re: [TeXmacs] How to have TeXmacs run only one instance ?
  • Date: Fri, 8 Jun 2007 20:18:18 +0200

Robert Lamar wrote:
> One hack that might require minimal modification to TeXmacs would be
> to add a command line option which permits one to send scheme commands
> to a running instance of TeXmacs.

Or it can be done by sending keypresses directly to TeXmacs's window:

xvkbd -window TeXmacs -text "\\ex(open-file \"$1\")\\r"

(open-file "$1") is just an example, I don't know the exact command.

The command-line switch would probably be better though, as it would
work even when TeXmacs is in some particular input mode.


> This way, a shell script could be written which would check to see if
> TeXmacs was already running. If it were, it would send a command to
> open the file as Krzysztof suggests. Otherwise, it would simply start
> up TeXmacs and open the file as normal.

This I leave up to other TeXmacsers


Tobia



Archive powered by MHonArc 2.6.19.

Top of Page