texmacs-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Texmacs-dev] Very strange macro behaviour


From: Joris van der Hoeven
Subject: Re: [Texmacs-dev] Very strange macro behaviour
Date: Fri, 5 Jun 2009 23:08:02 +0200
User-agent: Mutt/1.5.9i

Hi Alvaro,

I think the quote is superfluous in your macro.
Please look at the documentation for how to use quasi, quote, unquote, etc.
There should be some examples in the style packages to. Try a grep on the 
sources.

Best wishes, Joris


On Fri, Jun 05, 2009 at 04:59:06PM +0200, Alvaro Tejero Cantero wrote:
> Consider the following macro:
> 
> <assign|mylink|
>   <macro|name|
>                <hlink|<arg|name>|
>                <merge|<arg|name>|<quote|.tm>>>>>
> 
> it just makes easier to create wikilinks by creating a \hlink with
> text 'name' that point to the file 'name.tm'
> 
> The weirdness is that whenever one uses the macro, like in
> 
> <mylink|least squares fit>
> 
> If by chance one presses return at the end of the argument input,
> instead of getting out of the environment with -> (right arrow), the
> macro is broken for ever, and even deleting the return character
> doesn't save it.
> 
> Álvaro.
> 
> PS. any comments about the macro welcome, I don't think I understand
> the eval/quote/unquote/... primitives yet...
> 
> 
> _______________________________________________
> Texmacs-dev mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/texmacs-dev




reply via email to

[Prev in Thread] Current Thread [Next in Thread]