From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Bug: Does HEADER_LATEX_EXTRA work in org 9.0? [9.0.9 (9.0.9-elpaplus @ ~/.emacs.d/elpa/org-plus-contrib-20170622/)] Date: Sun, 25 Jun 2017 09:41:13 +0200 Message-ID: <871sq84iqu.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49187) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dP2Ad-0004JJ-7N for emacs-orgmode@gnu.org; Sun, 25 Jun 2017 03:41:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dP2AZ-0004Iw-BO for emacs-orgmode@gnu.org; Sun, 25 Jun 2017 03:41:23 -0400 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:41507) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dP2AZ-0004Ie-4O for emacs-orgmode@gnu.org; Sun, 25 Jun 2017 03:41:19 -0400 In-Reply-To: ("Mario =?utf-8?Q?Rom=C3=A1n=22's?= message of "Sun, 25 Jun 2017 00:05:11 +0200") 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: Mario =?utf-8?Q?Rom=C3=A1n?= Cc: emacs-orgmode@gnu.org Hello, Mario Rom=C3=A1n writes: > I have tried to use #+latex_header_extra on org 9.0.9, using an empty Ema= cs > configuration file. The following fragment > > #+LATEX_HEADER_EXTRA: \newcommand{\test}{testing} > $\test$ > > creates an image with the text "testing". It seems that it is using the > command inside the preview; but I would expect it to give me an error (a > blank image), as \test should not be defined in latex preview. I don't kn= ow > if this is a bug or if I am missing something. Fixed. Thank you. Regards, --=20 Nicolas Goaziou