emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* An alternative way to get org outlines in LaTeX. Was: Exporting org to LaTeX to PDF
@ 2009-05-21 17:25 Scot Becker
  0 siblings, 0 replies; only message in thread
From: Scot Becker @ 2009-05-21 17:25 UTC (permalink / raw)
  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' Ÿ, 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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-05-21 17:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-21 17:25 An alternative way to get org outlines in LaTeX. Was: Exporting org to LaTeX to PDF Scot Becker

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).