texinfo-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: * doc/texinfo.tex (\image): Add more space around


From: Gavin D. Smith
Subject: branch master updated: * doc/texinfo.tex (\image): Add more space around @center @image.
Date: Sat, 01 Oct 2022 12:10:55 -0400

This is an automated email from the git hooks/post-receive script.

gavin pushed a commit to branch master
in repository texinfo.

The following commit(s) were added to refs/heads/master by this push:
     new a865105490 * doc/texinfo.tex (\image): Add more space around @center 
@image.
a865105490 is described below

commit a865105490206b6292a108f12a71ede7dda2fe4f
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Sat Oct 1 16:56:00 2022 +0100

    * doc/texinfo.tex (\image): Add more space around @center @image.
---
 ChangeLog       |  4 ++++
 doc/texinfo.tex | 10 +++++++---
 2 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 5f9b57bd42..614765369c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2022-10-01  Gavin Smith  <gavinsmith0123@gmail.com>
+
+       * doc/texinfo.tex (\image): Add more space around @center @image.
+
 2022-10-01  Patrice Dumas  <pertusus@free.fr>
 
        * tp/Texinfo/Convert/TexinfoMarkup.pm (_convert): keep the last empty
diff --git a/doc/texinfo.tex b/doc/texinfo.tex
index 163e20a926..786fc647d8 100644
--- a/doc/texinfo.tex
+++ b/doc/texinfo.tex
@@ -3,7 +3,7 @@
 % Load plain if necessary, i.e., if running under initex.
 \expandafter\ifx\csname fmtname\endcsname\relax\input plain\fi
 %
-\def\texinfoversion{2022-10-01.10}
+\def\texinfoversion{2022-10-01.15}
 %
 % Copyright 1985, 1986, 1988, 1990-2022 Free Software Foundation, Inc.
 %
@@ -9364,7 +9364,8 @@ might help (with 'rm \jobname.?? \jobname.??s')%
   %
   \ifx\centersub\centerV
     % For @center @image, enter vertical mode and add vertical space
-    \vbox\bgroup\medskip\vskip\parskip
+    % Enter an extra \parskip because @center doesn't add space itself.
+    \vbox\bgroup\vskip\parskip\medskip\vskip\parskip
   \else
     % Enter horizontal mode so that indentation from an enclosing
     %  environment such as @quotation is respected.
@@ -9396,7 +9397,10 @@ might help (with 'rm \jobname.?? \jobname.??s')%
     \egroup
     \medskip  % space after a standalone image
   \fi
-  \ifx\centersub\centerV \egroup \fi
+  \ifx\centersub\centerV % @center @image
+    \medskip
+    \egroup % close \vbox
+  \fi
 \endgroup}
 
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]