summaryrefslogtreecommitdiffstats
path: root/mdoc.7
Commit message (Collapse)AuthorAgeFilesLines
* Added version bits for 1.10.1.Kristaps Dzonsons2010-06-071-6/+6
| | | | Spell-checked manuals.
* I really should run -Tlint on my own manuals before committing them.Kristaps Dzonsons2010-06-071-2/+2
| | | | EOLN whitespace fixed.
* Normalise SYNOPSIS behaviour after I gave up on following groff'sKristaps Dzonsons2010-06-071-45/+46
| | | | | | | | | | | | | | | | | | | | | 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-3/+3
|
* Shortened "its calling syntax" -> "its syntax".Kristaps Dzonsons2010-06-061-35/+149
| | | | | | 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-0/+33
| | | | | | | extent. Documented `Fn'. Please note the COMPATIBILITY note regarding historic groff.
* Documented `In' in full.Kristaps Dzonsons2010-06-041-2/+21
| | | | | | 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-0/+37
|
* Document the `Mt' macro.Kristaps Dzonsons2010-06-031-0/+9
|
* Compatibility note about `Ta' being a line macro.Kristaps Dzonsons2010-06-031-0/+5
|
* Complete, rigorous documentation of the `Bl' and `It' macros, includingKristaps Dzonsons2010-06-031-16/+95
| | | | | 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-3/+0
| | | | (as per Jason McIntyre's suggestion for manuals in general).
* Fix unescaped `Ta' invocations in mdoc.7.Kristaps Dzonsons2010-05-311-3/+3
|
* Made `Dt' default to LOCAL and UNKNOWN instead of local and unknown (note case).Kristaps Dzonsons2010-05-301-6/+8
| | | | | | | | 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-0/+2
| | | | | | | | | | | 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-1/+25
| | | | | | | | | 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-2/+2
| | | | | | 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-2/+10
|
* Backed out check for `Ex' manual sec (ok schwarze@, joerg@), in turn backing ↵Kristaps Dzonsons2010-05-141-1/+2
| | | | out check_msec() and deps.
* "Warn on unknown argument for .At and print it like [new] groff." (patch by ↵Kristaps Dzonsons2010-05-141-0/+6
| | | | | | | 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-0/+39
|
* Re-addition of cleaned-up list documentation in mdoc.7.Kristaps Dzonsons2010-05-141-54/+68
|
* Added documentation bits.Kristaps Dzonsons2010-05-141-0/+3
|
* Put the eos-checker into libmandoc.h.Kristaps Dzonsons2010-05-121-0/+6
| | | | Added bits in mdoc.7 and man.7 about EOS spacing.
* End of sentence, end of line for mdoc.7.Kristaps Dzonsons2010-05-121-144/+195
|
* mdoc_atosec -> mdoc_str2sec (consistent with str2 being different from a2).Kristaps Dzonsons2010-05-121-13/+13
| | | | | 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-1/+1
|
* Note that whitespace is really only the space character.Kristaps Dzonsons2010-05-081-1/+2
|
* Strip trailing, unescaped whitespace from free-form, non-literal lines (like ↵Kristaps Dzonsons2010-05-081-14/+4
| | | | groff).
* De-chunking of text removed from parsers. This is a significant change (and ↵Kristaps Dzonsons2010-05-071-4/+0
| | | | | | 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-159/+2
| | | | | | 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-42/+54
| | | | 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-1/+1
|
* Breaking mdoc.7's multiline examples into sets of D1. A few errors found ↵Kristaps Dzonsons2010-04-071-128/+66
| | | | here and there.
* Removed warning for `Er' when not used in certain sections (pointed out by ↵Kristaps Dzonsons2010-04-061-1/+1
| | | | Joerg Sonnenberger).
* Note on `Fl' documented in mdoc.7.Kristaps Dzonsons2010-04-061-2/+4
|
* Fix mdoc bug found by Claus Assmann: `Pf' should be callable.Kristaps Dzonsons2010-04-061-1/+1
|
* Macro types enum-ated (enum mdoct) (for easier debugging in gdb of "tok" ↵Kristaps Dzonsons2010-03-311-0/+7
| | | | | | | 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-1/+1
|
* Added Longsoon architecture (thanks Jason McIntyre, Ingo Schwarze).Kristaps Dzonsons2010-03-211-0/+1
|
* Macro documentation for `Xr'.Kristaps Dzonsons2010-02-171-1/+32
| | | | | Re-added macros following `Vt' (lost somehow?). Removed `Xr' <3 stipulations.
* Added `Vt' double-type documentation.Kristaps Dzonsons2010-01-301-5/+32
|
* Fix white-space issues found by mandoc's better white-space finder.Kristaps Dzonsons2010-01-071-21/+21
| | | | Fixed bogus `\\' escapes in some manuals.
* Noted non-accepted comment syntax (thanks Joerg Sonnenberger).VERSION.1.9.15-pre1Kristaps Dzonsons2010-01-011-0/+4
|
* Issue of `Pa' put to rest by Jason McIntyre. Noted in COMPATIBILITY.Kristaps Dzonsons2010-01-011-5/+79
|
* Documented `Fl' in mdoc.7.Kristaps Dzonsons2010-01-011-0/+22
| | | | 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-4/+4
|
* Basically re-wrote -Tascii font handling: instead of incrementers forKristaps Dzonsons2009-11-121-4/+23
| | | | | | | | | 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-3/+30
| | | | -Thtml now using a2roffdeco().
* -Tascii now correctly ignores \s clauses.Kristaps Dzonsons2009-11-061-2/+3
|