[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Texmacs-dev] Tensor indices
From: |
François Poulain |
Subject: |
Re: [Texmacs-dev] Tensor indices |
Date: |
Tue, 21 May 2013 11:42:25 +0200 |
Andrey,
Le Mon, 20 May 2013 16:26:23 +0700 (NOVT),
address@hidden a écrit :
> 1. How to call it from the editor without writing \extern and other
> long stuff? From the documentation, xmacro has an arbitrary number of
> arguments; but I failed to connect some xmacro to extern scheme
> function tensor.
I have the following snippet :
1) Inside TeXmacs :
<assign|my-macro|<xmacro|args|<extern|my-func|<quote-arg|args>>>>
2) In Scheme :
(tm-define (my-func t)
(:secure #t)
; here t is a "TeXmacs tree" and not an stree.
; ...
)
François
--
François Poulain <address@hidden>