From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Possible bug in LaTeX export of special blocks Date: Sat, 27 Feb 2016 09:36:03 +0100 Message-ID: <87y4a6czyk.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43140) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZaK9-0004z9-4e for emacs-orgmode@gnu.org; Sat, 27 Feb 2016 03:34:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aZaK8-0000ff-Ch for emacs-orgmode@gnu.org; Sat, 27 Feb 2016 03:34:01 -0500 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:42922) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZaK8-0000fY-6k for emacs-orgmode@gnu.org; Sat, 27 Feb 2016 03:34:00 -0500 In-Reply-To: (Thomas S. Dye's message of "Fri, 26 Feb 2016 14:08:50 -1000") 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "Thomas S. Dye" Cc: "emacs-orgmode@gnu.org" Hello, Thomas S. Dye writes: > Exporting these two special blocks to LaTeX > > ,------------------ > | #+name: eq:foobar > | #+begin_equation > | foo = bar > | #+end_equation > | > | #+begin_equation > | bar = baz > | #+end_equation > `------------------ > > yields this in the tex file > > ,------------------------- > | \begin{equation} > | foo = bar > | \label{orgspecialblock1} > | > | \end{equation} > | > | \begin{equation} > | bar = baz > | \end{equation} > `------------------------- > > The blank line after \label{orgspecialblock1} causes the equation number > to be set on the following line, rather than to the right of the > equation. My expectation is there is no blank line after the \label, > which yields the desired behavior. Fixed in maint. Thank you. Regards, -- Nicolas Goaziou