diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2017-05-07 17:31:45 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2017-05-07 17:31:45 +0000 |
commit | 72ffb5f81a5259c8b01aa48d71c3542bc8eed8d7 (patch) | |
tree | 31fa6b4a1d8a875e8da528874a5b9907e452f853 /term_ascii.c | |
parent | 3bbe9ca77bfa0a811b6ac068444fadfbb440cb8e (diff) | |
download | mandoc-72ffb5f81a5259c8b01aa48d71c3542bc8eed8d7.tar.gz mandoc-72ffb5f81a5259c8b01aa48d71c3542bc8eed8d7.tar.zst mandoc-72ffb5f81a5259c8b01aa48d71c3542bc8eed8d7.zip |
Basic implementation of the roff(7) .ta (define tab stops) request.
This is the first feature made possible by the parser reorganization.
Improves the formatting of the SYNOPSIS in many Xenocara GL manuals.
Also important for ports, as reported by many, including naddy@.
Diffstat (limited to 'term_ascii.c')
-rw-r--r-- | term_ascii.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/term_ascii.c b/term_ascii.c index df5ff139..d0afafc4 100644 --- a/term_ascii.c +++ b/term_ascii.c @@ -1,4 +1,4 @@ -/* $Id: term_ascii.c,v 1.54 2016/07/31 09:29:13 schwarze Exp $ */ +/* $Id: term_ascii.c,v 1.55 2017/05/07 17:31:45 schwarze Exp $ */ /* * Copyright (c) 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2014, 2015 Ingo Schwarze <schwarze@openbsd.org> @@ -68,7 +68,6 @@ ascii_init(enum termenc enc, const struct manoutput *outopts) p = mandoc_calloc(1, sizeof(struct termp)); p->line = 1; - p->tabwidth = 5; p->defrmargin = p->lastrmargin = 78; p->fontq = mandoc_reallocarray(NULL, (p->fontsz = 8), sizeof(enum termfont)); |