Martin,

Thanks for the hints.

On Mon, Nov 8, 2010 at 4:16 AM, Martin Rubey wrote:
> ...
> Basic help is obtained by pressing
>
> C-h m
>
> (that is ctrl-h, followed by m without ctrl).  There, "M" is for
> "Meta", a key that is usually labelled "Alt" on current
> keyboards.
>

Is this the same help accessible from the menu? In general I never
remember any of these magic keystrokes unless I use them every day.

>> For example. I started efricas and entered the commands
>>
>> (1) -> )set output algebra off
>> (1) -> )set output tex on
>> (1) -> integrate(sin(sqrt(x)),x)
>>
>> Things look nice, so now I want to save it. So I click File/Save As
>> and enter "test2" (enter). emacs complains that the file does not end
>> in new line....
>
> That's a bug, but I cannot reproduce it, unfortunately.  Could you
> report emacs version number (press C-h C-a, i.e. Ctrl h then Ctrl a),
> lisp version, operating system.
>

GNU Emacs 23.1.1 (x86_64-suse-linux-gnu, GTK+ Version 2.20.1)
 of 2010-07-05 on build35

>> Add one? So I click Yes and I get a message which
>> isn't very clear.
>>
>>    Edit /home/wspage/test2.input to see the saved input lines.
>>    The saved history file is /home/wspage/test2.axh .
>>
>> But I suppose that emacs also created a file called "test2" anyway?
>
> Yes.  It should.  A hint: with efricas, it's much better if the filename
> you choose ends with ".fri",  eg: test2.fri
>

Does the name affect the way it behaves or is this just convenience
for the user?

>> Then I click File/Quit to exit.  And now I want to start again with
>> the same file and get back to the same state I was in when I saved it.
>>
>> I tried
>>
>>  $ efricas test2
>>
>> But I do not see the expected contents of the file. So I try File/Open
>> and select the file "test2".  Now I guess I see what's in the file but
>> it doesn't look anything like it did before.
>
> It should work to press
>
> M-x fricas-mode RET
>
> (that is: Alt x, then type "fricas-mode", then press return)
>

 $ efricas test2

Did not open the file. Is there some way this could be made to work
from the command line?

Is M-x accessible from the menu?

After I entered M-x fricas-mode RET the window looks more like it did
when I saved it but the TeX output is displayed as text.  It is not
rendered like it was at the time I saved it.

(1) -> )set output algebra off
(1) -> )set output tex on
(1) -> integrate(sin(sqrt(x)),x)

$$
{2 \  {\sin
\left(
{{\sqrt {x}}}
\right)}}
-{2 \  {\sqrt {x}} \  {\cos
\left(
{{\sqrt {x}}}
\right)}}
\leqno(1)
$$


                                         Type: Union(Expression(Integer),...)
(2) -> )history )save /home/wspage/test2

(1) -> )history )restore /home/wspage/test2
   All user variables and function definitions have been cleared.
   The workspace has been successfully restored from the history file
      /home/wspage/test2.axh .

Also these )history commands were not part of the original worksheet.

>> Any suggestions one how I can get past these flubbed steps and do
>> something useful with this?  A basic How-To with a couple of examples
>> would be very useful to me.
>
> Loading and saving worksheets in fricas-mode depends on the save
> history facility in fricas, which is not very reliable, unfortunately. (eg.,
> saving results of the guessing package is currently broken.  However,
> Waldek provided a fix, which only needs testing.  You'll find it on the
> mailing list.)

Is there some way to just load and re-execute a simple series of
commands? Most of the time I do not care about history.

> Also, display of nicely typeset LaTeX is not as nice as
> it could be, because breqn wants reasonable LaTeX, which the
> domain TEX does not produce.  (I wish it would, because breqn is
> really quite standard and well supported.)
>

Yes, I am very familiar with this problem.

Regards,
Bill Page.

-- 
You received this message because you are subscribed to the Google Groups 
"FriCAS - computer algebra system" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/fricas-devel?hl=en.

Reply via email to