guile-user
[Top][All Lists]
Advanced

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

Re: Guile and GNU TeXmacs


From: Joris van der Hoeven
Subject: Re: Guile and GNU TeXmacs
Date: Wed, 12 Dec 2001 10:04:16 +0100 (MET)

On Wed, 12 Dec 2001, Thomas Wawrzinek wrote:

> Hi!
> 
> I tried JACAL with guile 1.5.4. To start it, I fired up guile in the
> directory where I unpacked JACAL, then loaded the slib module and started
> JACAL as described in its manual:
> 
> $ guile
> guile> (use-modules (ice-9 slib))
> guile> (slib:load "math.scm")
> ............
> JACAL version 1b1, Copyright 1989-2001 Aubrey Jaffer
> JACAL comes with ABSOLUTELY NO WARRANTY; for details type `(terms)'.
> This is free software, and you are welcome to redistribute it
> under certain conditions; type `(terms)' for details.
> ;;; Type (math) to begin.
> guile> (math)
> type qed() to return to scheme, type help() for help.
> e0 : guile> 
> 
> However, I got errors when trying to use symbolic variables (e.g. `a+b;').
> 
> I had to set JACAL's output grammar representation to "scheme" to get 
> it working:
> 
> e0 : guile> set outgrammar scheme;
> 
> e0 : guile> a + b;
> 
> (define e0 (+ a b))
> 
> e1 : guile> 
> 
> Presumably, there is something in JACAL's infix grammar interpretation code
> or the underlying slib, that isn't compatible with guile?
> 
> I didn't investigate this further, because I've not started to do any
> serious work with JACAL.
> 
> HTH you to get started, in case you were experiencing the same error.

Thanks for your reply. I indeed experienced a similar problem and
the outgrammar line does the trick. Of course, someone would now still
have to write the interface with TeXmacs. Is there some way to convert
a scheme expression into TeX/LaTeX in Jacal?

Best regards,

Joris


-----------------------------------------------------------
Joris van der Hoeven <address@hidden>
http://www.texmacs.org: GNU TeXmacs scientific text editor
http://www.math.u-psud.fr/~vdhoeven: personal homepage
-----------------------------------------------------------





reply via email to

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