emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Russell Adams <RLAdams@AdamsInfoServ.Com>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Entire missing sections in export to latex
Date: Sat, 19 Jan 2013 17:08:01 -0600	[thread overview]
Message-ID: <20130119230801.GK3714@cardamom.adamsinfoserv.com> (raw)

Headlines that skip levels by accident or typo, for instance copying
from another document, disappear from the latex export output without
warning. See below for minimum working example. HTML and ascii don't
have this issue.

Org version 7.8.10 on Emacs 23.3.1.

This is the old exporter, I haven't tried the new one yet.

-------------------- MWE.org

* First heading

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam mi purus,
placerat sed sodales tempus, interdum et felis. Nullam fringilla
elementum tincidunt. Aenean risus augue, adipiscing sed blandit eget,

** Second heading

Mauris a quam justo, ut euismod nisi. Cras volutpat sapien non urna
dapibus non sollicitudin leo viverra. Curabitur consequat risus ut
diam elementum sit amet ultrices diam suscipit. In et erat dolor, et

**** Fourth heading missing

You can't see me!

Phasellus ut velit odio, imperdiet mollis nulla. Fusce commodo magna
at velit egestas id suscipit ligula pretium. Aenean dui lorem,
scelerisque in luctus sed, aliquam id tortor. Morbi ut orci sit amet

* Fifth heading

Donec sed odio ac nisi dignissim egestas. Mauris faucibus nibh
ultricies mauris ultrices dignissim. Vestibulum imperdiet hendrerit
cursus. Ut tempus auctor felis, a vestibulum lorem condimentum

---------------------- MWE.tex

\documentclass[10pt,letterpaper]{article}

\providecommand{\alert}[1]{\textbf{#1}}

\title{MWE}
\author{adamsrl}
\date{\today}
\hypersetup{
  pdfkeywords={},
  pdfsubject={},
  pdfcreator={Emacs Org-mode version 7.8.10}}

\begin{document}

\maketitle

\setcounter{tocdepth}{4}
\tableofcontents
\vspace*{1cm}


\section{First heading}
\label{sec-1}


Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam mi purus,
placerat sed sodales tempus, interdum et felis. Nullam fringilla
elementum tincidunt. Aenean risus augue, adipiscing sed blandit eget,
\subsection{Second heading}
\label{sec-1-1}


Mauris a quam justo, ut euismod nisi. Cras volutpat sapien non urna
dapibus non sollicitudin leo viverra. Curabitur consequat risus ut
diam elementum sit amet ultrices diam suscipit. In et erat dolor, et
\section{Fifth heading}
\label{sec-2}


Donec sed odio ac nisi dignissim egestas. Mauris faucibus nibh
ultricies mauris ultrices dignissim. Vestibulum imperdiet hendrerit
cursus. Ut tempus auctor felis, a vestibulum lorem condimentum

\end{document}


------------------------------------------------------------------
Russell Adams                            RLAdams@AdamsInfoServ.com

PGP Key ID:     0x1160DCB3           http://www.adamsinfoserv.com/

Fingerprint:    1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3

             reply	other threads:[~2013-01-19 23:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-19 23:08 Russell Adams [this message]
2013-01-23 13:51 ` 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=20130119230801.GK3714@cardamom.adamsinfoserv.com \
    --to=rladams@adamsinfoserv.com \
    --cc=emacs-orgmode@gnu.org \
    --subject='Re: Entire missing sections in export to latex' \
    /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

Code repositories for project(s) associated with this 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).