From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonas Bernoulli Subject: ox-texinfo: use an Org section as Info Top node Date: Sun, 17 Jun 2018 00:33:09 -0500 Message-ID: <87lgbe0yga.fsf@bernoul.li> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54052) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fUQJW-0004il-DD for emacs-orgmode@gnu.org; Sun, 17 Jun 2018 01:33:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fUQJR-0004mt-Di for emacs-orgmode@gnu.org; Sun, 17 Jun 2018 01:33:22 -0400 Received: from mail.hostpark.net ([212.243.197.30]:44226) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fUQJR-0004lv-79 for emacs-orgmode@gnu.org; Sun, 17 Jun 2018 01:33:17 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.hostpark.net (Postfix) with ESMTP id 0321E166C5 for ; Sun, 17 Jun 2018 07:33:14 +0200 (CEST) Received: from mail.hostpark.net ([127.0.0.1]) by localhost (mail0.hostpark.net [127.0.0.1]) (amavisd-new, port 10124) with ESMTP id NQnkex-hLZFp for ; Sun, 17 Jun 2018 07:33:13 +0200 (CEST) Received: from laptop (c-24-118-131-121.hsd1.mn.comcast.net [24.118.131.121]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.hostpark.net (Postfix) with ESMTPSA id 26CB016645 for ; Sun, 17 Jun 2018 07:33:12 +0200 (CEST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org 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 > ... 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