Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | style message about missing .Fn markup; inspired by mdoclint | Ingo Schwarze | 2017-06-11 | 1 | -0/+9 |
| | |||||
* | style message about missing blank before trailing delimiter; | Ingo Schwarze | 2017-06-10 | 1 | -0/+5 |
| | | | | inspired by mdoclint(1), and jmc@ considers it useful | ||||
* | warning about unknown .Lb arguments; inspired by mdoclint(1) | Ingo Schwarze | 2017-06-08 | 1 | -0/+6 |
| | |||||
* | style checks related to .Er; inspired by mdoclint(1) | Ingo Schwarze | 2017-06-07 | 1 | -0/+30 |
| | |||||
* | Minimal implementation of the roff(7) .ce request (center a number | Ingo Schwarze | 2017-06-06 | 1 | -0/+5 |
| | | | | | of input lines without filling). Contrary to groff, high-level macros abort .ce mode for now. | ||||
* | enable -Wstyle by default in -Tlint; OK jmc@ | Ingo Schwarze | 2017-06-03 | 1 | -2/+2 |
| | |||||
* | STYLE message about full stop at the end of .Nd; inspired by mdoclint(1) | Ingo Schwarze | 2017-06-01 | 1 | -0/+5 |
| | |||||
* | STYLE message about missing use of Ox/Nx/Fx/Dx; OK jmc@ wiz@ | Ingo Schwarze | 2017-05-31 | 1 | -0/+10 |
| | |||||
* | tweak previous; from jmc@ | Ingo Schwarze | 2017-05-30 | 1 | -2/+2 |
| | |||||
* | STYLE message about useless macros we don't want (Bt Tn Ud); | Ingo Schwarze | 2017-05-30 | 1 | -0/+12 |
| | | | | not a WARNING because they don't endanger portability | ||||
* | Delete the -T xhtml command line option. | Ingo Schwarze | 2017-05-17 | 1 | -3/+0 |
| | | | | | It has been obsolete for more than two years. Use -T html. | ||||
* | Modernize an example showing antiquated syntax, | Ingo Schwarze | 2017-05-17 | 1 | -2/+1 |
| | | | | and delete an example showing the arcane -W stop option. | ||||
* | missing space between macro arg and punctuation; from jmc@ | Ingo Schwarze | 2017-05-17 | 1 | -1/+1 |
| | |||||
* | Introduce a new mandoc(1) message level, -W style, below -W warning. | Ingo Schwarze | 2017-05-16 | 1 | -11/+30 |
| | | | | | | | | | | | | | Switch -W all from meaning -W warning to meaning -W style. The meaning of -T lint does *not* change, it still implies -W warning. No messages on the new level yet, but they will come. Usually, i do not lightly make the user interface larger. But this has been planned for years, and EXIT STATUS 1 was reserved for it all the time. The message system is now stable enough to finally implement it. jmc@ regarding the concept: "really good idea" | ||||
* | simplify the SYNOPSIS as well, just like the option lists; | Ingo Schwarze | 2017-03-27 | 1 | -3/+3 |
| | | | | suggested by and OK jmc@ | ||||
* | For some options that are rarely needed in mandoc(1), | Ingo Schwarze | 2017-03-27 | 1 | -14/+4 |
| | | | | | delete the descriptions and point to man(1) instead. Inspired by apropos.1 rev. 1.43. | ||||
* | Simplify: mention at one place that -fkl override each other, | Ingo Schwarze | 2017-03-27 | 1 | -15/+3 |
| | | | | | rather than stating it separately for each option. Suggested, OKed, and tweaked by jmc@. | ||||
* | simplify .Nd; to display manuals, use man(1) instead; | Ingo Schwarze | 2017-03-21 | 1 | -1/+1 |
| | | | | OK jmc@ | ||||
* | Silently ignore invalid -m input formats rather than erroring out. | Ingo Schwarze | 2017-03-20 | 1 | -59/+29 |
| | | | | | | As observed by Jan Stary <hans at stare dot cz>, this is useful such that after 'alias man="man -m $HOME/man"', 'man -l foo.1' still works. Simplify and shorten the description of -m, and use .Ic for macros. | ||||
* | Correct description of MANPATH, and a few more improvements | Ingo Schwarze | 2017-03-18 | 1 | -3/+16 |
| | | | | to the ENVIRONMENT section; OK jmc@ | ||||
* | Document that -T markdown produces ASCII output, and the implied | Ingo Schwarze | 2017-03-08 | 1 | -0/+10 |
| | | | | | | | | limitations. Of course, we could write UTF-8 output instead, but even the CommonMark specification doesn't require parsers to support that, so portability would be doubtful. While here, provide a link to the CommonMark specification. | ||||
* | Using .Nd only makes sense in the NAME section. | Ingo Schwarze | 2017-03-06 | 1 | -0/+8 |
| | | | | | Warn if that macro occurs elsewhere. Triggered by a question from Dag-Erling Smoergrav <des @ FreeBSD>. | ||||
* | Make the description of -K autodetection easer to understand. | Ingo Schwarze | 2017-03-04 | 1 | -11/+19 |
| | | | | Basic idea suggested by jmc@, OK jmc@. | ||||
* | new -mdoc -Tmarkdown output mode; OK millert@ reyk@ tb@; | Ingo Schwarze | 2017-03-03 | 1 | -1/+31 |
| | | | | thanks to reyk@ and to Vsevolod at FreeBSD for suggesting it | ||||
* | In -Ttree output mode, show the BROKEN node flag and | Ingo Schwarze | 2017-02-10 | 1 | -0/+13 |
| | | | | provide a -Onoval output option to show the unvalidated tree. | ||||
* | add missing HISTORY information | Ingo Schwarze | 2017-01-31 | 1 | -0/+13 |
| | |||||
* | Add a warning "new sentence, new line". | Ingo Schwarze | 2017-01-28 | 1 | -0/+4 |
| | | | | | | | | | This does not attempt to pinpoint each and every offender, but instead tries very hard to avoid false positives: Currently, there are only two false positives in the whole OpenBSD base system. Only do this in mdoc(7), not in man(7), because manuals written in man(7) typically have much worse problems than this. OK jmc@ on a previous version of the patch | ||||
* | bug was fixed, delete the BUGS section | Ingo Schwarze | 2017-01-21 | 1 | -9/+0 |
| | |||||
* | show meta data for -Ttree output | Ingo Schwarze | 2017-01-12 | 1 | -1/+9 |
| | |||||
* | Introduce flags NODE_NOSRC and NODE_NOPRT for AST nodes. | Ingo Schwarze | 2017-01-10 | 1 | -0/+6 |
| | | | | | | | | | Use them to mark generated nodes and nodes that shall not produce output. Let -Ttree output mode display these new flags. Use NODE_NOSRC for .Ar, .Mt, and .Pa default arguments. Use NODE_NOPRT for .Dd, .Dt, and .Os. These will help to make handling of text production macros more rigorous. | ||||
* | Stricter validation of the NAME section, in particular: | Ingo Schwarze | 2017-01-08 | 1 | -5/+12 |
| | | | | | | | - require a comma between names - reject all other text nodes - reject all empty Nm below NAME, not only in the leading position - reject Nm after Nd | ||||
* | sort options list; from jmc@ | Ingo Schwarze | 2017-01-06 | 1 | -4/+4 |
| | |||||
* | correct spelling error; from jmc@ | Ingo Schwarze | 2016-12-28 | 1 | -1/+1 |
| | |||||
* | Make the second, section number argument of .Xr mandatory. | Ingo Schwarze | 2016-12-28 | 1 | -0/+7 |
| | | | | | | In fact, we have been requiring it for many years. The only reason to not warn when it was missing was excessive traditionalism - it was optional in 4.4BSD. | ||||
* | Unify the three stylesheets into a single CSS file. | Ingo Schwarze | 2015-11-05 | 1 | -3/+3 |
| | | | | Many thanks to bentley@ for doing this work. | ||||
* | If a .Bd block has no arguments at all, drop the block and only keep | Ingo Schwarze | 2015-10-30 | 1 | -0/+7 |
| | | | | | its contents. Removing a gratuitious difference to groff output found after a related bug report from krw@. | ||||
* | improve wording and start a new sentence on a new line; from jmc@ | Ingo Schwarze | 2015-10-06 | 1 | -2/+3 |
| | |||||
* | briefly document -T tree output | Ingo Schwarze | 2015-09-26 | 1 | -0/+40 |
| | |||||
* | Remove the warning about children of .Vt blocks because actually, | Ingo Schwarze | 2015-09-14 | 1 | -7/+0 |
| | | | | | | | .Vt type global_variable No = Dv defined_constant ; is the best way to specify in the SYNOPSIS how a global variable is initialized in the rare case where that matters. Issue noticed by jmc@. | ||||
* | No need to hardcode /usr/bin/ as the path to more(1); helps portability. | Ingo Schwarze | 2015-04-03 | 1 | -1/+2 |
| | | | | | We don't hardcode the paths to gunzip(1) and cmp(1) either. Discussed with ajacoutot@. | ||||
* | Escape punctuation characters that have a different meaning in -Tpdf. | Ingo Schwarze | 2015-03-30 | 1 | -1/+1 |
| | | | | | | | | ~, `, and ' get translated to non-ASCII characters by most troff implementations when generating PostScript/PDF output. When the original ASCII character is meant, it needs to be manually escaped. Patch from bentley@. | ||||
* | refering -> referring; patch from jmc@ | Ingo Schwarze | 2015-03-27 | 1 | -1/+1 |
| | |||||
* | Modernize documentation by inserting blanks between option letters | Ingo Schwarze | 2015-03-27 | 1 | -56/+53 |
| | | | | | | and option arguments, except for -m because "-m an" and "-m andoc" look just too weird. Of course, the traditional form without the blank will continue to work. | ||||
* | improve NAME section diagnostics; | Ingo Schwarze | 2015-02-23 | 1 | -8/+18 |
| | | | | confusing messages reported by Jan Stary <hans at stare dot cz> | ||||
* | clean up post_dt() validation function; | Ingo Schwarze | 2015-02-16 | 1 | -0/+3 |
| | | | | improved diagnostics, minus six lines of code | ||||
* | Delete the -V option. It serves no purpose but keeps confusing people. | Ingo Schwarze | 2015-02-16 | 1 | -3/+1 |
| | | | | | | | | Keeping track of the versions of installed software is the job of the package manager, not of the individual binaries. If individual binaries include version numbers, that tends to goad people into writing broken configuration tests that inspect version numbers instead of properly testing for features. | ||||
* | some tweaks to the DIAGNOSTICS section | Ingo Schwarze | 2015-02-07 | 1 | -12/+9 |
| | |||||
* | replace the last legacy generic message type, "argument count wrong", | Ingo Schwarze | 2015-02-06 | 1 | -6/+15 |
| | | | | by more specific messages, improving diagnostics for .cc .tr .Bl -column | ||||
* | better error reporting regarding .OP .RS .UR .TH arguments | Ingo Schwarze | 2015-02-06 | 1 | -17/+40 |
| | |||||
* | better diagnostics about excess arguments to .PD .ft .sp | Ingo Schwarze | 2015-02-06 | 1 | -0/+4 |
| |