summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-06-22 12:22:35 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-06-22 12:22:35 +0000
commit496e3f59f915db45643e74c99ae71923800637f8 (patch)
treec3fadfd810c69e31469053e49640c31668f4da73
parent74605f6540401164e8a214ee34d6de4094e5347f (diff)
downloadmandoc-496e3f59f915db45643e74c99ae71923800637f8.tar.gz
mandoc-496e3f59f915db45643e74c99ae71923800637f8.tar.zst
mandoc-496e3f59f915db45643e74c99ae71923800637f8.zip
Added -split and -nosplit "I-Don't-Like" note to mdoc.7 (there really must be another way to do this).
Fixed .Er -width conversion.
-rw-r--r--mdoc.79
-rw-r--r--mdoc_strings.c5
2 files changed, 10 insertions, 4 deletions
diff --git a/mdoc.7 b/mdoc.7
index 214f9018..6228cc67 100644
--- a/mdoc.7
+++ b/mdoc.7
@@ -1,4 +1,4 @@
-.\" $Id: mdoc.7,v 1.30 2009/06/17 14:08:47 kristaps Exp $
+.\" $Id: mdoc.7,v 1.31 2009/06/22 12:22:35 kristaps Exp $
.\"
.\" Copyright (c) 2009 Kristaps Dzonsons <kristaps@kth.se>
.\"
@@ -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: June 17 2009 $
+.Dd $Mdocdate: June 22 2009 $
.Dt MDOC 7
.Os
.\" SECTION
@@ -618,4 +618,9 @@ etc.).
There's no way to refer to references in
.Sq \&.Rs/.Re
blocks.
+.\" LIST-ITEM
+.It
+The \-split and \-nosplit arguments to
+.Sq \&.An
+are inane.
.El
diff --git a/mdoc_strings.c b/mdoc_strings.c
index e9e0b409..126a2439 100644
--- a/mdoc_strings.c
+++ b/mdoc_strings.c
@@ -1,4 +1,4 @@
-/* $Id: mdoc_strings.c,v 1.7 2009/06/17 10:53:32 kristaps Exp $ */
+/* $Id: mdoc_strings.c,v 1.8 2009/06/22 12:22:35 kristaps Exp $ */
/*
* Copyright (c) 2008 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -221,6 +221,7 @@ mdoc_atotime(const char *p)
}
+/* FIXME: move this into an editable .in file. */
size_t
mdoc_macro2len(int macro)
{
@@ -255,7 +256,7 @@ mdoc_macro2len(int macro)
case(MDOC_Em):
return(10);
case(MDOC_Er):
- return(12);
+ return(17);
case(MDOC_Ev):
return(15);
case(MDOC_Fa):