=================================================================== RCS file: /cvs/mandoc/TODO,v retrieving revision 1.59 retrieving revision 1.61 diff -u -p -r1.59 -r1.61 --- mandoc/TODO 2010/10/10 09:59:48 1.59 +++ mandoc/TODO 2010/10/19 21:40:27 1.61 @@ -1,12 +1,25 @@ ************************************************************************ * Official mandoc TODO. -* $Id: TODO,v 1.59 2010/10/10 09:59:48 kristaps Exp $ +* $Id: TODO,v 1.61 2010/10/19 21:40:27 schwarze Exp $ ************************************************************************ ************************************************************************ +* parser bugs +************************************************************************ + +- the roff parser doesn't tolerate additional characters between + a macro and the \} terminating a conditional block, e.g. + .if n \{ + .br \} + reported by ulrich spoerlein Tue, 19 Oct 2010 20:39:50 +0200 + +************************************************************************ * missing features ************************************************************************ +- deal with nested displays, e.g. D1 inside Bd + schwarze has an old patch somewhere and would need to brush it up + - explicit blocks with missing end macro should be implicitely closed at the end of the enclosing block, e.g. .Bl It (El) Sh reminded by stsp@ in net/pptp pptp.8 Fri, 23 Apr 2010 20:32:39 +0200 @@ -36,11 +49,24 @@ \\ must behave in a macro def like in a macro argument, and when using the macro, it must expand yet again. -- look at bsd.lv tbl(1) - from kristaps@ Fri, 11 Sep 2009 17:10:53 +0200 - also look at the mail from Thomas Klausner wiz at NetBSD - on Wed, 2 Jun 2010 11:01:29 +0200 - joerg@ has patches for this somewhere... +- implement basic non-parametric .de to support e.g. sox(1) + .de SP + .if t .sp .5 + .if n .sp + .. + .de EX + .SP + .nf + .ft CW + .. + .de EE + .ft R + .SP + .fi + .. + reported by naddy@ Sat, 16 Oct 2010 23:51:57 +0200 + +- port OpenBSD tbl integration bsd.lv, probably cleaning it up - look at pages generated from reStructeredText, e.g. devel/mercurial hg(1) These are a weird mixture of man(7) and custom autogenerated low-level