mailing-list for TeXmacs Users

Text archives Help


Re: [TeXmacs] Problems with Scheme


Chronological Thread 
  • From: Javier Arántegui <address@hidden>
  • To: address@hidden
  • Subject: Re: [TeXmacs] Problems with Scheme
  • Date: Thu, 18 Nov 2004 14:11:24 +0100
  • Organization: Univ. de Lleida

El Jueves, 18 de Noviembre de 2004 10:02, Joris van der Hoeven escribió:
> In recent versions of TeXmacs, we directly pass the arguments as trees,
> so you should convert them to strings using tree->string.
> However, there is a bug with this, since the > in tree->string
> is currently rewritten as <gtr>. I hope to take a look at this soon.
> You may write a function (define (f t) (string-length (tree->string t)))
> and use "f".

Thank you very much. This was just driving me crazy. I thought that I was
doing something wrong but I was unable to find the problem.

I understand that I must define the function t in my-init-texmacs.scm. Then I
can use it in the text using extern. Did I get it correctly? [I don't thing
so because I tried it and it didn't work]

Javier


--

Javier Arántegui
Dept. Tecnologia de Alimentos / Dept. of Food Technology
Universitat de Lleida / University of Lleida (Spain)

Tel. +34 973702595
Fax +34 973702596
http://www.tecal.udl.es



Archive powered by MHonArc 2.6.19.

Top of page