Tcl Source Code

View Ticket
Login
Ticket UUID: 557400
Title: fix for bogus HTML man page links
Type: Patch Version: None
Submitter: paulgardner Created on: 2002-05-17 19:09:00
Subsystem: None Assigned To: aku
Priority: 5 Medium Severity: Minor
Status: Closed Last Modified: 2016-08-20 17:13:49
Resolution: Out of Date Closed By: dkf
    Closed on: 2016-08-20 17:13:49
Description:
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.nThu Mar 29 19:35:12 
2001
+++ VRWtk8.4a4/doc/canvas.nWed 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.nThu Aug 24 23:58:32 
2000
+++ VRWtk8.4a4/doc/listbox.nWed 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.nThu Aug 24 23:58:32 
2000
+++ VRWtk8.4a4/doc/message.nWed 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.nThu Feb 21 18:41:16 
2002
+++ VRWtk8.4a4/doc/panedwindow.nWed 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
User Comments: paulgardner added on 2002-06-20 00:28:32:

File Added - 25410: tkmanpatch.txt

Logged In: YES 
user_id=546567

See attachment.

andreas_kupries added on 2002-06-18 03:12:45:
Logged In: YES 
user_id=75003

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

Attachments: