Skip to content
Tcl Source Code View Ticket
Login

View Ticket

fix for bogus HTML man page links

Closed / Out of Date557400ffffffffffffffffffffffffffffffffffCreated 25 years agoUpdated 10 years ago
Descriptionplain2002-05-17 19:09:00
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
hobbs Ticket [557400ffff]: 1 change [History diff]2002-05-25 04:12:12
andreas_kupriesplain2002-06-18 03:12:45
Logged In: YES 
user_id=75003

Please attach the patch. In the current form it is effectively 
unuseable.
paulgardnerplain2002-06-20 00:28:32
File Added - 25410: tkmanpatch.txt

Logged In: YES 
user_id=546567

See attachment.
dkf Closed ticket [557400ffff]. [History diff]2016-08-20 17:13:49
Log in (anonymous is fine) to add a comment.

Attachments: