From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas S. Dye Subject: Possible bug in LaTeX export of special blocks Date: Fri, 26 Feb 2016 14:08:50 -1000 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49016) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZSRZ-0005pP-4x for emacs-orgmode@gnu.org; Fri, 26 Feb 2016 19:09:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aZSRU-0005xC-26 for emacs-orgmode@gnu.org; Fri, 26 Feb 2016 19:09:09 -0500 Received: from gproxy1-pub.mail.unifiedlayer.com ([69.89.25.95]:38700) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1aZSRT-0005x6-QL for emacs-orgmode@gnu.org; Fri, 26 Feb 2016 19:09:03 -0500 Received: from [168.105.155.19] (port=58722 helo=manifi) by box472.bluehost.com with esmtpsa (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.84) (envelope-from ) id 1aZSRK-0007v0-Hj for emacs-orgmode@gnu.org; Fri, 26 Feb 2016 17:08:54 -0700 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: "emacs-orgmode@gnu.org" Aloha all, 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. All the best, Tom -- Thomas S. Dye http://www.tsdye.com