[ovs-dev] [PATCH ovn] xml2nroff: Fix the support for h4.

Han Zhou hzhou at ovn.org
Fri May 1 17:29:21 UTC 2020


Half of the man page generated from ovn-architecture.7.xml is truncated
after the line:

<h4> Physical VLAN MTU Issues</h4>

It is because of the synctax problem of the definition of .SU in xml2nroff,
which is used by h4.

Fixes: 852316e8 ("xml2nroff: Properly support <h4>.")
Signed-off-by: Han Zhou <hzhou at ovn.org>
---
 build-aux/xml2nroff | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/build-aux/xml2nroff b/build-aux/xml2nroff
index 8b8b417..fc6de0d 100755
--- a/build-aux/xml2nroff
+++ b/build-aux/xml2nroff
@@ -92,7 +92,7 @@ def manpage_to_nroff(xml_file, subst, include_path, version=None):
 ..
 .de SU
 .  PP
-.  I "\\\\$1"
+.  I "\\$1"
 ..
 build/''' % (build.nroff.text_to_nroff(program),
              build.nroff.text_to_nroff(section),
-- 
2.1.0



More information about the dev mailing list