From mboxrd@z Thu Jan 1 00:00:00 1970 From: Suvayu Ali Subject: [BUG] Latex export problem with babel latex blocks when including files Date: Wed, 16 Mar 2011 05:30:17 -0700 Message-ID: <20110316053017.36ca1beb@bhishma.homelinux.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="MP_/ZCQPpfxTJEXY=fFnFbvmlvd" Return-path: Received: from [140.186.70.92] (port=49029 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pzpu2-0002sZ-An for emacs-orgmode@gnu.org; Wed, 16 Mar 2011 08:32:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pzptz-0003kh-N6 for emacs-orgmode@gnu.org; Wed, 16 Mar 2011 08:32:36 -0400 Received: from mail-vw0-f41.google.com ([209.85.212.41]:51083) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pzptz-0003kV-GN for emacs-orgmode@gnu.org; Wed, 16 Mar 2011 08:32:35 -0400 Received: by vws4 with SMTP id 4so1910977vws.0 for ; Wed, 16 Mar 2011 05:32:34 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Org mode mailing list --MP_/ZCQPpfxTJEXY=fFnFbvmlvd Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi Orgers, I have been writing a large document in Org mode for pdf export with latex. I use babel latex blocks for things like equations, and I have a separate file as my appendix which I include in my primary org file. Today when I introduced a babel latex block in the appendix, I noticed that while exporting to latex/pdf, org wants to add the headline with the latex babel block from the appendix at the end of the master org file. I would expect no such behaviour while export. I can replicate this bug with the two attached minimal org files. Can someone confirm this? Thanks, -- Suvayu Open source is the future. It sets us free. --MP_/ZCQPpfxTJEXY=fFnFbvmlvd Content-Type: text/plain Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename=appendix.org XGFwcGVuZGl4DQojIE5lZWRzIFx1c2VwYWNrYWdle2FwcGVuZGl4fQ0KXGFwcGVuZGl4cGFnZQ0K XGFkZGFwcGhlYWR0b3RvYw0KDQoqIFRoaXMgaXMgYXBwZW5kaXggQQ0KDQogIERlZmluaXRpb24g b2YgcHNlZG9yYXBpZGl0eS4NCg0KICAjK2JlZ2luX3NyYyBsYXRleA0KICAgIFxiZWdpbntlcXVh dGlvbn0NCiAgICBcbGFiZWx7ZXE6ZXRhfQ0KICAgIFxldGEgPSAtXGxuXEJpZ2dbXHRhblxCaWdn KFxmcmFje1x0aGV0YX17Mn1cQmlnZylcQmlnZ10NCiAgICBcZW5ke2VxdWF0aW9ufQ0KICAjK2Vu ZF9zcmMNCg== --MP_/ZCQPpfxTJEXY=fFnFbvmlvd Content-Type: text/plain Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename=test.org IytUSVRMRTogICAgIERvY3VtZW50IHRpdGxlDQojK0FVVEhPUjogICAgU3V2YXl1IEFsaQ0KIytE QVRFOiAgICAgIFx0b2RheQ0KIytERVNDUklQVElPTjoNCiMrS0VZV09SRFM6DQojK0xBTkdVQUdF OiAgZW4NCiMrT1BUSU9OUzogICBIOjQgbnVtOnQgdG9jOnQgOjp0IHw6dCBeOnQgLTp0IGY6dCAq OnQgPDpuaWwNCiMrT1BUSU9OUzogICBUZVg6dCBMYVRlWDp0IHNraXA6bmlsIGQ6bmlsIHRvZG86 bmlsIHByaTpuaWwgdGFnczpuaWwNCiMrRVhQT1JUX1NFTEVDVF9UQUdTOiBleHBvcnQNCiMrRVhQ T1JUX0VYQ0xVREVfVEFHUzogbm9leHBvcnQNCg0KIytCSU5EOiBvcmctY29uZmlybS1iYWJlbC1l dmFsdWF0ZSBuaWwNCiMgIytCSU5EOiBvcmctZXhwb3J0LWxhdGV4LXRpdGxlLWNvbW1hbmQgIiIN Cg0KIytMYVRlWF9DT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