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}
 
 





_______________________________________________
Texinfo home page: http://www.gnu.org/software/texinfo/
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-texinfo

Reply via email to