[ovs-dev] [PATCH 1/3] nroff: Increase width for .IP used for ordered lists.
Ben Pfaff
blp at ovn.org
Fri Nov 9 05:39:53 UTC 2018
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.
Signed-off-by: Ben Pfaff <blp at ovn.org>
---
python/build/nroff.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/python/build/nroff.py b/python/build/nroff.py
index 73353061cccc..17ff69bfe47a 100644
--- a/python/build/nroff.py
+++ b/python/build/nroff.py
@@ -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
--
2.16.1
More information about the dev
mailing list