emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jonas Bernoulli <jonas@bernoul.li>
To: emacs-orgmode@gnu.org
Subject: ox-texinfo: use an Org section as Info Top node
Date: Sun, 17 Jun 2018 00:33:09 -0500	[thread overview]
Message-ID: <87lgbe0yga.fsf@bernoul.li> (raw)

Hello,

Congratulation on converting the Org manual to Org!  (I haven't really
gotten around to adjusting magit.org and my other manuals yet though.)

Anyway, I have an only marginally related feature request:

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.

As a side-note, the reasons why I put more than just

> #+title: The Org Manual
>
> #+texinfo: @insertcopying

at the beginning of the file is that (1) I like to set the variables
there, and (2) I put more information into the Info "Top" node (which is
not included in the pdf export) than what I would like to be displayed
on the copyright page when exporting to pdf.  The latter should only
display the copyright information, while I want the former to display
e.g.:

> Borg User Manual
>
> The Borg assimilate Emacs packages as Git submodules.  Borg is a
> bare-bones package manager for Emacs packages.
>
> This manual is for Borg version 2.0.0 (v2.0.0-59-g89a9394+1).
>
>     Copyright (C) 2016-2018 Jonas Bernoulli <jonas@bernoul.li>
>     ...

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?

  Cheers,
  Jonas

             reply	other threads:[~2018-06-17  5:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-17  5:33 Jonas Bernoulli [this message]
2018-06-17  8:36 ` ox-texinfo: use an Org section as Info Top node Nicolas Goaziou
2018-06-18 20:42   ` Jonas Bernoulli

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=87lgbe0yga.fsf@bernoul.li \
    --to=jonas@bernoul.li \
    --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).