Skip to Content.
Sympa Menu

texmacs-users - Running yacas from texmacs - problem in finding the relevant version

Subject: mailing-list for TeXmacs Users

List archive

Running yacas from texmacs - problem in finding the relevant version


Chronological Thread 
  • From: Søren Højsgaard <address@hidden>
  • To: <address@hidden>
  • Subject: Running yacas from texmacs - problem in finding the relevant version
  • Date: Wed, 12 Jul 2006 22:55:51 +0200

I've tried yacas from texmacs. When I choose Session -> Yacas I get the
informative Windows message that yacas has encountered an error. Double
clicking in texmacs gives a the following message in red:

Unhandled Exception: System.IO.FileNotFoundException: Could not find file
'D:\\YacasFolder\\binaries\\--texmacs'.
File name: 'D:\\YacasFolder\\binaries\\--texmacs'
\ \ \ at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)

There IS indeed a folder d:\YacasFolder\binaries on my laptop, but the
version of yacas which is invoked when i start yacas from a shell prompt is
in a different place. If I rename that folder, then yacas starts in texmacs
with the message

This is Yacas version `1.0.54' under TeXmacs
\;
Yacas is Free Software--Free as in Freedom--so you can redistribute Yacas or
\;

HOWEVER, the yacas version which I've installed is 1.0.61. So that makes me
wonder
1) Does texmacs come with a "local version" of yacas? (I guess not!)
2) How does texmacs get the idea of looking into the directory
d:\YacasFolder\binaries (which is not on the computers search path)

I located the file init-yacas.scm and modified it to give the absolute path
to my yacas program:

(plugin-configure yacas
(:require (url-exists-in-path? "yacas"))
(:launch "c:/local/yacas/winrel/yacas --texmacs")
(:session "Yacas"))

- and then it works. But there must be either a bug somewhere or I've messed
up something somewhere...

Can anyone help me to sort this out?
Thanks in advance
Søren






________________________________

Fra: Michael Lachmann [mailto:address@hidden]
Sendt: on 12-07-2006 17:49
Til: Søren Højsgaard
Cc: address@hidden
Emne: Re: [TeXmacs] Newbie-questions



Søren Højsgaard wrote:
> - Say I start writing some text. Then I start a mathsession with Axiom
> and do something. Then I want to leave hta mathsession and return to,
> say, writing some more text. I can't figure out how to "leave" the
> mathsession.

You have to click with the mouse beyond the session. Usually this means
click with the mouse far to the right in the line you stand on.
(It would be really usefull to have a key for this....)

> - Can I combine latex-math with "wysiwyg"-math? I.e. can I write $\int
> f(x)dx$ and then have that converted (on the fly) to something that
> looks nice? I have a Danish computer, and I am trying to locate the
> "^" sign.

Yes! Just type the enter key after \int. I.e. type
$\int[enter] f(x)dx$

Michael





Archive powered by MHonArc 2.6.19.

Top of Page