From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Re: Exporting org to LaTeX to PDF: headings do not convert to sections Date: Sat, 23 May 2009 08:26:48 +0200 Message-ID: <1C005ADE-3C6C-4590-B91D-B11E818E4763@gmail.com> References: <7bef1f890905210650o1a4a66e1t5b87cbc363b44ac5@mail.gmail.com> <50C05343-0CF2-4E8A-873B-2E040C225789@gmail.com> <7929538D-33E3-4D6D-AC2B-BC12BFED2DD1@uva.nl> <7bef1f890905211314p4f14e44fj57aac5d339578a28@mail.gmail.com> <14B4D147-56B5-42F4-A2D0-05AABE808E54@gmail.com> <87ws89blfv.fsf@eeepc.chemeng.ucl.ac.uk> Mime-Version: 1.0 (Apple Message framework v935.3) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M7khA-0000i2-Ir for emacs-orgmode@gnu.org; Sat, 23 May 2009 02:27:00 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M7kh4-0000hq-0n for emacs-orgmode@gnu.org; Sat, 23 May 2009 02:27:00 -0400 Received: from [199.232.76.173] (port=42843 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M7kh3-0000hn-Qe for emacs-orgmode@gnu.org; Sat, 23 May 2009 02:26:53 -0400 Received: from mx20.gnu.org ([199.232.41.8]:8590) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1M7kh3-0006rk-DC for emacs-orgmode@gnu.org; Sat, 23 May 2009 02:26:53 -0400 Received: from mail-ew0-f162.google.com ([209.85.219.162]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M7kh2-0003yY-Ju for emacs-orgmode@gnu.org; Sat, 23 May 2009 02:26:52 -0400 Received: by ewy6 with SMTP id 6so2404814ewy.42 for ; Fri, 22 May 2009 23:26:51 -0700 (PDT) In-Reply-To: <87ws89blfv.fsf@eeepc.chemeng.ucl.ac.uk> 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: Eric S Fraga Cc: emacs-orgmode@gnu.org Indeed, there was a bug there. Fixed now, thanks. - Carsten On May 22, 2009, at 10:17 AM, Eric S Fraga wrote: > Carsten Dominik writes: >> On May 21, 2009, at 10:14 PM, Alan E. Davis wrote: >>> I don't understand why I do not see "section" or "subsection", and >>> the sections often come out with bare stars. Is this also because >>> the number of levels has been exceeded? >> >> No, this must be a different bug, which I cannot reproduce. Example >> file??? > > Carsten, > > I have been having this problem the past two days but had avoided > posting until I determined it wasn't my fault. For the following org > file: > > #----------------------------------------------- cut here > #+TITLE: t.org > #+AUTHOR: Eric S Fraga > #+EMAIL: e.fraga@ucl.ac.uk > #+DATE: 2009-05-11 Mon > #+DESCRIPTION: > #+KEYWORDS: > #+LANGUAGE: en > #+OPTIONS: H:3 num:t toc:t \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t > #+OPTIONS: TeX:t LaTeX:t skip:nil d:nil todo:t pri:nil tags:not-in- > toc > #+INFOJS_OPT: view:nil toc:nil ltoc:t mouse:underline buttons:0 path:http://orgmode.org/org-info.js > #+EXPORT_SELECT_TAGS: export > #+EXPORT_EXCLUDE_TAGS: noexport > #+LINK_UP: > #+LINK_HOME: > > * Testing embedded aligned equations > > \begin{eqnarray} > x &=& a_i + b_j + c_{k} \\ > y &=& \sqrt{x} > \end{eqnarray} > > \begin{eqnarray*} > x &=& a_i + b_j + c_{k} \\ > y &=& \sqrt{x} > \end{eqnarray*} > *** This is a subsection > with not very much text > *** but another > which might have had more text in an ideal world. > #----------------------------------------------- cut here > > exporting to latex works fine if you export the whole file. If, > however, you select a region, such as the region starting from the > "*** This is a subsection" > line to the end of the file, the latex export doesn't convert the > leading *s to sections, putting the *s directly into the latex: > > ,---- > | ... > | \setcounter{tocdepth}{3} > | \tableofcontents > | \vspace*{1cm} > | \textbf{*} This is a subsection > | with not very much text > | \textbf{*} but another > | which might have had more text in an ideal world. > | > | \end{document} > `---- > > hope this helps. > > > > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode