From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: cautionary tale: avoid creating/using a macro called "title" Date: Wed, 21 Mar 2018 11:01:43 +0000 Message-ID: <87vadp7kvc.fsf@delle7240.chemeng.ucl.ac.uk> References: <87y3iuh82n.fsf@gmail.com> <87po3y5jaw.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39685) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eybch-0006Lh-VJ for emacs-orgmode@gnu.org; Wed, 21 Mar 2018 07:09:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eybcc-00083W-Sk for emacs-orgmode@gnu.org; Wed, 21 Mar 2018 07:09:39 -0400 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Bastien Cc: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Wednesday, 21 Mar 2018 at 02:06, Bastien wrote: > Hi Eric, > > Eric S Fraga 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 =2D-=20 Eric S Fraga via Emacs 27.0.50, Org release_9.1.7-475-g3ffc7d --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQSPXCedOQfhSlwpVw3IkZPY//z2fQUCWrI7lwAKCRDIkZPY//z2 fTLhAJ4l5jNZ+2QIEcGICtCqwQQ/7kEo+gCfRdfavkXDarRFiG8RT1Ca95f7oW4= =JFtS -----END PGP SIGNATURE----- --=-=-=--