summaryrefslogtreecommitdiffstatshomepage
path: root/roff.7
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2010-05-24 22:25:58 +0000
committerIngo Schwarze <schwarze@openbsd.org>2010-05-24 22:25:58 +0000
commitf33e9bc8a5b75be1fa9e13e0040f67f086caf19d (patch)
tree07638b7d8f5b1337c589c1200869c1eebfe0cce2 /roff.7
parent4f3f2467baac85e3e184ff13cf9d87c8cad0e577 (diff)
downloadmandoc-f33e9bc8a5b75be1fa9e13e0040f67f086caf19d.tar.gz
mandoc-f33e9bc8a5b75be1fa9e13e0040f67f086caf19d.tar.zst
mandoc-f33e9bc8a5b75be1fa9e13e0040f67f086caf19d.zip
provide stubs to ignore .ds, .rm and .tr,
which occur in the standard pod2man preamble; from OpenBSD; "sounds good" joerg@, "can be checked in" kristaps@
Diffstat (limited to 'roff.7')
-rw-r--r--roff.722
1 files changed, 20 insertions, 2 deletions
diff --git a/roff.7 b/roff.7
index 4c582588..64621c83 100644
--- a/roff.7
+++ b/roff.7
@@ -1,4 +1,4 @@
-.\" $Id: roff.7,v 1.5 2010/05/17 02:38:13 kristaps Exp $
+.\" $Id: roff.7,v 1.6 2010/05/24 22:25:58 schwarze Exp $
.\"
.\" Copyright (c) 2010 Kristaps Dzonsons <kristaps@bsd.lv>
.\"
@@ -14,7 +14,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: May 17 2010 $
+.Dd $Mdocdate: May 24 2010 $
.Dt ROFF 7
.Os
.Sh NAME
@@ -90,6 +90,12 @@ The syntax of this macro is the same as that of
.Sx \&ig ,
except that a leading argument must be specified.
It is ignored, as are its children.
+.Ss \&ds
+Define a string.
+This macro is intended to have two arguments,
+the name of the string to define and its content.
+Currently, it is ignored including its arguments,
+and the number of arguments is not checked.
.Ss \&de1
The syntax of this macro is the same as that of
.Sx \&ig ,
@@ -235,6 +241,18 @@ the subsequent invocation of
.Sx \&if
will first signify the end of comment, then be invoked as a macro.
This behaviour really shouldn't be counted upon.
+.Ss \&rm
+Remove a request, macro or string.
+This macro is intended to have one argument,
+the name of the request, macro or string to be undefined.
+Currently, it is ignored including its arguments,
+and the number of arguments is not checked.
+.Ss \&tr
+Output character translation.
+This macro is intended to have one argument,
+consisting of an even number of characters.
+Currently, it is ignored including its arguments,
+and the number of arguments is not checked.
.Sh COMPATIBILITY
This section documents compatibility between mandoc and other other
troff implementations, at this time limited to GNU troff