Subject: R: Re: get the current input file's directory
From: pvarisco at libero.it
Date: Fri, 8 Feb 2013 15:40:43 +0100 (CET)
Thanks to all for your replies.
In XMaxima, there is the menu command "Batch file Silently". This command
works as Jaime said and thus it's free from the problem I raised.
In wxMaxima you have two choices.
1) use the command menu "Load Package.." which LOADS mac/lisp files and it is
identical to "Batch file Silently"
2) use the menu command "Open..." which OPENS wxm/wxmx files. This menu
command does NOT load automatically the (whole) file in the Maxima backgroud
running process. That's because wxMaxima is supposed to be an Editor, like
LibreOffice, Notepad and so on. The Mathematica GUI behaves the same way in
relation to the Math Kernel running in background.
Now, I can use XMaxima or wxMaxima + first choice and forget about the issue I
stubbornly raised...
But I would prefer to go with the second choice.
With a reason I think, because my caller files are wxmx files. This is an xml
format that provide this wonderful feature: when I open them, the plots and the
computation results are there, they are embedded and saved within the file.
PV
PS sorry for the new threads I'm opening, I really don't understand how to
properly post to this mailing list...
>----Messaggio originale----
>Da: villate at fe.up.pt
>Data: 08/02/2013 14.19
>A: "pvarisco at libero.it"<pvarisco at libero.it>
>Cc: <maxima at math.utexas.edu>
>Ogg: Re: R: Re: [Maxima] get the current input file's directory
>
>On 02/08/2013 10:33 AM, pvarisco at libero.it wrote:
>> What you say only works in XMaxima or Maxima through console, where you
start
>> your session with nothing and you are supposed to provide a load("")
command to
>> begin with.
>> What about wxMaxima, where you OPEN a file through a GUI (Windows I my
case)?
>> This OPEN action is not a load("") so you get no load_pathname
functionality!
>> This file has wxm extension and somewhere in its contents, it calls a mac
>> library with the load("") function and the the load_pathname
functionality.
>Hi,
>in Xmaxima you can also OPEN the file with a simple click on a menu
>entry but what goes under the hood is that the graphical interface
>silently sends a load or batchload command to the Maxima session. I
>cannot check it in Wxmaxima because I don't have it installed right now,
>but my guess is that Wxmaxima is doing the same thing.
>Cheers,
>Jaime
>
>