From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: LaTeX exporter #+INCLUDE bug Date: Mon, 20 Dec 2010 19:12:33 +0000 (UTC) Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=35027 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PUlAB-0003du-Js for emacs-orgmode@gnu.org; Mon, 20 Dec 2010 14:12:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PUlAA-000072-1q for emacs-orgmode@gnu.org; Mon, 20 Dec 2010 14:12:51 -0500 Received: from lo.gmane.org ([80.91.229.12]:33338) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PUlA9-00006s-Qo for emacs-orgmode@gnu.org; Mon, 20 Dec 2010 14:12:50 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PUlA5-0004J7-Df for emacs-orgmode@gnu.org; Mon, 20 Dec 2010 20:12:45 +0100 Received: from 0x555293e1.adsl.cybercity.dk ([85.82.147.225]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 20 Dec 2010 20:12:45 +0100 Received: from rasmus.pank by 0x555293e1.adsl.cybercity.dk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 20 Dec 2010 20:12:45 +0100 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: emacs-orgmode@gnu.org 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) The following example illustrates the problem. Note, the problem does not exist when using the HTML exporter. $ cat main.org #+INCLUDE: "included.org" org $ cat included.org * CDs - Neil Young $ tail -n 16 main.tex \setcounter{tocdepth}{3} \tableofcontents \vspace*{1cm} * CDs \begin{itemize} \item Neil Young \end{itemize} \section{CDs} \label{sec-1} \begin{itemize} \item Neil Young \end{itemize} \end{document} Thanks, Rasmus