bug-texinfo
[Top][All Lists]
Advanced

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

@image should not be centered


From: Han-Wen Nienhuys
Subject: @image should not be centered
Date: Thu, 9 Mar 2006 21:08:26 +0000 (UTC)

The texinfo manual suggests that @image are not centered, and should
be centered by using @center. However, in the current texinfo release
this is not the case. Images are centered by default. The following
patch fixes this.

Note that I'm a total TeX nitwit. Please review this patch before
committing.


--- texinfo.tex~        2006-03-09 15:46:01.000000000 +0100
+++ texinfo.tex 2006-03-09 22:07:31.000000000 +0100
@@ -6542,7 +6542,7 @@
     % above and below.
     \nobreak\vskip\parskip
     \nobreak
-    \line\bgroup\hss
+    \line\bgroup
   \fi
   %
   % Output the image.
@@ -6555,7 +6555,7 @@
     \epsfbox{#1.eps}%
   \fi
   %
-  \ifimagevmode \hss \egroup \bigbreak \fi  % space after the image
+  \ifimagevmode \egroup \bigbreak \fi  % space after the image
 \endgroup}
 
 







reply via email to

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