From b1938d01834105572311aa9b06d667939309bee7 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Sun, 30 Mar 2014 19:47:48 +0000 Subject: Implement the roff(7) .ll (line length) request. Found by naddy@ in the textproc/enchant(1) port. Of course, do not use this in new manuals. --- mdoc_html.c | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'mdoc_html.c') diff --git a/mdoc_html.c b/mdoc_html.c index a7aa722d..99eed7d4 100644 --- a/mdoc_html.c +++ b/mdoc_html.c @@ -1,6 +1,7 @@ -/* $Id: mdoc_html.c,v 1.186 2013/12/24 20:45:27 schwarze Exp $ */ +/* $Id: mdoc_html.c,v 1.187 2014/03/30 19:47:48 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons + * Copyright (c) 2014 Ingo Schwarze * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -95,6 +96,7 @@ static int mdoc_it_pre(MDOC_ARGS); static int mdoc_lb_pre(MDOC_ARGS); static int mdoc_li_pre(MDOC_ARGS); static int mdoc_lk_pre(MDOC_ARGS); +static int mdoc_ll_pre(MDOC_ARGS); static int mdoc_mt_pre(MDOC_ARGS); static int mdoc_ms_pre(MDOC_ARGS); static int mdoc_nd_pre(MDOC_ARGS); @@ -242,6 +244,7 @@ static const struct htmlmdoc mdocs[MDOC_MAX] = { {mdoc_sp_pre, NULL}, /* sp */ {mdoc__x_pre, mdoc__x_post}, /* %U */ {NULL, NULL}, /* Ta */ + {mdoc_ll_pre, NULL}, /* ll */ }; static const char * const lists[LIST_MAX] = { @@ -1597,6 +1600,14 @@ mdoc_sm_pre(MDOC_ARGS) return(0); } +/* ARGSUSED */ +static int +mdoc_ll_pre(MDOC_ARGS) +{ + + return(0); +} + /* ARGSUSED */ static int mdoc_pp_pre(MDOC_ARGS) @@ -1604,7 +1615,6 @@ mdoc_pp_pre(MDOC_ARGS) print_otag(h, TAG_P, 0, NULL); return(0); - } /* ARGSUSED */ -- cgit v1.2.3-56-ge451