Skip to Content.
Sympa Menu

texmacs-users - Re: [TeXmacs] Manage to get Maxima session in TeXmacs in Windows. Relatively easy workaround.

Subject: mailing-list for TeXmacs Users

List archive

Re: [TeXmacs] Manage to get Maxima session in TeXmacs in Windows. Relatively easy workaround.


Chronological Thread 
  • From: Miguel de Benito Delgado <address@hidden>
  • To: "address@hidden" <address@hidden>, "address@hidden" <address@hidden>
  • Subject: Re: [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.



Archive powered by MHonArc 2.6.19.

Top of Page