summaryrefslogtreecommitdiffstatshomepage
path: root/mdoc.7
Commit message (Collapse)AuthorAgeFilesLines
* Added version bits for 1.10.1.Kristaps Dzonsons2010-06-071-7/+7
| | | | Spell-checked manuals.
* I really should run -Tlint on my own manuals before committing them.Kristaps Dzonsons2010-06-071-3/+3
| | | | EOLN whitespace fixed.
* Normalise SYNOPSIS behaviour after I gave up on following groff'sKristaps Dzonsons2010-06-071-47/+48
| | | | | | | | | | | | | | | | | | | | | inconsistent behaviour. In short: Some macros are displayed differently in the SYNOPSIS section, particularly Nm, Cd, Fd, Fn, Fo, In, Vt, and Ft. All of these macros are output on their own line. If two such dissimilar macros are pair-wise invoked (except for Ft before Fo or Fn), they are separated by a vertical space, unless in the case of Fo, Fn, and Ft, which are always separated by vertical space. Behaviour ok Jason McIntyre, ingo@. Fallout will be treated case-by-case. I had to clear out some regressions that were testing against groff's stranger behaviours: these will now break, as we don't care about such invocations. Also removed the newline for `Cd' invocation in a non-SYNOPSIS context.
* Small fix to preserve trailing semicolons in examples.Kristaps Dzonsons2010-06-061-4/+4
|
* Shortened "its calling syntax" -> "its syntax".Kristaps Dzonsons2010-06-061-37/+151
| | | | | | Better documentation for `Fa' and some others. Added `Ft', `Fo', and some COMPATIBILITY notes.
* Fixed `Fn' newline behaviour and added some regression tests to thisKristaps Dzonsons2010-06-041-1/+34
| | | | | | | extent. Documented `Fn'. Please note the COMPATIBILITY note regarding historic groff.
* Documented `In' in full.Kristaps Dzonsons2010-06-041-3/+22
| | | | | | Fixed `In' to behave properly: it wasn't properly breaking lines, formatting, or really anything else. Noted COMPATIBILITY with OpenBSD's groff, which pukes all over `In'.
* Documented `Db', `El', `Fa', and `Fd'.Kristaps Dzonsons2010-06-041-2/+39
|
* Document the `Mt' macro.Kristaps Dzonsons2010-06-031-1/+10
|
* Compatibility note about `Ta' being a line macro.Kristaps Dzonsons2010-06-031-1/+6
|
* Complete, rigorous documentation of the `Bl' and `It' macros, includingKristaps Dzonsons2010-06-031-18/+97
| | | | | the peculiarities with `It'-less `Bl -column' invocations, column phrases, per-type syntax of `It', etc.
* Strip empty-line markers from mdoc.template and its mdoc.7 embedded formKristaps Dzonsons2010-06-021-5/+2
| | | | (as per Jason McIntyre's suggestion for manuals in general).
* Fix unescaped `Ta' invocations in mdoc.7.Kristaps Dzonsons2010-05-311-5/+5
|
* Made `Dt' default to LOCAL and UNKNOWN instead of local and unknown (note case).Kristaps Dzonsons2010-05-301-8/+10
| | | | | | | | Have `Dt' default to UNKNOWN if it's an empty string. Raise a warning if `Dt' title isn't capitalised. Sync'd `Dt' documentation with reality.
* Documented `Ud'.Kristaps Dzonsons2010-05-261-1/+3
| | | | | | | | | | | Proper EOS handling for `Rv', `Ex', `Ud', and `Bt'. Both `Bt' and `Ud' now warn about and discard line arguments (reported by Ulrich Spoerlein). Collapsed posts_xr into posts_wtext (harmless: they're the same thing). Added regressions for `Ud' and `Bt'.
* Fixed `Lb' to be in_line (reported by Ulrich Spoerlein).Kristaps Dzonsons2010-05-261-3/+27
| | | | | | | | | Added `Lb' documentation to mdoc.7. Removed harmless but superfluous pre_lb check (was just NULL entries). Added regressions for `Lb' (NOTE that these will only run on new groff, as old groff doesn't support `Lb' at all).
* LIBRARY can also occur in section 9.Kristaps Dzonsons2010-05-151-3/+3
| | | | | | All manual sections (unknown, 3p, 3f, etc.) correctly handled by -mdoc. Useful warning printed if unknown manual section. Checking for manual sections (e.g., LIBRARY) checks only first character, so 3p, 3f, etc. are free.
* Documented EOS buffered spaces and added `]'.Kristaps Dzonsons2010-05-151-4/+12
|
* Backed out check for `Ex' manual sec (ok schwarze@, joerg@), in turn backing ↵Kristaps Dzonsons2010-05-141-2/+3
| | | | out check_msec() and deps.
* "Warn on unknown argument for .At and print it like [new] groff." (patch by ↵Kristaps Dzonsons2010-05-141-1/+7
| | | | | | | Joerg Sonnenberger, ed. Kristaps) Keep short-log of commits in index.sgml. Document compatibility with new/old groff in mdoc.7.
* Finish initial documentation of the Bl lists.Kristaps Dzonsons2010-05-141-1/+40
|
* Re-addition of cleaned-up list documentation in mdoc.7.Kristaps Dzonsons2010-05-141-55/+69
|
* Added documentation bits.Kristaps Dzonsons2010-05-141-2/+5
|
* Put the eos-checker into libmandoc.h.Kristaps Dzonsons2010-05-121-1/+7
| | | | Added bits in mdoc.7 and man.7 about EOS spacing.
* End of sentence, end of line for mdoc.7.Kristaps Dzonsons2010-05-121-145/+196
|
* mdoc_atosec -> mdoc_str2sec (consistent with str2 being different from a2).Kristaps Dzonsons2010-05-121-15/+15
| | | | | Changed ordering of sections (EXIT STATUS moved around), argued for by Ulrich Sporlein. Fixed mdoc_str2sec not to use weird structure.
* Adding initial mailing list section to homepage.Kristaps Dzonsons2010-05-081-2/+2
|
* Note that whitespace is really only the space character.Kristaps Dzonsons2010-05-081-2/+3
|
* Strip trailing, unescaped whitespace from free-form, non-literal lines (like ↵Kristaps Dzonsons2010-05-081-16/+6
| | | | groff).
* De-chunking of text removed from parsers. This is a significant change (and ↵Kristaps Dzonsons2010-05-071-6/+2
| | | | | | I don't really like it), but it's what groff does. Distinction of ARGS_PHRASE and ARGS_PPHRASE in backend (not yet used).
* As per Jason McIntyre's heartful urgings, do away with '.' separators ↵Kristaps Dzonsons2010-04-131-161/+4
| | | | | | between logical sections. Change email address to BSD.lv one (this is not an academic project...)
* Added some clarifying bits to mdoc.7 regarding GNU troff, mandoc, and ↵Kristaps Dzonsons2010-04-071-43/+55
| | | | Heirloom troff. Bits on Heirloom troff suggested from private communication with Gunnar Ritter (maintainer of Heirloom troff) (Heirloom uses BSD-4.4 mdoc files, from which historic groff -mdoc descends).
* Allowing `Cd' to be in section 9 (noted by Joerg Sonnenberger).Kristaps Dzonsons2010-04-071-2/+2
|
* Breaking mdoc.7's multiline examples into sets of D1. A few errors found ↵Kristaps Dzonsons2010-04-071-130/+68
| | | | here and there.
* Removed warning for `Er' when not used in certain sections (pointed out by ↵Kristaps Dzonsons2010-04-061-2/+2
| | | | Joerg Sonnenberger).
* Note on `Fl' documented in mdoc.7.Kristaps Dzonsons2010-04-061-3/+5
|
* Fix mdoc bug found by Claus Assmann: `Pf' should be callable.Kristaps Dzonsons2010-04-061-3/+3
|
* Macro types enum-ated (enum mdoct) (for easier debugging in gdb of "tok" ↵Kristaps Dzonsons2010-03-311-2/+9
| | | | | | | values). Initial check-in of Ingo Schwarze's patch for Xo/Xc handling (in blocks ifdef'd "UGLY"). Put Oc-close-Op parts into UGLY ifdef blocks.
* Fixed misspelt "Loongson" (noted by Ingo Schwarze).Kristaps Dzonsons2010-03-261-3/+3
|
* Added Longsoon architecture (thanks Jason McIntyre, Ingo Schwarze).Kristaps Dzonsons2010-03-211-2/+3
|
* Macro documentation for `Xr'.Kristaps Dzonsons2010-02-171-3/+34
| | | | | Re-added macros following `Vt' (lost somehow?). Removed `Xr' <3 stipulations.
* Added `Vt' double-type documentation.Kristaps Dzonsons2010-01-301-7/+34
|
* Fix white-space issues found by mandoc's better white-space finder.Kristaps Dzonsons2010-01-071-23/+23
| | | | Fixed bogus `\\' escapes in some manuals.
* Noted non-accepted comment syntax (thanks Joerg Sonnenberger).VERSION_1_9_15-pre1Kristaps Dzonsons2010-01-011-1/+5
|
* Issue of `Pa' put to rest by Jason McIntyre. Noted in COMPATIBILITY.Kristaps Dzonsons2010-01-011-6/+80
|
* Documented `Fl' in mdoc.7.Kristaps Dzonsons2010-01-011-2/+24
| | | | Backed out stipulation that `Fl ""' is ignored: this is not the case in !OpenBSD groffs.
* More clarification in manuals. Added per-OUTPUT section in mandoc.1.Kristaps Dzonsons2009-11-161-6/+6
|
* Basically re-wrote -Tascii font handling: instead of incrementers forKristaps Dzonsons2009-11-121-6/+25
| | | | | | | | | bold and underline, we use a stack (no cascading, no double-font-mode). Font modes with \f only affect the current stack point, as documented in mdoc.7 and man.7. While -mdoc stacks fonts with embedded macros, -man replaces them (the stack is always size 1). This works for all invocations in supported systems' manual corpora to date. It doesn't support groff's insanity with line-scoped \f as documented in mdoc.7.
* Documented \s and cleaned up \f documentation in mdoc.7, man.7.Kristaps Dzonsons2009-11-091-5/+32
| | | | -Thtml now using a2roffdeco().
* -Tascii now correctly ignores \s clauses.Kristaps Dzonsons2009-11-061-4/+5
|