summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2007-11-02 14:49:12 (GMT)
committerdgp <dgp@users.sourceforge.net>2007-11-02 14:49:12 (GMT)
commit93121ecc2bde5853aa0d7fac349fd1c942eccda0 (patch)
tree7efc157b6ca61caffdc21a5ffef137425bb5c02b /tools
parent0537174e35c6270b8692f4912ba7aeb657cc57e4 (diff)
downloadtcl-93121ecc2bde5853aa0d7fac349fd1c942eccda0.zip
tcl-93121ecc2bde5853aa0d7fac349fd1c942eccda0.tar.gz
tcl-93121ecc2bde5853aa0d7fac349fd1c942eccda0.tar.bz2
merge updates from HEAD
Diffstat (limited to 'tools')
-rwxr-xr-xtools/tcltk-man2html.tcl7
1 files changed, 5 insertions, 2 deletions
diff --git a/tools/tcltk-man2html.tcl b/tools/tcltk-man2html.tcl
index fa22b2e..c12b643 100755
--- a/tools/tcltk-man2html.tcl
+++ b/tools/tcltk-man2html.tcl
@@ -1296,10 +1296,13 @@ proc output-directive {line} {
}
.DS {
if {[next-op-is .ta rest]} {
- # ???
+ # skip the leading .ta directive if it is there
}
if {[match-text @stuff .DE]} {
- man-puts <PRE>$stuff</PRE>
+ set td "<td><p style=\"font-size:12px;padding-left:.5em;padding-right:.5em;\">"
+ set bodyText [string map [list \n <tr>$td \t $td] \n$stuff]
+ man-puts "<dl><dd><table border=\"0\">$bodyText</table></dl>"
+ #man-puts <PRE>$stuff</PRE>
} elseif {[match-text .fi @ul1 @ul2 .nf @stuff .DE]} {
man-puts "<PRE>[lindex $ul1 1][lindex $ul2 1]\n$stuff</PRE>"
} else {