From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: LaTeX exporter #+INCLUDE bug Date: Thu, 13 Jan 2011 13:14:45 +0100 Message-ID: References: <87sjx2kweh.wl%dmaus@ictsoc.de> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=41478 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PdM4q-0007pY-LG for emacs-orgmode@gnu.org; Thu, 13 Jan 2011 07:14:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PdM4p-0001nW-35 for emacs-orgmode@gnu.org; Thu, 13 Jan 2011 07:14:52 -0500 Received: from mail-ew0-f41.google.com ([209.85.215.41]:46295) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PdM4o-0001mT-UJ for emacs-orgmode@gnu.org; Thu, 13 Jan 2011 07:14:51 -0500 Received: by ewy27 with SMTP id 27so739394ewy.0 for ; Thu, 13 Jan 2011 04:14:48 -0800 (PST) In-Reply-To: <87sjx2kweh.wl%dmaus@ictsoc.de> 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: David Maus Cc: emacs-orgmode@gnu.org, Rasmus On Jan 9, 2011, at 3:02 PM, David Maus wrote: > At Mon, 20 Dec 2010 19:12:33 +0000 (UTC), > Rasmus wrote: >> >> Hi, >> I think there might be a bug when using #+INCLUDE and the LaTeX >> exporter. The >> content of the included file is exported twice, although slightly >> different in >> each case. I experience this when I include org-files starting with >> a headline, >> i.e. "*". >> >> I use Org-mode 7.4 with GNU Emacs 24.0.50.1 (x86_64-unknown-linux- >> gnu, GTK+ >> Version 2.22.1) > > I can confirm this with > > Org-mode version 7.4 (release_7.4.135.g84087) > > GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0) > of 2010-12-11 on raven, modified by Debian Yes. This is a bug and a bit hard to fix. I only happens if the #+include line is before the first headline in the buffer. I am afraid I do not have a simple solution. - Carsten > > Best, > -- David > -- > OpenPGP... 0x99ADB83B5A4478E6 > Jabber.... dmjena@jabber.org > Email..... dmaus@ictsoc.de > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode