diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2019-01-04 03:39:01 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2019-01-04 03:39:01 +0000 |
commit | 995226b9b9a3d51201a7560c81799147b9a4eed9 (patch) | |
tree | 2dca47933b521d987cd930a8cb253b3de389cc97 /TODO | |
parent | dde3bc1c0523727a21bd5f43ec4d4f06bc7b8278 (diff) | |
download | mandoc-995226b9b9a3d51201a7560c81799147b9a4eed9.tar.gz mandoc-995226b9b9a3d51201a7560c81799147b9a4eed9.tar.zst mandoc-995226b9b9a3d51201a7560c81799147b9a4eed9.zip |
Two functional improvements to filling in terminal output.
1. Fully support no-fill mode in mdoc(7), even when invoked with
low-level roff(7) .nf requests. As a side effect, this substantially
simplifies the implementation of .Bd -unfilled and .Bd -literal.
2. Let .Bd -centered fill its text, using the new TERMP_CENTER flag.
That finally fixes the long-standing bug that it used to operate in
no-fill mode, which was known to be wrong for at least five years.
This also simplifies the implementation of .Bd -centered considerably.
Diffstat (limited to 'TODO')
-rw-r--r-- | TODO | 9 |
1 files changed, 1 insertions, 8 deletions
@@ -1,6 +1,6 @@ ************************************************************************ * Official mandoc TODO. -* $Id: TODO,v 1.281 2018/12/15 19:30:25 schwarze Exp $ +* $Id: TODO,v 1.282 2019/01/04 03:39:01 schwarze Exp $ ************************************************************************ Many issues are annotated for difficulty as follows: @@ -90,13 +90,6 @@ are mere guesses, and some may be wrong. from jmc@ Wed, 14 Jul 2010 18:10:32 +0100 loc * exist *** algo *** size ** imp ** -- .Bd -centered implies -filled, not -unfilled, which is not - easy to implement; it requires code similar to .ce, which - we don't have either. - Besides, groff has bug causing text right *before* .Bd -centered - to be centered as well. - loc *** exist *** algo ** size ** imp ** (parser reorg would help) - - .Bd -filled should not be the same as .Bd -ragged, but align both the left and right margin. In groff, it is implemented in terms of .ad b, which we don't have either. Found in cksum(1). |