Andrey,

Le Mon, 20 May 2013 16:26:23 +0700 (NOVT),
gro...@gentoo.org 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 <fpoul...@metrodore.fr>

_______________________________________________
Texmacs-dev mailing list
Texmacs-dev@gnu.org
https://lists.gnu.org/mailman/listinfo/texmacs-dev

Reply via email to