- From: Amit Dubey <address@hidden>
- To: address@hidden (Joris van der Hoeven)
- Cc: address@hidden (Amit Dubey), address@hidden
- Subject: Re: [TeXmacs] An easy(?) question: how to force typesetting?
- Date: Wed, 27 Oct 2004 06:54:41 +0200 (MEST)
Thanks Joris,
It would be really helpful if you could fix this in the next
version. I will then submit citep and citet macros to those who
have asked for them.
Thanks again,
-Amit
>
>
>
Hi Amit,
>
>
On Mon, 25 Oct 2004, Amit Dubey wrote:
>
> I am using an external scheme script, and I need to make sure that
>
> a <reference|...> command is evaluated before the result is sent as
>
> an argument. Alternatively, I would like to execute the <reference|...>
>
> from the scheme script itself.
>
>
>
> E.g. what I have is:
>
>
>
> <assign|myfunc|<macro|x|<extern|scheme-func|<reference|<arg|x>>>>>
>
>
>
> And I'd like "scheme-func" to receive the result of "reference"
>
> rather than the tree <reference|...>
>
>
The tree "reference" *is* evaluated, but to itself...
>
In general, if you yant to force evaluation,
>
you may use the "quasi" and "unquote" primitives.
>
>
This is actually a bug (well, a small one, since this was not
>
needed by anyone until recently): the "reference" primitive is
>
only evaluated by the typesetter, not by the macro language.
>
I probably did that so, because the typesetter also adds
>
a hyperlink. I will correct this bug as soon as possible.
>
Please remind if I forget to do so for the next version.
>
>
Best wishes, Joris
>
>
Archive powered by MHonArc 2.6.19.