unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Gregor Zattler <telegraph@gmx.net>
To: "Bartosz Kaczyński" <bkaczynski@posteo.net>, help-gnu-emacs@gnu.org
Subject: Re: Customizing Info-mode in Emacs: Text Width and Alignment
Date: Wed, 25 Sep 2024 10:55:54 +0200	[thread overview]
Message-ID: <875xqk863p.fsf@no.lan> (raw)
In-Reply-To: <87ed59p4o1.fsf@posteo.net>

[-- Attachment #1: Type: text/plain, Size: 723 bytes --]

Hi Bartosz, Emacs users,
* Bartosz Kaczyński <bkaczynski@posteo.net> [2024-09-24; 13:22 GMT]:
> 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 

I use the attached patch for narrower
info pages while building Emacs from
sources, also to force single file info
documents.

> or align the text within Info-mode?

I have no idea, I'm happy with
left-flushed text alignment of info
documentation.

Ciao; Gregor 


[-- Attachment #2: Type: text/plain, Size: 2085 bytes --]

diff --git a/doc/emacs/Makefile.in b/doc/emacs/Makefile.in
index a24c03ead3..bcab3865ee 100644
--- a/doc/emacs/Makefile.in
+++ b/doc/emacs/Makefile.in
@@ -69,7 +69,7 @@ INSTALL_DATA =
 # The makeinfo program is part of the Texinfo distribution.
 # Use --force so that it generates output even if there are errors.
 MAKEINFO = @MAKEINFO@
-MAKEINFO_OPTS = --force --enable-encoding -I $(srcdir)
+MAKEINFO_OPTS = --no-split --fill-column=72 --no-split --fill-column=72 --force --enable-encoding -I $(srcdir)

 TEXI2DVI = texi2dvi
 TEXI2PDF = texi2pdf
diff --git a/doc/lispintro/Makefile.in b/doc/lispintro/Makefile.in
index 42e6d2c1c8..34ec411f8c 100644
--- a/doc/lispintro/Makefile.in
+++ b/doc/lispintro/Makefile.in
@@ -51,7 +51,7 @@ INSTALL =
 INSTALL_DATA = @INSTALL_DATA@

 MAKEINFO = @MAKEINFO@
-MAKEINFO_OPTS = --force -I $(emacsdir) -I $(srcdir)
+MAKEINFO_OPTS = --no-split --fill-column=72 --no-split --fill-column=72 --force -I $(emacsdir) -I $(srcdir)
 TEXI2DVI = texi2dvi
 TEXI2PDF = texi2pdf
 DVIPS = dvips
diff --git a/doc/lispref/Makefile.in b/doc/lispref/Makefile.in
index 8a61adf232..3f762adfdf 100644
--- a/doc/lispref/Makefile.in
+++ b/doc/lispref/Makefile.in
@@ -55,7 +55,7 @@ INSTALL =
 INSTALL_DATA = @INSTALL_DATA@

 MAKEINFO = @MAKEINFO@
-MAKEINFO_OPTS = --force --enable-encoding -I $(emacsdir) -I $(srcdir)
+MAKEINFO_OPTS = --no-split --fill-column=72 --no-split --fill-column=72 --force --enable-encoding -I $(emacsdir) -I $(srcdir)
 TEXI2DVI = texi2dvi
 TEXI2PDF = texi2pdf
 DVIPS = dvips
diff --git a/doc/misc/Makefile.in b/doc/misc/Makefile.in
index b6eef7ea79..7b11d972de 100644
--- a/doc/misc/Makefile.in
+++ b/doc/misc/Makefile.in
@@ -61,7 +61,7 @@ INSTALL_DATA =
 # Use --force so that it generates output even if there are errors.
 # (TODO?  Why is this appropriate?)
 MAKEINFO = @MAKEINFO@
-MAKEINFO_OPTS = --force -I$(emacsdir)
+MAKEINFO_OPTS = --no-split --fill-column=72 --no-split --fill-column=72 --force -I$(emacsdir)

 ## On MS Windows, efaq-w32; otherwise blank.
 DOCMISC_W32 = @DOCMISC_W32@

  reply	other threads:[~2024-09-25  8:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-24 13:22 Customizing Info-mode in Emacs: Text Width and Alignment Bartosz Kaczyński
2024-09-25  8:55 ` Gregor Zattler [this message]
2024-09-25 12:02 ` Eli Zaretskii

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.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=875xqk863p.fsf@no.lan \
    --to=telegraph@gmx.net \
    --cc=bkaczynski@posteo.net \
    --cc=help-gnu-emacs@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.
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).