Package: maxima-src
Version: 5.44.0-2.1
Severity: normal
Tags: patch upstream
X-Debbugs-Cc: [email protected]

Hi,

The create_index script in doc/info has an outdated regexp due to
which the file contents.hhc is generated incorrectly. This results in
the broken contents section in the wxmaxima help browser.

A patch that fixes the issue is attached. If needed, I can also
prepare an NMU.

Best,

Stanislav

-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 5.8.0-3-amd64 (SMP w/4 CPU threads)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8), LANGUAGE=en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages maxima-src depends on:
ii  tex-common  6.15

maxima-src recommends no packages.

maxima-src suggests no packages.

-- no debconf information
Description: Fix create_index script
Author: Stanislav Maslovski <[email protected]>
Last-Update: 2020-10-21

--- maxima-5.44.0.orig/doc/info/create_index
+++ maxima-5.44.0/doc/info/create_index
@@ -23,7 +23,7 @@ while (<MAXIMA_TOC>)  {
         print CONTENTS "</ul>\n";
     } 
 
-    if ( m#.*?<li><a\sname="(.*?)"\shref="(.*?)">.*?\s(.*?)</a># ) {
+    if ( m#.*?<li><a\sid="(.*?)"\shref="(.*?)">.*?\s(.*?)</a># ) {
         print CONTENTS "<li><object type=\"text/sitemap\">\n";
         print CONTENTS "   <param name=\"Local\" value=\"$2\">\n";
         print CONTENTS "   <param name=\"Name\" value=\"$3\"></object>\n";

Reply via email to