From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scot Becker Subject: An alternative way to get org outlines in LaTeX. Was: Exporting org to LaTeX to PDF Date: Thu, 21 May 2009 18:25:29 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M7C1S-0002P8-5t for emacs-orgmode@gnu.org; Thu, 21 May 2009 13:25:38 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M7C1M-0002Ow-Pk for emacs-orgmode@gnu.org; Thu, 21 May 2009 13:25:36 -0400 Received: from [199.232.76.173] (port=60926 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M7C1M-0002Ot-Iv for emacs-orgmode@gnu.org; Thu, 21 May 2009 13:25:32 -0400 Received: from mail-bw0-f209.google.com ([209.85.218.209]:51308) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M7C1L-0004aK-Pl for emacs-orgmode@gnu.org; Thu, 21 May 2009 13:25:31 -0400 Received: by bwz5 with SMTP id 5so1230394bwz.42 for ; Thu, 21 May 2009 10:25:29 -0700 (PDT) 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: org-mode Alan's request for a different LaTeX heading export made me think of this. If what you want is deeply nested outlines in LaTeX, checkout the 'easylist' package for LaTeX on CTAN, It takes what amounts to org-style outlines (where subordination is indicated by increasing the number of a given prefixed symbols----we use *, easylist defaults to those double S 'section markers' =9F, but can be hacked), and turns them into numbered lists like this: 1 My main contention 1.1 Part of my contention 1.2 A further development 1.3 The clencher. Which like the others can even be a paragraph. 1.3.1 which has a few parts 1.3.2 like this 2 My second contention... It's intended for outlining an argument (rather than an outline of headings, what we normally do in org), and can nest those little puppies as deep as you want. No joke, the documentation shows a heading at level 10,001! It also does checkboxes, configurable outline style (I.A.ii.a.) numbering, and other things. It seems that a trivial export function could turn an org-produced outline into a form easylist could handle. I don't know what it would do with org's 'body text', though. It may be only useful for outlines themselves. But have a look if you have an interest. It's a very org-friendly LaTeX package. CTAN entry: http://www.ctan.org/tex-archive/macros/latex/contrib/easylist/ The PDF documentation: http://www.ctan.org/get/macros/latex/contrib/easylist/easylist-doc.pdf The CTAN Blurb: This package provides an easy way of creating lists of numbered items (with as many levels as you want-up to TeX's limitation) like: 1. First proposition. 1.1. Comment. 1.1.1. Another comment. 1.1.2. And I'd like to add... 1.1.2.1. By the way... 1.1.2.1.1. This is getting boring... 1.2. So let's start something new... The advantage over usual LaTeX commands is that items here are created with a single active character in a recursive fashion. Moreover various layout options are available to achieve maximum control (incrementing items, configuring styles, and so on). Scot