[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Customizing Info-mode in Emacs: Text Width and Alignment
From: |
Eli Zaretskii |
Subject: |
Re: Customizing Info-mode in Emacs: Text Width and Alignment |
Date: |
Wed, 25 Sep 2024 15:02:48 +0300 |
> From: Bartosz Kaczyński <bkaczynski@posteo.net>
> 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.