emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* LaTeX export gives extra lines between table of contents and first section
@ 2008-10-03  1:04 Hsiu-Khuern Tang
  2008-10-03 18:13 ` Hsiu-Khuern Tang
  2008-10-10 21:13 ` Carsten Dominik
  0 siblings, 2 replies; 4+ messages in thread
From: Hsiu-Khuern Tang @ 2008-10-03  1:04 UTC (permalink / raw)
  To: emacs-orgmode

I'm new to Org-Mode, and I'm getting to like it a lot!

I am running Org 6.07b.  I have this simple Org file:

----------------------------------------
* top level

** second level
   test
----------------------------------------

If I run M-x org-export-region-as-latex, I get this output:

----------------------------------------
% Created 2008-10-02 Thu 17:58
\documentclass[11pt,a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{hyperref}


\title{* top level}
\author{Tang Hsiu Khuern}
\date{02 October 2008}

\begin{document}

\maketitle

\setcounter{tocdepth}{3}
\tableofcontents


** second level
   test
\section{second level}

   test

\end{document}
----------------------------------------

As you can see, there are extra lines between \tableofcontents and \section,
which I think shouldn't be there.  If I select the whole file as the region and
run M-x org-export-region-as-latex, the extra lines get _duplicated_:

----------------------------------------
...
\tableofcontents


** second level
   test

** second level
   test
\section{second level}
...
----------------------------------------

-- 
Best,
Hsiu-Khuern.

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

end of thread, other threads:[~2008-10-13 22:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-03  1:04 LaTeX export gives extra lines between table of contents and first section Hsiu-Khuern Tang
2008-10-03 18:13 ` Hsiu-Khuern Tang
2008-10-10 21:13 ` Carsten Dominik
2008-10-13 22:26   ` Hsiu-Khuern Tang

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