mirror of
https://github.com/openvswitch/ovs
synced 2025-10-29 15:28:56 +00:00
nroff: Increase width for .IP used for ordered lists.
The ordered lists that a .25in width produced looked OK in PostScript
or PDF output, but in text output every list item spanned two lines,
like this:
1.
First list item.
2.
Second list item.
With this change, they appear normally:
1. First list item.
2. Second list item.
Acked-by: Mark Michelson <mmichels@redhat.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
This commit is contained in:
@@ -316,7 +316,7 @@ def block_xml_to_nroff(nodes, para='.PP'):
|
||||
if node.tagName == 'ul':
|
||||
s += ".IP \\(bu\n"
|
||||
else:
|
||||
s += ".IP %d. .25in\n" % i
|
||||
s += ".IP %d. .4in\n" % i
|
||||
s += block_xml_to_nroff(li_node.childNodes, ".IP")
|
||||
elif li_node.nodeType == node.COMMENT_NODE:
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user