emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Re: Omit top level heading in latex export?


From: Matt Lundin
Subject: [Orgmode] Re: Omit top level heading in latex export?
Date: Sun, 03 Oct 2010 12:51:55 -0400
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux)

Indraneel Majumdar <address@hidden> writes:

> On 2010-10-03 20:57, suvayu ali wrote:
>> On 3 October 2010 06:31, Indraneel Majumdar<address@hidden>  wrote:
>>>   Hi,
>>>
>>> I'm running into a problem with latex export. I have several essays under a
>>> top level heading "Essays". How can I export say only one essay without the
>>> top level heading "Essays" also showing up in the output as a "Section"? I
>>> want the heading of my essay to be displayed as a latex section. Is this
>>> possible in any simple way? The manual describes some option to define my
>>> own class in the .emacs file, but I couldn't understand that very well.
>>> eg.
>>>
>>> * Essays
>>> ** Essay One
>>> ** Essay Two
>>>
>>> I want to export only "Essay Two" (eg with a :export: tag) and don't want
>>> "Essays" to show up.
>>>
>> What about just exporting the subtree you want? I believe the way to
>> do that is to go to the subtree and while exporting limit the export
>> with `1'. Hope this helps.
>>
> Yes, that exports the subtree (Essay Two) and also exports "Essays"
> (but not "Essay One"). I do not want "Essays" to show up at all.

I cannot replicate this. Take the following subtree:

--8<---------------cut here---------------start------------->8---
* Essays
** Essay One
Some text.
** Essay Two
Some special text.
--8<---------------cut here---------------end--------------->8---

With the latest org from git, if I press "C-c C-e 1 h" while the cursor
is on (or under) the Essay Two headline, the html output looks like
this:

--8<---------------cut here---------------start------------->8---
Essay Two

Some special text.

Author: Matt Lundin

Date: 2010-10-03 12:47:58 EDT

HTML generated by org-mode 7.01trans in emacs 24
--8<---------------cut here---------------end--------------->8---

Best,
Matt



reply via email to

[Prev in Thread] Current Thread [Next in Thread]