[Openvpn-devel,1/3] man: Add .TQ groff support macro

Message ID 20180228131918.12954-1-davids@openvpn.net
State Accepted
Headers show
Series
  • [Openvpn-devel,1/3] man: Add .TQ groff support macro
Related show

Commit Message

David Sommerseth Feb. 28, 2018, 1:19 p.m.
This introduces the .TQ groff macro.  Even though this can be found
in newer groff versions, not all platforms we support carries this one.

This macro makes it possible to have mulitple lines of options as
headers before describing all of these options in the same segment.

Signed-off-by: David Sommerseth <davids@openvpn.net>
---
 doc/openvpn.8 | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

Comments

Gert Doering Feb. 28, 2018, 4:24 p.m. | #1
Acked-by: Gert Doering <gert@greenie.muc.de>

(Tested on FreeBSD 9, where .TQ is not available out of the box)

Your patch has been applied to the master and release/2.4 branch.

commit 5ed5ac5cf869c0284ffeedda358da23e201357cc (master)
commit c5a63d5a6ea78bee069cc503e0a396decfbbaf0e (release/2.4)
Author: David Sommerseth
Date:   Wed Feb 28 14:19:16 2018 +0100

     man: Add .TQ groff support macro

     Signed-off-by: David Sommerseth <davids@openvpn.net>
     Acked-by: Gert Doering <gert@greenie.muc.de>
     Message-Id: <20180228131918.12954-1-davids@openvpn.net>
     URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg16575.html
     Signed-off-by: Gert Doering <gert@greenie.muc.de>


--
kind regards,

Gert Doering


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

Patch

diff --git a/doc/openvpn.8 b/doc/openvpn.8
index 364aee8a..bd9f2606 100644
--- a/doc/openvpn.8
+++ b/doc/openvpn.8
@@ -33,7 +33,15 @@ 
 .\" .ft -- normal face
 .\" .in +|-{n} -- indent
 .\"
-.TH openvpn 8 "31 January 2018"
+.\" Support macros - this is not present on all platforms
+.\" Continuation line for .TP header.
+.de TQ
+.  br
+.  ns
+.  TP \\$1\" no doublequotes around argument!
+..
+.\" End of TQ macro
+.TH openvpn 8 "28 February 2018"
 .\"*********************************************************
 .SH NAME
 openvpn \- secure IP tunnel daemon.