texinfo-commits
[Top][All Lists]
Advanced

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

branch master updated: Do not warn for @shortcontents in LaTeX


From: Gavin D. Smith
Subject: branch master updated: Do not warn for @shortcontents in LaTeX
Date: Sat, 01 Oct 2022 16:36:16 -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 3e9987362e Do not warn for @shortcontents in LaTeX
3e9987362e is described below

commit 3e9987362e72fd840cb815d12c694f8055cedce7
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Sat Oct 1 21:36:08 2022 +0100

    Do not warn for @shortcontents in LaTeX
    
    * tp/Texinfo/Convert/LaTeX.pm (convert) <@shortcontents>:
    Do not issue a warning for @shortcontents or @summarycontents.
    From Patrice.
---
 ChangeLog                                                | 10 +++++++++-
 tp/Texinfo/Convert/LaTeX.pm                              |  4 ----
 tp/tests/layout/res_parser/formatting_latex/formatting.2 |  1 -
 3 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 9cccb48a55..f5f931b6e7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2022-10-01  Gavin Smith  <gavinsmith0123@gmail.com>
+
+       Do not warn for @shortcontents in LaTeX
+
+       * tp/Texinfo/Convert/LaTeX.pm (convert) <@shortcontents>:
+       Do not issue a warning for @shortcontents or @summarycontents.
+       From Patrice.
+
 2022-10-01  Gavin Smith  <gavinsmith0123@gmail.com>
 
        LaTeX disable hyphenation on def line
@@ -21,7 +29,7 @@
        Warn for @shortcontents in LaTeX
 
        * tp/Texinfo/Convert/LaTeX.pm (convert) <@shortcontents>:
-       Issue a warning if it @shortcontents or @summarycontents
+       Issue a warning if @shortcontents or @summarycontents
        is used.  Add a comment in TODO section saying that we may
        not have to implement it.
 
diff --git a/tp/Texinfo/Convert/LaTeX.pm b/tp/Texinfo/Convert/LaTeX.pm
index 24527de52f..7dc242ddc7 100644
--- a/tp/Texinfo/Convert/LaTeX.pm
+++ b/tp/Texinfo/Convert/LaTeX.pm
@@ -3460,10 +3460,6 @@ sub _convert($$)
       }
       return $result;
     } elsif ($cmdname eq 'shortcontents' or $cmdname eq 'summarycontents') {
-      $self->line_warn($self,
-                     sprintf(__("\@%s not implemented for LaTeX output"),
-                             $cmdname),
-                       $element->{'source_info'});
       if ($self->{'structuring'}
             and $self->{'structuring'}->{'sectioning_root'}) {
         # TODO see notes at the beginning
diff --git a/tp/tests/layout/res_parser/formatting_latex/formatting.2 
b/tp/tests/layout/res_parser/formatting_latex/formatting.2
index 957ff7ea9b..40da37a516 100644
--- a/tp/tests/layout/res_parser/formatting_latex/formatting.2
+++ b/tp/tests/layout/res_parser/formatting_latex/formatting.2
@@ -331,4 +331,3 @@ formatting.texi:73: warning: @image file `f-ile' (for 
LaTeX) not found (possibly
 formatting.texi:73: warning: @image file `f-ile' (for LaTeX) not found 
(possibly involving @mymacro)
 formatting.texi:73: warning: @image file `f--ile@.' (for LaTeX) not found 
(possibly involving @mymacro)
 formatting.texi:73: warning: @image file `filejk _" %@' (for LaTeX) not found 
(possibly involving @mymacro)
-formatting.texi:215: warning: @shortcontents not implemented for LaTeX output



reply via email to

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