emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* LaTeX exporter #+INCLUDE bug
@ 2010-12-20 19:12 Rasmus
  2011-01-09 14:02 ` David Maus
  2011-02-12 15:02 ` Bastien
  0 siblings, 2 replies; 5+ messages in thread
From: Rasmus @ 2010-12-20 19:12 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-02-12 15:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-20 19:12 LaTeX exporter #+INCLUDE bug Rasmus
2011-01-09 14:02 ` David Maus
2011-01-13 12:14   ` Carsten Dominik
2011-01-15 13:52     ` Rasmus Pank Roulund
2011-02-12 15:02 ` Bastien

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).