emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Macro question with new texinfo exporter


From: Nicolas Goaziou
Subject: Re: [O] Macro question with new texinfo exporter
Date: Tue, 29 Jan 2013 19:21:32 +0100

Hello,

address@hidden (Thomas S. Dye) writes:

> I have the following two macros:
>
> #+MACRO: markup @@info:@$1{@@$2@@info:}@@
> #+MACRO: kbd {{{markup(kbd,$1)}}}
>
> When I export to texinfo using the new exporter, the following macro
> call triggers an error (byte-code: Wrong type argument: consp, nil):
>
> {{{kbd(C-,)}}}
>
> and so does this:
>
> {{{kbd(C-\,)}}}
>
> In fact, any number of backslashes appears to trigger the same error.
>
> I'm hoping to find @kbd{C-,} in the .texi output.

I didn't try it, but it probably comes from the syntax of macros, which
is a bit brittle wrt commas.

We ought to modify it. Perhaps something like:

  {{{name arg1 "arg2 with space" "arg3 \"with\" quote"}}}


Regards,

-- 
Nicolas Goaziou



reply via email to

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