[BACK]Return to TODO CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc

Annotation of mandoc/TODO, Revision 1.7

1.1       kristaps    1: ************************************************************************
                      2: * missing features
                      3: ************************************************************************
                      4:
                      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
                      8:
                      9: - .Bl -column .Xo support is missing
                     10:   ultimate goal:
                     11:   restore .Xr and .Dv to
                     12:   lib/libc/compat-43/sigvec.3
                     13:   lib/libc/gen/signal.3
                     14:   lib/libc/sys/sigaction.2
                     15:
                     16: - .Bk / .Ek is broken, e.g.
                     17:   $ man ssh
                     18:   [...]
                     19:   ssh [-1246AaCfgKkMNnqsTtVvXxYy] [-b bind_address] [-c cipher_spec] [-D
                     20:   [bind_address:]port] [-e escape_char] [-F configfile] [-I pkcs11]
                     21:   reminded by Ludo Smissaert  Mon, 10 May 2010 12:15:11 +0200
                     22:   also reported by jmc@ earlier
                     23:
1.7     ! schwarze   24: - .Bl -tag -compact
        !            25:   .Sm off
        !            26:   .It ...
        !            27:   .Sm on
        !            28:   .El
        !            29:   triggers the assertion in mdoc_action.c:618 (post_bl_tagwidth).
        !            30:   It should probably assume a default tag width?
        !            31:   reported by Joerg Sonnenberger 18.5.10 (Re: .Bl and .Pp)
        !            32:
1.1       kristaps   33: - implement \\
                     34:   in plain text, identical to \e
                     35:   as a macro argument, identical to \ i.e. escaping the next character
                     36:   We do not have macro definitions yet; if we implement them,
                     37:   \\ must behave in a macro def like in a macro argument,
                     38:   and when using the macro, it must expand yet again.
                     39:
                     40: - look at bsd.lv tbl(1)
                     41:   from kristaps@  Fri, 11 Sep 2009 17:10:53 +0200
                     42:
                     43: - look at pages generated from reStructeredText, e.g. devel/mercurial hg(1)
                     44:   These are a weird mixture of man(7) and custom autogenerated low-level
                     45:   roff stuff.  Figure out to what extent we can cope.
                     46:   noted by stsp@  Sat, 24 Apr 2010 09:17:55 +0200
                     47:   reminded by nicm@  Mon, 3 May 2010 09:52:41 +0100
                     48:
                     49:
                     50: - FIXED OpenBSD term.h 1.16 term.c 1.30 mdoc_term.c 1.75 schwarze 23.4.10
                     51:   handle tab characters outside literal context, e.g. usb(4)
                     52:   reported by jmc@  Mon, 19 Apr 2010 07:42:12 +0100
1.2       schwarze   53:   NEEDS MERGING TO bsd.lv
1.1       kristaps   54:
                     55: - FIXED OpenBSD man.h 1.15 libman.h 1.16 man_hash.c 1.9
                     56:   man.c 1.25 man_macro.c 1.15 man_validate.c 1.19 man_action.c 1.15
                     57:   man_term.c 1.28 man_html.c 1.9 schwarze 25.4.
                     58:   implement .if .ie .el
                     59:   noticed by espie@  Fri, 23 Apr 2010 17:10:35 +0200
1.2       schwarze   60:   NEEDS MERGING TO bsd.lv
1.1       kristaps   61:
                     62:
                     63: ************************************************************************
                     64: * formatting issues: ugly output
                     65: ************************************************************************
                     66:
                     67: - outside list context, text following .Sm off
                     68:   seems to follow without a blank (TERM_NOBLANK reset late?) e.g.
                     69:         .Sm off
                     70:         .Xo
                     71:         .Op Ar bind_address No /
                     72:         .Ar port
                     73:         .Xc
                     74:         .Sm on
                     75:         or by enclosing
                     76:   reported by jmc Tue, 13 Apr 2010 08:48:14 +0100
                     77:
                     78: - do not break the line after "--", it's probably a long option
                     79:   reminded by stsp in net/pptp pptp.8  Fri, 23 Apr 2010 20:32:39 +0200
                     80:
                     81: - URGENT, this is making many kernel manuals look bad:
                     82:   .Ft/.Fn should MAYBE behave in custom section like in SYNOPSIS?
                     83:   autoconf.9:
                     84:     .Sh DIRECT CONFIGURATION
                     85:     .nr nS 1
                     86:     .Ft "struct device *"
                     87:     .Fn config_found_sm "struct device *parent"
                     88:   groff:
                     89:     DIRECT CONFIGURATION
                     90:       struct device *
                     91:       config_found_sm(struct device *parent, ...
                     92:   reported by sthen  Tue, 20 Apr 2010 13:42:51 +0100
                     93:
                     94: - indentation got lost in SYNOPSIS, e.g.
                     95:    SYNOPSIS
                     96:         date [-ajnu] [-d dst] [-r seconds] [-t minutes_west] [+format]
                     97:   -          [[[[[[cc]yy]mm]dd]HH]MM[.SS]]
                     98:   +     [[[[[[cc]yy]mm]dd]HH]MM[.SS]]
                     99:   reminded by Ludo Smissaert  Mon, 10 May 2010 12:15:11 +0200
                    100:
                    101: - empty phrases in .Bl column produce too few blanks
                    102:   try e.g. .Bl -column It Ta Ta
                    103:   reported by millert Fri, 02 Apr 2010 16:13:46 -0400
                    104:
1.5       joerg     105: - nroff inserts a space before :, mandoc doesn't:
                    106:     .Dl expr "/$a" Li : '.*/\e(.*\e)'
1.1       kristaps  107:
                    108: ************************************************************************
                    109: * formatting issues: gratuitious differences
                    110: ************************************************************************
                    111:
1.7     ! schwarze  112: - FIXED OpenBSD mdoc.c 1.52 schwarze 16.5.10
        !           113:   lines containing blank characters, and nothing else,
1.1       kristaps  114:   in literal context (.Bd -literal):
                    115:   groff outputs just blank lines "\n"
                    116:   mandoc outputs blanks to the left margin,
                    117:   then the number of balnks minus one
1.7     ! schwarze  118:   NEEDS MERGING TO bsd.lv
1.1       kristaps  119:
                    120:
                    121: ************************************************************************
                    122: * parser errors without any effect on formatting
                    123: ************************************************************************
                    124:
                    125: - OpenBSD::PackageName(3p) has "if (block) 90:1" in the parse tree
                    126:

CVSweb