texinfo-commits
[Top][All Lists]
Advanced

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

branch master updated: @group should be inside @example not vice versa


From: Gavin D. Smith
Subject: branch master updated: @group should be inside @example not vice versa
Date: Mon, 10 Jan 2022 14:59:25 -0500

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 d95a28440e @group should be inside @example not vice versa
d95a28440e is described below

commit d95a28440e5c6f208a90429bccfd2e472da09f58
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Mon Jan 10 19:59:13 2022 +0000

    @group should be inside @example not vice versa
    
    * doc/texinfo.texi (Texinfo Preamble): Fix nesting of
    @group and @example.
    * tp/TODO: Add this as something to warn about.
---
 ChangeLog        | 8 ++++++++
 doc/texinfo.texi | 4 ++--
 tp/TODO          | 2 ++
 3 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index e3fcde8259..7ac330ef48 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2022-01-10  Gavin Smith  <gavinsmith0123@gmail.com>
+
+       @group should be inside @example not vice versa
+
+       * doc/texinfo.texi (Texinfo Preamble): Fix nesting of
+       @group and @example.
+       * tp/TODO: Add this as something to warn about.
+
 2022-01-10  Gavin Smith  <gavinsmith0123@gmail.com>
 
        Documentation of @dircategory
diff --git a/doc/texinfo.texi b/doc/texinfo.texi
index 6f81f25a4b..e66a67ab3c 100644
--- a/doc/texinfo.texi
+++ b/doc/texinfo.texi
@@ -1848,8 +1848,8 @@ For example, for the following document, the HTML and 
Info copying comment is fo
 with @code{@@documentlanguage} set to @samp{pt}, as it is the last 
@code{@@documentlanguage}
 before the end of the preamble.
 
-@group
 @example
+@group
 \input texinfo
 @@documentlanguage fr
 
@@ -1865,8 +1865,8 @@ Text ending the preamble
 
 @@node Top
 
-@end example
 @end group
+@end example
 
 
 @node Directory Category
diff --git a/tp/TODO b/tp/TODO
index bcc483bb81..19383939a0 100644
--- a/tp/TODO
+++ b/tp/TODO
@@ -93,6 +93,8 @@ Some erroneous constructs not already warned against:
  @end example
  Example in heading/heading_in_example.
 
+ @group outside of @example
+
 maybe checking for incorrectly nested @titlepage, @copying and
 @documentdescription (which is already done in the "regions stack")
 could be done the same way.



reply via email to

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