From 496e3f59f915db45643e74c99ae71923800637f8 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Mon, 22 Jun 2009 12:22:35 +0000 Subject: 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. --- mdoc.7 | 9 +++++++-- mdoc_strings.c | 5 +++-- 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 .\" @@ -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 * @@ -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): -- cgit v1.2.3-56-ge451