% Created 2008-10-26 So 11:30
\documentclass[11pt,a4paper]{scrartcl}
\usepackage[utf8x]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[polutonikogreek,german]{babel}
\DeclareTextFontCommand{\grk}{\selectlanguage{polutonikogreek}}
\setkomafont{sectioning}{\normalfont}
\usepackage[osf]{libertine}
\usepackage{hyperref}


\title{First section: Short org-mode export demonstration file}
\author{Rainer Thiel}
\date{26 Oktober 2008}

\begin{document}

\maketitle

\setcounter{tocdepth}{3}
\tableofcontents



This is a short text intended to explain what I think may be a bug in
org-mode's \\LaTeX{}{} exporting feature.  The substance of the problem is
that when exporting into a \\LaTeX{}{}-buffer the text.

** First subsection: introduction

This is an idle paragraph in the first section.  Is is \emph{not} meaningful in
any way.  It is just here to display some text.

Together with the first paragraph, this second paragraph should already
be enough to show the problem.

** Second subsection: problem description

\begin{itemize}
\item When I am exporting the whole file, everything works as expected.
\item When I am marking the folded title-line of the first section in an
    active region as explained in 12.4 of the org manual (6.10), the
    latex-file is created as expected, except that the whole text to be
    set is repeated (with headlines including the asterisks) \emph{before}
    the first \\LaTeX{}{}-section.

    I suppose this should be a bug.
\end{itemize}

\section{First subsection: introduction}
\label{sec-1}


This is an idle paragraph in the first section.  Is is \emph{not} meaningful in
any way.  It is just here to display some text.

Together with the first paragraph, this second paragraph should already
be enough to show the problem.

\section{Second subsection: problem description}
\label{sec-2}


\begin{itemize}
\item When I am exporting the whole file, everything works as expected.
\item When I am marking the folded title-line of the first section in an
    active region as explained in 12.4 of the org manual (6.10), the
    latex-file is created as expected, except that the whole text to be
    set is repeated (with headlines including the asterisks) \emph{before}
    the first \LaTeX{}-section.

    I suppose this should be a bug.
\end{itemize}


\end{document}