Skip to content

Commit 23d3020

Browse files
committed
Instead of fiddling with html tags, simply enlarge a bit the width in the CSS stylesheet.
1 parent dbd4edc commit 23d3020

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

tools/tcltk-man2html-utils.tcl

+1-3
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,6 @@ proc output-IP-list {context code rest} {
583583
backup-text 1
584584
set accept_RE 0
585585
set para {}
586-
set endpara {}
587586
while {[more-text]} {
588587
set line [next-text]
589588
if {[is-a-directive $line]} {
@@ -595,7 +594,7 @@ proc output-IP-list {context code rest} {
595594
continue
596595
}
597596
if {$manual(section) eq "ARGUMENTS"} {
598-
man-puts "$para<DT>$rest<DD>$endpara"
597+
man-puts "$para<DT>$rest<DD>"
599598
} elseif {[regexp {^\[([\da-f]+)\]$} $rest -> value]} {
600599
man-puts "$para<LI value=\"$value\">"
601600
} elseif {[regexp {^\(?([\da-f]+)\)$} $rest -> value]} {
@@ -665,7 +664,6 @@ proc output-IP-list {context code rest} {
665664
man-puts $line
666665
}
667666
set para <P>
668-
set endpara </P>
669667
}
670668
man-puts "$para$enddl"
671669
lappend manual(section-toc) $enddl

tools/tcltk-man2html.tcl

+2-2
Original file line numberDiff line numberDiff line change
@@ -221,14 +221,14 @@ proc css-stylesheet {} {
221221
font-size: 11px;
222222
}
223223
css-style ".keylist dt" ".arguments dt" {
224-
width: 20em;
224+
width: 25em;
225225
float: left;
226226
padding: 2px;
227227
border-top: 1px solid #999999;
228228
}
229229
css-style ".keylist dt" { font-weight: bold; }
230230
css-style ".keylist dd" ".arguments dd" {
231-
margin-left: 20em;
231+
margin-left: 25em;
232232
padding: 2px;
233233
border-top: 1px solid #999999;
234234
}

0 commit comments

Comments
 (0)