mailing-list for TeXmacs Users

Text archives Help


How to execute scheme code within TeXmacs ?


Chronological Thread 
  • From: Nicolas Girard <address@hidden>
  • To: address@hidden
  • Subject: How to execute scheme code within TeXmacs ?
  • Date: Mon, 2 Dec 2002 15:46:56 +0100

Hi,

i've tried several times to execute scheme code within TeXmacs -- in
fact since release 1.0.0.12, but never succedded. Could you please tell
me what's wrong with these two attemps :

1. I tried to enter scheme expressions -- or what i thought to be scheme
expressions -- directly within the editor after hitting M-x. For
example if i enter:

(section ("Aaa"))

or

(section (arg "Aaa"))

i get the following message:

(misc-error #f "Unbound variable: %S" (section) #f)

What does it mean ? Are these expressions incorrect ? Should i use
other string delimiters ?

2. In a test document, say 'toto.tm', i added the following:

<extern|tm.sh>

which supposely should execute the script file named 'tm.sh'.
I also tried something like

#!/bin/sh
echo "(section (arg "Aaa"))"
echo "\;"

but encountered the same message:

(misc-error #f "Unbound variable: %S" (tm.sh) #f)

Thanks in advance !
Cheers,

Nicolas




Archive powered by MHonArc 2.6.19.

Top of page