Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: f7d19b0069cea1ab677e4aa68513760fbf01e3bebdad718962f9833c6e19a832
Ticket: 2840d61e7bce3565945c1f60e8e24001e23bae97
HTML manual generation broken
User & Date: anonymous on 2023-12-01 14:50:44
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-fossil-plain"
  4. comment changed to:
    When building Tcl9.0b1 with Tk8.7b1, generating HTML manuals using tcltk-man2html.tcl does not work anymore.
    This is due to removing "pack-old" from the list of excluded pages in variable excluded_pages.
    The regexp in proc output-names (file tcltk-man2html-utils.tcl) is not able to parse a name with a "-" in it, so the head variable is undefined, see stripped-down example below.
    
    <code>
    proc output-name {line} {
        regexp {^([^-]+) - (.*)$} [regsub -all {[ \n\r\t]+} $line " "] -> head tail
        puts "$head ; $tail"
    }
    output-name "pack-old \- Obsolete syntax for packer geometry manager"
    </code>
    
    Paul
    
  5. foundin changed to: "9.0"
  6. is_private changed to: "0"
  7. login: "anonymous"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "2e499ca9e0149983f6f63603feedc5b33bc05f5e"
  10. resolution changed to: "None"
  11. severity changed to: "Minor"
  12. status changed to: "Open"
  13. submitter changed to: "anonymous"
  14. subsystem changed to: "55. Other Tools"
  15. title changed to: "HTML manual generation broken"
  16. type changed to: "Bug"