emacs-orgmode
[Top][All Lists]

## Re: [Orgmode] LaTeX export: Skip headline lines? "Paragraph" sectioning?

 From: Scot Becker Subject: Re: [Orgmode] LaTeX export: Skip headline lines? "Paragraph" sectioning? Date: Mon, 30 Aug 2010 06:14:48 +0100

He wants to write up a document using org-mode's outline facilities as a skeleton to help him build up, navigate and visualize his document, but then he wants only to use SOME of the headlines but ALL of the text when he actually makes a printed version for others to read.   I've wanted this as well, since when you think about it the structure you need as a writer may not be the structure you want to pass on to your readers.

I'd be glad to see a formal feature for this in org-mode, and even more glad if I could figure out a good way to basically keep up to two headlines per 'node' (org section): one for me while I'm writing (the outline of my argument, in sentence form, say) and another for export (the catchy 'heading' which goes---for some headings only---in the printed output).

Until we get something like that, Alan, you could just use a little manual work (or some elisp and one of org's export hooks) to help manage something like this:

1) choose a :tag: for "don't print this headline (just the text under it)"
2) If you want to keep those headings in the file (I assume you do), then when you want to export, you'll want to make a temporary (saved) copy of the file somewhere then:
3) use emacs' "M-x flush-lines" to kill lines with that tag just before export.

As for exporting lists as \paragraph{} sections, I'm not sure.  But on this you might take nick's suggestion and give a sample input and output file to help visualize (and show us) what you're asking for.  And do make sure your org lists are compatible with the new list definitions (see recent discussions elsewhere on this list).  When you do this kind of thing it becomes critical that you pay attention to what constitutes a new item and the end of the list.

As you'll see org-mode's latex export is currently designed to use org for basic document structuring and only allows for a limited set of mappings between org's structure and latex structure.  But you'll see in the latex configuration documentation that it is possible to define what kind of \section{}, \chapter{}, or \subsubparagraph{} is exported for each level of org's headlines.

Also have a look at the documentation for the latex package 'easylist'  It's not what you're asking for here, but you may find it interesting if you want to get structured thought-outlines out to paper.  It basically takes something like an org-mode header list and typesets in latex as nested (numbered or un-numbered) lists, i.e. not as LaTeX headers.

Scot

On Mon, Aug 30, 2010 at 5:06 AM, Nick Dokos wrote:

> Sometimes, I have used outliners, like ThinkTank, to organize my
> thoughts, and reorganize the structure of a document of whatever kind.
> I don't need headings or sectioning in some cases.
>
> LaTeX output in Orgmode, nor have I found a
> tag to say, "omit this headline."  I do see the variables
> org-export-exclude-tags, and org-export-select tags; as well as an
> option to include a specific number of headings as LaTeX sections.  In
> the later case, other  headings are exported as plain list items, not
> what I have in mind.
>
> A related issue perhaps: what would it take to export, say list items,
> as "paragraph" and "subparagraph" sections in LaTeX.
>
> The ability to export a pdf almost automatically through LaTeX, even
> with images, is magical.  Many thanks for this.
>

Some examples might help. I may be particularly dense tonight but I have
(or rather I have multiple ideas, none of which make much sense to me.)

Thanks,
Nick

_______________________________________________
Emacs-orgmode mailing list