From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Customizing Info-mode in Emacs: Text Width and Alignment Date: Wed, 25 Sep 2024 15:02:48 +0300 Message-ID: <86cyksc55j.fsf@gnu.org> References: <87ed59p4o1.fsf@posteo.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12697"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Sep 25 14:03:58 2024 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1stQkP-00030q-J4 for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 25 Sep 2024 14:03:57 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1stQju-0003Mn-Fg; Wed, 25 Sep 2024 08:03:26 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1stQjk-0002hp-EW for help-gnu-emacs@gnu.org; Wed, 25 Sep 2024 08:03:20 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1stQjh-0001jM-TC for help-gnu-emacs@gnu.org; Wed, 25 Sep 2024 08:03:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=7aSeS0NukAP739q1j/DUb+9T2kBFSfblyIBTYvBLrQU=; b=KvfdCfI2FKuXVEkNA2On Icy2An6Kioc5xf5728/rG8yIWmf95u4bro82mA0h76fFe7bom6rlcHWlkvBjAO3mbwVGhZ6T/eON+ Ok1afcpi/Zfe3O3h2XT3fTyAni47HLD3LRB1EOj4xWbZ1I+Rai7ARYJO/L5Yd9q2Of8hvuPm7s4bk CpFPTnGuJwmSy4IXgeEnQbDtgEtwFACE+6ImwNORQPgzgzis6VtX+kvbkXdoh2eoMLmeVkTwjFW/X esUCiqPliUTer5r0YPLAqE9a3zm6bwjoTRcf7RF6OpJNyZRWyTrkMfYOiLOUtZOEmvXYUgDyzRmvn s5RdActckTLvGg==; In-Reply-To: <87ed59p4o1.fsf@posteo.net> (message from Bartosz =?utf-8?Q?K?= =?utf-8?Q?aczy=C5=84ski?= on Tue, 24 Sep 2024 13:22:38 +0000) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:148065 Archived-At: > From: Bartosz KaczyƄski > Date: Tue, 24 Sep 2024 13:22:38 +0000 > > I've been using Emacs for a while and recently started delving deeper > into Info-mode. While I find it incredibly useful for reading > documentation, I noticed that there seems to be no built-in > functionality for customizing the text view, such as adjusting text > width or alignment. > > Is there any way to modify the text width or align the text within > Info-mode? Are there any packages or configurations that allow for such > customizations? I would appreciate any guidance or suggestions on this > matter. Info files are produced by the 'makeinfo' program which also fills and adjusts the text as part of its job. So realigning and readjusting it for a different width will not be trivial, since the Texinfo directives which guide some important parts of that are gone -- they are processed by 'makeinfo' and then thrown away, not ending up in the produced Info file. You may have a better starting point if you work with the HTML output of 'makeinfo', not with Info output. Not sure that will make sense in the context in which you wanted this.