summaryrefslogtreecommitdiffstats
path: root/mdoc.7
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Correct support for `\fX' font modes in -Tascii.Kristaps Dzonsons2009-11-051-3/+5
|
* Copied over and modified manual structure from man.7.Kristaps Dzonsons2009-11-021-31/+178
|
* Added mandoc_a2time() for proper date conversion.Kristaps Dzonsons2009-11-021-20/+9
| | | | | Fitted TH and Dd handlers to use mandoc_a2time(). Documented date syntax for -man, fixed documentation for -mdoc.
* Patch on DragonFly BSD syntax (thanks Sascha Wildner).Kristaps Dzonsons2009-10-311-1/+1
| | | | Noted inclusion into DragonFly BSD (thanks Sascha Wildner).
* Full `%U' support.Kristaps Dzonsons2009-10-261-1/+14
| | | | | | | `Lk' display fixed. Renamed arg2xxxx as a2xxxx for consistency. Renamed print_foot to print_man_foot for consistency. Removed default printing of `~' when `Lk' not provided (not sure where I got that from).
* Added `%U' to -mdoc (doesn't render in a nice way yet).Kristaps Dzonsons2009-10-241-0/+5
|
* Typo in mdoc.7 fixed (thanks to Joerg Sonnenberger).Kristaps Dzonsons2009-10-221-1/+1
|
* Groff-compatibility fix (Ds) (noted by Joerg Sonnenberger).Kristaps Dzonsons2009-10-221-1/+1
|
* More updates to mdoc.7.Kristaps Dzonsons2009-10-201-21/+450
|
* Continued work on mdoc.7.Kristaps Dzonsons2009-10-191-11/+174
| | | | Noted buffer overwrite bug in -Thtml -mdoc (will fix later).
* Fixed -mdoc -Thtml with -item lists not to default-indent when width isn't ↵Kristaps Dzonsons2009-10-191-224/+420
| | | | | | specified. Many more cleanups to mdoc.7 (ongoing completion and documentation of all macros).
* Beginning of mdoc.7 full-reference in place.Kristaps Dzonsons2009-10-191-16/+263
|
* Fix in syntax of scaling widths in mdoc.7.Kristaps Dzonsons2009-10-181-1/+1
|