emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rasmus <rasmus.pank@gmail.com>
To: emacs-orgmode@gnu.org
Subject: LaTeX exporter #+INCLUDE bug
Date: Mon, 20 Dec 2010 19:12:33 +0000 (UTC)	[thread overview]
Message-ID: <loom.20101220T200239-826@post.gmane.org> (raw)

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

             reply	other threads:[~2010-12-20 19:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-20 19:12 Rasmus [this message]
2011-01-09 14:02 ` LaTeX exporter #+INCLUDE bug David Maus
2011-01-13 12:14   ` Carsten Dominik
2011-01-15 13:52     ` Rasmus Pank Roulund
2011-02-12 15:02 ` Bastien

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=loom.20101220T200239-826@post.gmane.org \
    --to=rasmus.pank@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).