emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Dan Griswold <dgriswol@rochester.rr.com>
To: emacs-orgmode@gnu.org
Subject: LaTeX export bug
Date: Wed, 29 Jul 2009 20:51:12 -0400	[thread overview]
Message-ID: <873a8fhu2n.fsf@cantor.griswold.home> (raw)

Hi there,

Well, I think this a bug.

Given this org input file:

,----
| * Things
| ** A Heading
|    - some
|    - stuff
|    - in
|    - a
|    - list
| ** Another heading
|    - another
|    - list
`----

then if I select the level one heading (titled "Things") with C-c @, and
export to LaTeX using C-c C-e l, I get this output:

,----
| % Created 2009-07-29 Wed 20:24
| \documentclass[12pt]{article}
| \usepackage[utf8]{inputenc}
| \usepackage[T1]{fontenc}
| \usepackage{graphicx}
| \usepackage{longtable}
| \usepackage{hyperref}
| 
| 
| \title{Things}
| \author{Daniel M. Griswold}
| \date{July 29, 2009}
| 
| \begin{document}
| 
| \maketitle
| 
| ** A Heading
| \begin{itemize}
| \item some
| \item stuff
| \item in
| \item a
| \item list
| \end{itemize}
| ** Another heading
| \begin{itemize}
| \item another
| \item list
| \end{itemize}
| 
| \end{document}
`----

Note that the top level headings ("A Heading" and "Another Heading") are
not exported as \section, but with the asterisks they have in the org
file:

,----
| ** A Heading
| \begin{itemize}
| 
|   ... snip ...
| 
| \end{itemize}
| ** Another heading
`----

Exporting the whole file does what it's supposed to do: export the
headlines as \section and \subsection.

Can any of you reproduce this?

Thanks,
Dan


-- 
--------------
Dan Griswold
Rochester, NY
--------------

             reply	other threads:[~2009-07-30  0:51 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-30  0:51 Dan Griswold [this message]
2009-07-30  2:08 ` LaTeX export bug Bernt Hansen
2009-07-30 11:29   ` Dan Griswold
2009-07-30 23:49 ` Bastien
2009-07-31 11:32   ` Dan Griswold
2009-08-05 16:19 ` Carsten Dominik
2009-08-06  2:14   ` Dan Griswold

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=873a8fhu2n.fsf@cantor.griswold.home \
    --to=dgriswol@rochester.rr.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).