1 ************************************************************************
2 * Official mandoc TODO. May not be quite up to date.
3 * $Id: TODO,v 1.32 2010/07/19 11:06:31 kristaps Exp $
4 ************************************************************************
6 ************************************************************************
8 ************************************************************************
10 - explicit blocks with missing end macro should be implicitely closed
11 at the end of the enclosing block, e.g. .Bl It (El) Sh
12 reminded by stsp@ in net/pptp pptp.8 Fri, 23 Apr 2010 20:32:39 +0200
14 - fix bad block nesting involving multiple identical explicit blocks
15 see the OpenBSD mdoc_macro.c 1.47 commit message
17 - .Bl -column .Xo support is missing
19 restore .Xr and .Dv to
20 lib/libc/compat-43/sigvec.3
22 lib/libc/sys/sigaction.2
24 - edge case: decide how to deal with blk_full bad nesting, e.g.
25 .Sh .Nm .Bk .Nm .Ek .Sh found by jmc@ in ssh-keygen(1)
26 from jmc@ Wed, 14 Jul 2010 18:10:32 +0100
28 - auto-Bk in the SYNOPSIS
29 patch from kristaps@ Fri, 16 Jul 2010 14:51:24 +0200
30 to be revisited after OpenBSD 4.8 tree unlock
33 in plain text, identical to \e
34 as a macro argument, identical to \ i.e. escaping the next character
35 We do not have macro definitions yet; if we implement them,
36 \\ must behave in a macro def like in a macro argument,
37 and when using the macro, it must expand yet again.
39 - look at bsd.lv tbl(1)
40 from kristaps@ Fri, 11 Sep 2009 17:10:53 +0200
41 also look at the mail from Thomas Klausner wiz at NetBSD
42 on Wed, 2 Jun 2010 11:01:29 +0200
44 - look at pages generated from reStructeredText, e.g. devel/mercurial hg(1)
45 These are a weird mixture of man(7) and custom autogenerated low-level
46 roff stuff. Figure out to what extent we can cope.
47 noted by stsp@ Sat, 24 Apr 2010 09:17:55 +0200
48 reminded by nicm@ Mon, 3 May 2010 09:52:41 +0100
50 - implement blank `Bl -column', such as
55 - explicitly disallow nested `Bl -column', which would clobber internal
56 flags defined for struct mdoc_macro
58 - set a meaningful default if no `Bl' list type is assigned
60 - have a blank `It' head for `Bl -tag' not puke
62 - prohibit `Nm' from having non-text HEAD children
63 (e.g., NetBSD mDNSShared/dns-sd.1)
64 (mdoc_html.c and mdoc_term.c `Nm' handlers can be slightly simplified)
66 ************************************************************************
67 * formatting issues: ugly output
68 ************************************************************************
70 - perl(1) SYNOPSIS looks bad; reported by deraadt@
71 1) man(7) seems to need SYNOPSIS .Nm blocks, too
73 - empty phrases in .Bl column produce too few blanks
74 try e.g. .Bl -column It Ta Ta
75 reported by millert Fri, 02 Apr 2010 16:13:46 -0400
77 ************************************************************************
78 * formatting issues: gratuitious differences
79 ************************************************************************
81 - none reported right now (yet schwarze@ knows of some)
83 ************************************************************************
85 ************************************************************************
87 Several areas can be cleaned up to make mandoc even faster. These are
89 - improve hashing mechanism for macros (quite important: performance)
91 - improve hashing mechanism for characters (not as important)
93 ************************************************************************
95 ************************************************************************