From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dan Griswold Subject: LaTeX export bug Date: Wed, 29 Jul 2009 20:51:12 -0400 Message-ID: <873a8fhu2n.fsf@cantor.griswold.home> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MWJrp-0005zT-GI for emacs-orgmode@gnu.org; Wed, 29 Jul 2009 20:51:33 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MWJrl-0005zC-U8 for emacs-orgmode@gnu.org; Wed, 29 Jul 2009 20:51:33 -0400 Received: from [199.232.76.173] (port=44908 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MWJrl-0005z9-Ox for emacs-orgmode@gnu.org; Wed, 29 Jul 2009 20:51:29 -0400 Received: from mx20.gnu.org ([199.232.41.8]:53901) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MWJrl-0007i8-Bo for emacs-orgmode@gnu.org; Wed, 29 Jul 2009 20:51:29 -0400 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MWJrk-0001De-0j for emacs-orgmode@gnu.org; Wed, 29 Jul 2009 20:51:28 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1MWJrd-0004uF-Tk for emacs-orgmode@gnu.org; Thu, 30 Jul 2009 00:51:21 +0000 Received: from cpe-67-242-214-11.rochester.res.rr.com ([67.242.214.11]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 30 Jul 2009 00:51:21 +0000 Received: from dgriswol by cpe-67-242-214-11.rochester.res.rr.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 30 Jul 2009 00:51:21 +0000 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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 --------------