From 46f76ca8b879bee8cfe46381d6be34c32e3ee6c3 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Sun, 17 Oct 2021 16:55:24 +0200 Subject: [PATCH] docs: avoid large Table of Contents at top of HTML version of manual Texinfo-6.8 (that was used to build the docs of nano-5.9) changed the way the @contents command is processed for HTML output, with as result a detailed table of contents at the start of the HTML page. That is ugly and too much detail. To avoid that, produce a table of contents only when generating output meant for printing. This fixes https://savannah.gnu.org/bugs/?61344. Bug existed since version 5.9. --- doc/nano.texi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/nano.texi b/doc/nano.texi index 3a718b5f..c2fd0e8c 100644 --- a/doc/nano.texi +++ b/doc/nano.texi @@ -1990,6 +1990,8 @@ as nano's settings file, instead of the default @code{.nanorc}.
@end html +@iftex @contents +@end iftex @bye