Skip to content

Commit

Permalink
Instead of fiddling with html tags, simply enlarge a bit the width in…
Browse files Browse the repository at this point in the history
… the CSS stylesheet.
  • Loading branch information
fvogel committed Dec 29, 2022
1 parent 143059a commit bfc606b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions tools/tcltk-man2html-utils.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,6 @@ proc output-IP-list {context code rest} {
backup-text 1
set accept_RE 0
set para {}
set endpara {}
while {[more-text]} {
set line [next-text]
if {[is-a-directive $line]} {
Expand All @@ -595,7 +594,7 @@ proc output-IP-list {context code rest} {
continue
}
if {$manual(section) eq "ARGUMENTS"} {
man-puts "$para<DT>$rest<DD>$endpara"
man-puts "$para<DT>$rest<DD>"
} elseif {[regexp {^\[([\da-f]+)\]$} $rest -> value]} {
man-puts "$para<LI value=\"$value\">"
} elseif {[regexp {^\(?([\da-f]+)\)$} $rest -> value]} {
Expand Down Expand Up @@ -665,7 +664,6 @@ proc output-IP-list {context code rest} {
man-puts $line
}
set para <P>
set endpara </P>
}
man-puts "$para$enddl"
lappend manual(section-toc) $enddl
Expand Down
4 changes: 2 additions & 2 deletions tools/tcltk-man2html.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -221,14 +221,14 @@ proc css-stylesheet {} {
font-size: 11px;
}
css-style ".keylist dt" ".arguments dt" {
width: 20em;
width: 25em;
float: left;
padding: 2px;
border-top: 1px solid #999999;
}
css-style ".keylist dt" { font-weight: bold; }
css-style ".keylist dd" ".arguments dd" {
margin-left: 20em;
margin-left: 25em;
padding: 2px;
border-top: 1px solid #999999;
}
Expand Down

0 comments on commit bfc606b

Please sign in to comment.