[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Texmacs-dev] Re: trouble with entangling scheme and "texmacs langauge"
From: |
Corey Sweeney |
Subject: |
[Texmacs-dev] Re: trouble with entangling scheme and "texmacs langauge" in styesheets |
Date: |
Tue, 26 Oct 2004 11:15:21 -0500 |
i tried about 30 or 40 combinations and found something really interseting.
<extern|(lambda (x) `(render-file whaaa))|a> will properly display the
table that render-file macro generates with a parameter of the string
"whaaa". however putting
<assign|wierd|<extern|(lambda (x) `(render-file whaaa))|a>> in a
stylesheet, and then calling
<wierd> in a document, returns <error|compound render-file>. bizarre
Corey
On Tue, 26 Oct 2004 09:52:48 -0500, Corey Sweeney
<address@hidden> wrote:
> heh. that was supposed to be:
>
> (assign wierd (extern ''(lambda (x) (stree-to-tree (list `render-file
> "Ah. My spine!")))'' ''a''))
>
> i really gotta figure a way to get cut and paste working
>
> by the way, what counts and "development" for the texmacs-dev list.
> scheme is a programming language, but it's intended to be accessible
> by users. so should scheme related questions go to the texmacs dev or
> users list?
>
> Corey
>
>
>
>
> On Mon, 25 Oct 2004 23:19:05 -0500, Corey Sweeney
> <address@hidden> wrote:
> > I'm having trouble getting the following definition in my stylesheet
> > working.
> >
> > (assign wierd (extern ''(stree-to-tree (list `render-file "Ah. My
> > spine!"))''))
> >
> > where "render-file" is a macro that that takes one parameter.
> > and where we want typeing \wierd in a document to draw
> > <render-file|Ah. My spine!>
> >
> > I'm doing this cause i have a list of parameters that must be
> > generated in scheme.
> >
> > also, to probe the functions better, how can i reference the current
> > document tree? something like (tree->stree self)
> >
> > Corey
> >
>