texmacs-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Texmacs-dev] [TeXmacs] Manage to get Maxima session in TeXmacs in W


From: Miguel de Benito Delgado
Subject: Re: [Texmacs-dev] [TeXmacs] Manage to get Maxima session in TeXmacs in Windows. Relatively easy workaround.
Date: Thu, 19 Mar 2015 23:08:27 +0100

Hi Adrian

I committed your fix, thanks.

On Thu, Mar 19, 2015 at 9:41 PM, Adrian S. <address@hidden> wrote:
which has no problems, but if I install in the default location, it
outputs a location with spaces, which somehow had to be escaped
somehow. I do not know how to fix that.

What about enclosing the path in single quotes? Does that help? Double quotes should be enough, though...

You can escape the string with something like

(if (os-mingw?)
    (with path (string-replace (getenv "TEXMACS_PATH") " " "\\ ")
      `((:launch
         ,(string-append "maxima.bat -p \"" path
                    "\\plugins\\maxima\\lisp\\texmacs-maxima.lisp\"")))

Best,
--
Miguel de  Benito.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]