texinfo-commits
[Top][All Lists]
Advanced

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

branch master updated: * tp/Texinfo/Convert/HTML.pm (_convert_xref_comma


From: Patrice Dumas
Subject: branch master updated: * tp/Texinfo/Convert/HTML.pm (_convert_xref_commands): remove impossible case of inforef for internal reference, as it has been checked before.
Date: Tue, 16 Aug 2022 20:36:10 -0400

This is an automated email from the git hooks/post-receive script.

pertusus pushed a commit to branch master
in repository texinfo.

The following commit(s) were added to refs/heads/master by this push:
     new 96d0ec6b98 * tp/Texinfo/Convert/HTML.pm (_convert_xref_commands): 
remove impossible case of inforef for internal reference, as it has been 
checked before.
96d0ec6b98 is described below

commit 96d0ec6b98e3f3b459dff0cdbfd56b66ef320bcd
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Wed Aug 17 02:35:59 2022 +0200

    * tp/Texinfo/Convert/HTML.pm (_convert_xref_commands): remove
    impossible case of inforef for internal reference, as it has been
    checked before.
---
 ChangeLog                  | 6 ++++++
 tp/Texinfo/Convert/HTML.pm | 4 ++--
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 3cb296f4be..c3a22b6482 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2022-08-16  Patrice Dumas  <pertusus@free.fr>
+
+       * tp/Texinfo/Convert/HTML.pm (_convert_xref_commands): remove
+       impossible case of inforef for internal reference, as it has been
+       checked before.
+
 2022-08-16  Patrice Dumas  <pertusus@free.fr>
 
        * tp/Texinfo/Convert/DocBook.pm (_convert): do not format @inforef
diff --git a/tp/Texinfo/Convert/HTML.pm b/tp/Texinfo/Convert/HTML.pm
index 38c1ebcb06..beb66eff6d 100644
--- a/tp/Texinfo/Convert/HTML.pm
+++ b/tp/Texinfo/Convert/HTML.pm
@@ -4784,7 +4784,7 @@ sub _convert_xref_commands($$$$)
     if ($cmdname eq 'pxref') {
       $tree = $self->gdt('see {reference_name}',
         { 'reference_name' => {'type' => '_converted', 'text' => $reference} 
});
-    } elsif ($cmdname eq 'xref' or $cmdname eq 'inforef') {
+    } elsif ($cmdname eq 'xref') {
       $tree = $self->gdt('See {reference_name}',
         { 'reference_name' => {'type' => '_converted', 'text' => $reference} 
});
     } elsif ($cmdname eq 'ref') {
@@ -4905,7 +4905,7 @@ sub _convert_xref_commands($$$$)
         $tree = $self->gdt('See `{section}\'', {
               'section' => {'type' => '_converted', 'text' => $reference} });
       }
-    } else {
+    } else { # @ref
       if (($book ne '') and ($href ne '') and ($reference ne '')) {
         $tree = $self->gdt('{reference} in @cite{{book}}',
             { 'reference' => {'type' => '_converted', 'text' => $reference},



reply via email to

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