Menu

#199 fix for bogus HTML man page links

open
None
5
2002-05-24
2002-05-17
No

A few tk man pages (doc/*.n) incorrectly list some
WIDGET-SPECIFIC OPTIONS under STANDARD OPTIONS, which
causes tools/tcltk-man2html.tcl to generate bogus
links to the HTML page for the options command. I
say bogus rather than broken because the links appear
to work, taking you to the options page, but cannot
position properly within the page because there is
(correctly so) no NAME tag for the given option.

For example see
http://tcl.activestate.com/man/tcl8.4/TkCmd/message.htm
and click the -width link
(http://tcl.activestate.com/man/tcl8.4/TkCmd/options.htm#M-width).

diff -u tk8.4a4/doc/canvas.n VRWtk8.4a4/doc/canvas.n
--- tk8.4a4/doc/canvas.n Thu Mar 29 19:35:12
2001
+++ VRWtk8.4a4/doc/canvas.n Wed May 15 15:32:11
2002
@@ -22,7 +22,7 @@
\-cursor \-insertontime \-takefocus
\-highlightbackground \-insertwidth
\-xscrollcommand
\-highlightcolor \-relief
\-yscrollcommand
-\-highlightthickness \-state
+\-highlightthickness
\-insertbackground \-selectbackground
.SE
.SH "WIDGET-SPECIFIC OPTIONS"
diff -u tk8.4a4/doc/listbox.n VRWtk8.4a4/doc/listbox.n
--- tk8.4a4/doc/listbox.n Thu Aug 24 23:58:32
2000
+++ VRWtk8.4a4/doc/listbox.n Wed May 15 15:28:10
2002
@@ -16,11 +16,11 @@
.SH SYNOPSIS
\fBlistbox\fR \fIpathName \fR?\fIoptions\fR?
.SO
-\-background \-height \-selectforeground
+\-background \-selectforeground
\-borderwidth \-highlightbackground \-setgrid
-\-cursor \-highlightcolor \-state
+\-cursor \-highlightcolor
\-disabledforeground \-highlightthickness
\-takefocus
-\-exportselection \-relief \-width
+\-exportselection \-relief
\-font \-selectbackground \-xscrollcommand
\-foreground \-selectborderwidth
\-yscrollcommand
.SE
diff -u tk8.4a4/doc/message.n VRWtk8.4a4/doc/message.n
--- tk8.4a4/doc/message.n Thu Aug 24 23:58:32
2000
+++ VRWtk8.4a4/doc/message.n Wed May 15 15:30:46
2002
@@ -19,7 +19,7 @@
\-anchor \-highlightbackground \-takefocus
\-background \-highlightcolor \-text
\-borderwidth \-highlightthickness \-textvariable
-\-cursor \-padx \-width
+\-cursor \-padx
\-font \-pady
\-foreground \-relief
.SE
diff -u tk8.4a4/doc/panedwindow.n
VRWtk8.4a4/doc/panedwindow.n
--- tk8.4a4/doc/panedwindow.n Thu Feb 21 18:41:16
2002
+++ VRWtk8.4a4/doc/panedwindow.n Wed May 15
15:42:33 2002
@@ -16,7 +16,7 @@
.SH SYNOPSIS
\fBpanedwindow\fR \fIpathName \fR?\fIoptions\fR?
.SO
-\-background \-height \-width
+\-background
\-borderwidth \-orient
\-cursor \-relief
.SE

Discussion

  • Jeffrey Hobbs

    Jeffrey Hobbs - 2002-05-24
    • assigned_to: nobody --> andreas_kupries
     
  • Andreas Kupries

    Andreas Kupries - 2002-06-17

    Logged In: YES
    user_id=75003

    Please attach the patch. In the current form it is effectively
    unuseable.

     
  • Paul Gardner

    Paul Gardner - 2002-06-19

    Logged In: YES
    user_id=546567

    See attachment.

     
  • Paul Gardner

    Paul Gardner - 2002-06-19