emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Scot Becker <scot.becker@gmail.com>
To: org-mode <emacs-orgmode@gnu.org>
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	[thread overview]
Message-ID: <e0e1fe620905211025y72d74650j2de31fa4970445b3@mail.gmail.com> (raw)

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' Ÿ, 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

                 reply	other threads:[~2009-05-21 17:25 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=e0e1fe620905211025y72d74650j2de31fa4970445b3@mail.gmail.com \
    --to=scot.becker@gmail.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).