summaryrefslogtreecommitdiffstats
path: root/regress/mdoc
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-06-04 21:49:39 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-06-04 21:49:39 +0000
commit14deda6326abdec269681291139d0ae022db56f9 (patch)
treee54066223fec52451a6c76fe663d1ea51c445ff7 /regress/mdoc
parent8c29167218188f6baf91ea99e4a5cd3e70080638 (diff)
downloadmandoc-14deda6326abdec269681291139d0ae022db56f9.tar.gz
Documented `In' in full.
Fixed `In' to behave properly: it wasn't properly breaking lines, formatting, or really anything else. Noted COMPATIBILITY with OpenBSD's groff, which pukes all over `In'.
Diffstat (limited to 'regress/mdoc')
-rw-r--r--regress/mdoc/In/in.in24
1 files changed, 24 insertions, 0 deletions
diff --git a/regress/mdoc/In/in.in b/regress/mdoc/In/in.in
new file mode 100644
index 00000000..28831768
--- /dev/null
+++ b/regress/mdoc/In/in.in
@@ -0,0 +1,24 @@
+.\" THIS WILL PUKE HORRIBLY ON OLD GROFF, WHICH HAS COMPLETELY
+.\" DIFFERENT ("BAD") BEHAVIOUR.
+.Dd $Mdocdate$
+.Dt FOO 1
+.Os
+.Sh NAME
+.Nm foo
+.Nd bar
+.Sh SYNOPSIS
+1
+.In 2 3
+6
+.In 2 3
+.Qq In 2
+.Fd a
+6
+.In 4
+5
+.Sh DESCRIPTION
+1
+.In 2 3
+6
+.In 4
+5