1 ************************************************************************
3 ************************************************************************
5 - explicit blocks with missing end macro should be implicitely closed
6 at the end of the enclosing block, e.g. .Bl It (El) Sh
7 reminded by stsp@ in net/pptp pptp.8 Fri, 23 Apr 2010 20:32:39 +0200
9 - fix bad block nesting involving multiple identical explicit blocks
10 see the OpenBSD mdoc_macro.c 1.47 commit message
12 - .Bl -column .Xo support is missing
14 restore .Xr and .Dv to
15 lib/libc/compat-43/sigvec.3
17 lib/libc/sys/sigaction.2
20 in plain text, identical to \e
21 as a macro argument, identical to \ i.e. escaping the next character
22 We do not have macro definitions yet; if we implement them,
23 \\ must behave in a macro def like in a macro argument,
24 and when using the macro, it must expand yet again.
26 - implement \s (physical font size)
28 \s+N - increment by N, 1 <= N <= 8
29 \s-N - decrement by N, 1 <= N <= 8
30 \s0 - restore previous size
31 \s(nn \s+-(nn \s'+-nn' \s+-'nn' \s[+-nn] \s+-[nn] - disambiguate
32 registers: .s .ps .sr .psr
33 used by e.g. cu(1), tip(1)
35 - look at bsd.lv tbl(1)
36 from kristaps@ Fri, 11 Sep 2009 17:10:53 +0200
37 also look at the mail from Thomas Klausner wiz at NetBSD
38 on Wed, 2 Jun 2010 11:01:29 +0200
40 - look at pages generated from reStructeredText, e.g. devel/mercurial hg(1)
41 These are a weird mixture of man(7) and custom autogenerated low-level
42 roff stuff. Figure out to what extent we can cope.
43 noted by stsp@ Sat, 24 Apr 2010 09:17:55 +0200
44 reminded by nicm@ Mon, 3 May 2010 09:52:41 +0100
46 - implement blank `Bl -column', such as
51 - explicitly disallow nested `Bl -column', which would clobber internal
52 flags defined for struct mdoc_macro
54 - set a meaningful default if no `Bl' list type is assigned
56 - have a blank `It' head for `Bl -tag' not puke
58 - ignore horrendous m[] font colouring
59 reported by J.C. Roberts
61 - prohibit `Nm' from having non-text HEAD children
62 (e.g., NetBSD mDNSShared/dns-sd.1)
63 (mdoc_html.c and mdoc_term.c `Nm' handlers can be slightly simplified)
65 ************************************************************************
66 * formatting issues: ugly output
67 ************************************************************************
69 - outside list context, text following .Sm off
70 seems to follow without a blank (TERM_NOBLANK reset late?) e.g.
73 .Op Ar bind_address No /
78 reported by jmc Tue, 13 Apr 2010 08:48:14 +0100
80 - empty phrases in .Bl column produce too few blanks
81 try e.g. .Bl -column It Ta Ta
82 reported by millert Fri, 02 Apr 2010 16:13:46 -0400
84 ************************************************************************
85 * formatting issues: gratuitious differences
86 ************************************************************************
88 - none reported right now (yet schwarze@ knows of some)
90 ************************************************************************
92 ************************************************************************
94 Several areas can be cleaned up to make mandoc even faster. These are
96 - improve hashing mechanism for macros (quite important: performance)
98 - improve hashing mechanism for characters (not as important)
100 ************************************************************************
102 ************************************************************************