texinfo-commits
[Top][All Lists]
Advanced

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

texinfo/tp/Texinfo Structuring.pm


From: Patrice Dumas
Subject: texinfo/tp/Texinfo Structuring.pm
Date: Thu, 13 Dec 2012 01:06:09 +0000

CVSROOT:        /sources/texinfo
Module name:    texinfo
Changes by:     Patrice Dumas <pertusus>        12/12/13 01:06:09

Modified files:
        tp/Texinfo     : Structuring.pm 

Log message:
        Use 'index_prefix' because in the indices structure, code information
        is indeed associated to index_prefix.  In practice, the index_prefix
        and index_name should always be the same except for the default 
        indicesbut for those in_code should be thte same by index_name and
        index_prefix.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/Texinfo/Structuring.pm?cvsroot=texinfo&r1=1.138&r2=1.139

Patches:
Index: Structuring.pm
===================================================================
RCS file: /sources/texinfo/texinfo/tp/Texinfo/Structuring.pm,v
retrieving revision 1.138
retrieving revision 1.139
diff -u -b -r1.138 -r1.139
--- Structuring.pm      25 Sep 2012 17:46:36 -0000      1.138
+++ Structuring.pm      13 Dec 2012 01:06:08 -0000      1.139
@@ -1898,7 +1898,7 @@
   foreach my $index_name (keys(%$index_entries)) {
     foreach my $entry (@{$index_entries->{$index_name}}) {
       $entry->{'in_code'} 
-         = $index_names->{$index_name}->{$entry->{'index_name'}};
+         = $index_names->{$index_name}->{$entry->{'index_prefix'}};
       $options->{'code'} = $entry->{'in_code'};
       $entry->{'key'} = Texinfo::Convert::Text::convert(
                               {'contents' => $entry->{'content'}},



reply via email to

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