emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] cautionary tale: avoid creating/using a macro called "title"


From: Eric S Fraga
Subject: Re: [O] cautionary tale: avoid creating/using a macro called "title"
Date: Wed, 21 Mar 2018 11:01:43 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

On Wednesday, 21 Mar 2018 at 02:06, Bastien wrote:
> Hi Eric,
>
> Eric S Fraga <address@hidden> writes:
>
>> I have, until now, used a macro
>>
>>   #+macro title The title of the document
>>
>> to be subsequently used in the actual #+title line, as in
>>
>>   #+title: @@latex:...@@ {{{title}}} @@latex:...@@
>>
>> (LaTeX details not important, I think.)
>
> just out of curiosity, I tried to reproduce this error but it works
> fine here.  Do you still have this error?

Yes.  The following minimal example does not export with my
configuration.

#+begin_src org
  ,#+macro: title The actual title
  ,#+title: @@latex:\fbox{@@ {{{title}}} @@latex:}@@
  ,#+options: toc:nil num:nil

  ,* heading
  And some text follows.

#+end_src

I have not tried with emacs -Q.  I will do so if this example works fine
for you.

Thanks,
eric

-- 
Eric S Fraga via Emacs 27.0.50, Org release_9.1.7-475-g3ffc7d

Attachment: signature.asc
Description: PGP signature


reply via email to

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