summaryrefslogtreecommitdiffstatshomepage
path: root/mdoc.7
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Correct support for `\fX' font modes in -Tascii.Kristaps Dzonsons2009-11-051-5/+7
|
* Copied over and modified manual structure from man.7.Kristaps Dzonsons2009-11-021-32/+179
|
* Added mandoc_a2time() for proper date conversion.Kristaps Dzonsons2009-11-021-22/+11
| | | | | 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-3/+3
| | | | Noted inclusion into DragonFly BSD (thanks Sascha Wildner).
* Full `%U' support.Kristaps Dzonsons2009-10-261-3/+16
| | | | | | | `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-2/+7
|
* Typo in mdoc.7 fixed (thanks to Joerg Sonnenberger).Kristaps Dzonsons2009-10-221-2/+2
|
* Groff-compatibility fix (Ds) (noted by Joerg Sonnenberger).Kristaps Dzonsons2009-10-221-3/+3
|
* More updates to mdoc.7.Kristaps Dzonsons2009-10-201-23/+452
|
* Continued work on mdoc.7.Kristaps Dzonsons2009-10-191-12/+175
| | | | 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-225/+421
| | | | | | 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-18/+265
|
* Fix in syntax of scaling widths in mdoc.7.Kristaps Dzonsons2009-10-181-2/+2
|
* Fixed typo in Makefile.Kristaps Dzonsons2009-10-181-2/+63
| | | | Added initial scaling-units section in mdoc.7.
* Compat fix in mdoc.7 (joerg@netbsd.org).Kristaps Dzonsons2009-09-281-4/+4
|
* Synchronised man.7, mdoc.7, mdoc.template manual structure.Kristaps Dzonsons2009-08-201-1/+2
|
* Updated manual structure in mdoc.7.Kristaps Dzonsons2009-08-201-6/+40
| | | | | | Synchronised mdoc.template and mdoc.7 manual structure. `Rv' and `Ex' now accept multiple arguments (-std made standalone, terms as children). `Rv' and `Ex' format correctly in -Tascii (plurals, commas, etc.).
* Documented omission of `na' and `Dt'.Kristaps Dzonsons2009-08-201-358/+376
| | | | Clarified COMPATIBILITY section (which modes/inputs).
* libmdoc accepts whitespace following control character.VERSION_1_9_0Kristaps Dzonsons2009-08-181-410/+399
|
* Documented behaviour of interpreting parsable/callable macros.Kristaps Dzonsons2009-07-291-4/+15
|
* Clarified special chars/predefined chars in mandoc_char.7.Kristaps Dzonsons2009-07-271-31/+36
| | | | | Cleaned up escape section in man.7, mdoc.7. Cleaned up function names in term.c.
* Removed POSIX.1 COMPATIBILITY note in mdoc.7.Kristaps Dzonsons2009-07-261-9/+1
| | | | Noted that \~ doesn't work in mandoc.1 (thanks uqs@sporlein.net).
* Noted POSIX/POSIX.1 disparity (found by uqs@sporlein.net, discussed with ↵Kristaps Dzonsons2009-07-261-2/+10
| | | | jmc@openbsd.org et al.).
* Full support for `An -split/-nosplit'. Compat documented.Kristaps Dzonsons2009-07-241-2/+12
|
* Removed trailing whitespace in manuals.Kristaps Dzonsons2009-07-201-62/+62
|
* Made `Cd' parseable (too many SYNOPSIS sections do this).Kristaps Dzonsons2009-07-191-3/+3
|
* More clarity fixes in mdoc.7.Kristaps Dzonsons2009-07-181-18/+8
| | | | Sm/Sy argument to `Bf' fixed (schwarze@openbsd).
* Considerably revamped argument-parsing for correct quoted-literal handling.Kristaps Dzonsons2009-07-181-6/+34
| | | | | Deprecated ARGS_QUOTED (all arguments are quotable). Documented quotation and whitespace rules in mdoc.7.
* Better doc of whitespace handling in mdoc.7.Kristaps Dzonsons2009-07-171-28/+39
| | | | Doc of macro quotation in mdoc.7.
* `sp' documented: validates & produces correct output.Kristaps Dzonsons2009-07-171-25/+31
|
* Documented `br' macro in mdoc.7.Kristaps Dzonsons2009-07-171-151/+68
| | | | Made `Pp' and `Lp' be inline_eoln() (not sure why they weren't before).
* Consolidated some sections. Much more readable.Kristaps Dzonsons2009-07-141-390/+378
|
* Err/warn fix (schwarze@openbsd.org).Kristaps Dzonsons2009-07-131-6/+2
| | | | Lots of whitespace churn in getting functions aligned nicely.
* Fixed `Fo' superfluous space before `('. Noted groff compatibility in mdoc.7.Kristaps Dzonsons2009-07-121-1/+6
|
* `Nd' is now a BFI (was an ELEM). Noted by joerg@netbsd.org, behaviour ok ↵Kristaps Dzonsons2009-07-121-2/+2
| | | | jmc@openbsd.org, etc.
* mdoc.7 using -offset indent instead of -offset XXXX or whatever it was.Kristaps Dzonsons2009-07-121-18/+18
|
* Initial removal of enum mdoc_warn from mdoc warnings (unnecessary complication).Kristaps Dzonsons2009-07-061-2/+6
|
* Backed out "-width indent" and "-width indent-two", which aren'tKristaps Dzonsons2009-07-051-8/+2
| | | | | supported by any groff mdoc tmac (and erroneously used in many manuals, hence the confusion).
* Noted secret -width indent/indent-two arguments to `Bl'.Kristaps Dzonsons2009-07-041-1/+7
|
* man.7/mdoc.7 properly reflect escape-character handling.Kristaps Dzonsons2009-07-041-9/+27
| | | | | man.7 points to mdoc.7 for COMPATIBILITY. Whitespace stripping noted in mdoc.7.
* Added note about whitespace being stripped from mdoc/man input and re-added ↵Kristaps Dzonsons2009-06-251-1/+7
| | | | in mandoc(1).
* Fixed STRUCTURE repeat (schwarze@openbsd.org).Kristaps Dzonsons2009-06-251-26/+26
| | | | Simplified some explanations (nobody cares about ontologies these days).
* libman documents require `TH' and at least one node.Kristaps Dzonsons2009-06-221-2/+18
| | | | | libman requirements documented in man.7 STRUCTURE section. Added STRUCTURE section to mdoc.7, too.
* Added -split and -nosplit "I-Don't-Like" note to mdoc.7 (there really must ↵Kristaps Dzonsons2009-06-221-2/+7
| | | | | | be another way to do this). Fixed .Er -width conversion.
* `Bl -column' now correctly handles tail entries (Bl -column -more... arg0...).Kristaps Dzonsons2009-06-171-4/+4
|
* Modernised comment handling: text following \" is thrown away beforeKristaps Dzonsons2009-06-161-3/+13
| | | | | | either parser is invoked. Single-dot lines correctly handled. This confirms with both new- and old-groff. "Comment" subsection added to mdoc.7 and man.7.
* Made per-macro "now callable" COMPATIBILITY claims into a single "most ↵Kristaps Dzonsons2009-06-121-31/+36
| | | | | | | macros callable". Added COMPATIBILITY note on escaped special-character sequences. Vertical bar now correctly delimits (like in new groff).