version 1.75, 2011/01/10 03:43:47 |
version 1.82, 2011/01/23 15:35:10 |
|
|
* parser bugs |
* parser bugs |
************************************************************************ |
************************************************************************ |
|
|
|
- .TP before .SH is still FATAL in man(7) |
|
reported by brad@ Sat, 15 Jan 2011 15:54:54 -0500 |
|
|
- the roff parser doesn't tolerate additional characters between |
- the roff parser doesn't tolerate additional characters between |
a macro and the \} terminating a conditional block, e.g. |
a macro and the \} terminating a conditional block, e.g. |
.if n \{ |
.if n \{ |
|
|
* formatter bugs |
* formatter bugs |
************************************************************************ |
************************************************************************ |
|
|
- in literal mode, the man(7) -Tascii formatter |
|
breaks the line between macro arguments, |
|
e.g. ".B #include <libintl.h>" in gettext(3) |
|
|
|
************************************************************************ |
************************************************************************ |
* missing features |
* missing features |
************************************************************************ |
************************************************************************ |
|
|
|
--- missing roff features ---------------------------------------------- |
|
|
|
- .ad (adjust margins) |
|
.ad l -- adjust left margin only (flush left) |
|
.ad r -- adjust right margin only (flush right) |
|
.ad c -- center text on line |
|
.ad b -- adjust both margins (alias: .ad n) |
|
.na -- temporarily disable adjustment without changing the mode |
|
.ad -- re-enable adjustment without changing the mode |
|
Adjustment mode is ignored while in no-fill mode (.nf). |
|
|
|
- .it (line traps) occur in mysql(1), yasm_arch(7) |
|
generated by DocBook XSL Stylesheets v1.71.1 <http://docbook.sf.net/> |
|
reported by brad@ Sat, 15 Jan 2011 15:48:18 -0500 |
|
|
|
- .ns (no-space mode) occurs in xine-config(1) |
|
reported by brad@ Sat, 15 Jan 2011 15:45:23 -0500 |
|
|
|
- xloadimage(1) wants .ti (temporary indent), rep by naddy@ |
|
|
|
- .ta (tab settings) occurs in ircbug(1) and probably gnats(1) |
|
reported by brad@ Sat, 15 Jan 2011 15:50:51 -0500 |
|
|
- pod2man expects `tr' to be implemented for \*(-- to work |
- pod2man expects `tr' to be implemented for \*(-- to work |
|
|
- implement `rm' - it is easy to do and used in the pod2man preamble |
--- missing mdoc features ---------------------------------------------- |
reminded by brad@ Sun, Jan 09, 2011 at 09:45:58PM -0500 |
|
|
|
- fix bad block nesting involving multiple identical explicit blocks |
- fix bad block nesting involving multiple identical explicit blocks |
see the OpenBSD mdoc_macro.c 1.47 commit message |
see the OpenBSD mdoc_macro.c 1.47 commit message |
|
|
because libmdoc does not yet use mandoc_getarg(). |
because libmdoc does not yet use mandoc_getarg(). |
Also check what happens in plain text, it must be identical to \e. |
Also check what happens in plain text, it must be identical to \e. |
|
|
- implement basic non-parametric .de to support e.g. sox(1) |
- .Bd -filled should not be the same as .Bd -ragged, but align both |
reported by naddy@ Sat, 16 Oct 2010 23:51:57 +0200 |
the left and right margin. In groff, it is implemented in terms |
*** sox(1) still doesn't work, tbl(1) errors need investigation |
of .ad b, which we don't have either. Found in cksum(1). |
|
|
- clean up escape sequence handling, creating three classes: |
|
(1) fully implemented, or parsed and ignored without loss of content |
|
(2) unimplemented, potentially causing loss of content |
|
or serious mangling of formatting (e.g. \n) -> ERROR |
|
see textproc/mgdiff(1) for nice examples |
|
(3) undefined, just output the character -> perhaps WARNING |
|
|
|
- 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 |
|
roff stuff. Figure out to what extent we can cope. |
|
noted by stsp@ Sat, 24 Apr 2010 09:17:55 +0200 |
|
reminded by nicm@ Mon, 3 May 2010 09:52:41 +0100 |
|
|
|
- implement blank `Bl -column', such as |
- implement blank `Bl -column', such as |
.Bl -column |
.Bl -column |
.It foo Ta bar |
.It foo Ta bar |
|
|
(e.g., NetBSD mDNSShared/dns-sd.1) |
(e.g., NetBSD mDNSShared/dns-sd.1) |
(mdoc_html.c and mdoc_term.c `Nm' handlers can be slightly simplified) |
(mdoc_html.c and mdoc_term.c `Nm' handlers can be slightly simplified) |
|
|
- xloadimage(1) wants .ti (temporary indent), rep by naddy@ |
--- missing man features ----------------------------------------------- |
|
|
- bashbug(1) complains "line scope broken" after |
- bashbug(1) complains "line scope broken" after |
.SM |
.SM |
|
|
should either just work or be a warning |
should either just work or be a warning |
reported by naddy@ |
reported by naddy@ |
|
|
|
- groff an-ext.tmac macros (.UR, .UE) occur in xine(5) |
|
reported by brad@ Sat, 15 Jan 2011 15:45:23 -0500 |
|
|
|
--- missing tbl features ----------------------------------------------- |
|
|
|
- implement basic non-parametric .de to support e.g. sox(1) |
|
reported by naddy@ Sat, 16 Oct 2010 23:51:57 +0200 |
|
*** sox(1) still doesn't work, tbl(1) errors need investigation |
|
|
|
--- missing misc features ---------------------------------------------- |
|
|
|
- clean up escape sequence handling, creating three classes: |
|
(1) fully implemented, or parsed and ignored without loss of content |
|
(2) unimplemented, potentially causing loss of content |
|
or serious mangling of formatting (e.g. \n) -> ERROR |
|
see textproc/mgdiff(1) for nice examples |
|
(3) undefined, just output the character -> perhaps WARNING |
|
|
|
- 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 |
|
roff stuff. Figure out to what extent we can cope. |
|
For details, see http://docutils.sourceforge.net/rst.html |
|
noted by stsp@ Sat, 24 Apr 2010 09:17:55 +0200 |
|
reminded by nicm@ Mon, 3 May 2010 09:52:41 +0100 |
|
|
- check compatibility with Plan9: |
- check compatibility with Plan9: |
http://swtch.com/usr/local/plan9/tmac/tmac.an |
http://swtch.com/usr/local/plan9/tmac/tmac.an |
http://swtch.com/plan9port/man/man7/man.html |
http://swtch.com/plan9port/man/man7/man.html |
|
|
************************************************************************ |
************************************************************************ |
* error reporting issues |
* error reporting issues |
************************************************************************ |
************************************************************************ |
|
|
- .fi without preceding .nf need not be an ERROR, |
|
a warning is sufficient; occurs in all postfix manuals |
|
reported by brad@ Sun, Jan 09, 2011 at 09:45:58PM -0500 |
|
|
|
- downgrade "ERROR: macro requires body argument(s)" to WARNING |
|
for the typical man(7) cases, it keeps confusing people |
|
reminded by brad@ Sun, Jan 09, 2011 at 09:45:58PM -0500 |
|
|
|
************************************************************************ |
************************************************************************ |
* performance issues |
* performance issues |