emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] ox-texinfo: use an Org section as Info Top node


From: Jonas Bernoulli
Subject: Re: [O] ox-texinfo: use an Org section as Info Top node
Date: Mon, 18 Jun 2018 15:42:33 -0500
User-agent: mu4e 1.1.0; emacs 26.1.50

Nicolas Goaziou <address@hidden> writes:
>
> Jonas Bernoulli <address@hidden> writes:
>
>> Currently ox-texinfo uses the text before the first Org section as the
>> "Top" Info node.  That is fine for manuals like org-manual.org where
>> that part of the document only consists of a few lines.  In my manuals
>> there are up to 40 lines before the first heading, which makes it
>> desirable to make that part of the document collapsible.
>
> You can use a drawer for that:
>
>     :PREAMBLE:
>     ...
>     :END:

That works for me.

>> It is already possible to set the section whose content is to be used
>> on the copyright page (and which can be inserted elsewhere using
>> "#+texinfo: @insertcopying") using the COPYING property.
>>
>> Could you please implement something similar for the "Top" node, using
>> a property such as TOP?
>
> This sounds awkward, e.g., what would become the text before the first
> heading?

I guess it could either be ignored or prepended to the text from the TOP
section.

> AFAIU, there no really need for it, isn't it?

I didn't know about the PREAMBLE thing.  Now that I do, I don't need
anything else.

  Thanks for your help
  Jonas



reply via email to

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