texinfo-commits
[Top][All Lists]
Advanced

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

branch master updated: Document @indent @image{}


From: Gavin D. Smith
Subject: branch master updated: Document @indent @image{}
Date: Tue, 08 Jun 2021 15:15:56 -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 8382231  Document @indent @image{}
8382231 is described below

commit 8382231ee4667c32cbfb12c0597b8b4b2df3a1e4
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Tue Jun 8 20:15:48 2021 +0100

    Document @indent @image{}
    
    * doc/texinfo.texi (Image Syntax): Document that @image commands
    should sometimes be preceded by @indent or @noindent.
---
 ChangeLog        |  7 +++++++
 doc/texinfo.texi | 11 +++++++----
 2 files changed, 14 insertions(+), 4 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 3b82b45..9203e6f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2021-06-08  Gavin Smith  <gavinsmith0123@gmail.com>
+
+       Document @indent @image{}
+
+       * doc/texinfo.texi (Image Syntax): Document that @image commands
+       should sometimes be preceded by @indent or @noindent.
+
 2021-05-06  Gavin Smith  <gavinsmith0123@gmail.com>
 
        Fix afl-fuzz error
diff --git a/doc/texinfo.texi b/doc/texinfo.texi
index 0aa76da..51f1277 100644
--- a/doc/texinfo.texi
+++ b/doc/texinfo.texi
@@ -8037,10 +8037,13 @@ for a package @var{foo}.  Copying the files into
 The @var{width} and @var{height} arguments are described in the next
 section.
 
-For @TeX{} output, if an image is the only thing in a paragraph it
-will ordinarily be displayed on a line by itself, respecting the
-current environment indentation, but without the normal paragraph
-indentation.  If you want it centered, use @code{@@center}
+If an image is the first thing in a paragraph and followed by
+more text, then you should precede the @code{@@image} command with
+@code{@@indent} or @code{@@noindent} to indicate the beginning of
+paragraph formatting.  This is especially important for @TeX{} output
+to get correct paragraph indentation.
+
+Use @code{@@center} to center an image
 (@pxref{@code{@@titlefont @@center @@sp}}).
 
 @cindex Alt attribute for images



reply via email to

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