summaryrefslogtreecommitdiffstatshomepage
path: root/mdoc.h
Commit message (Collapse)AuthorAgeFilesLines
* libmdoc and libman now using non-recoverable allocations (simpler code).Kristaps Dzonsons2009-10-301-2/+2
|
* Full `%U' support.Kristaps Dzonsons2009-10-261-3/+1
| | | | | | | `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/+3
|
* Added support for `Bd -centered', which appears in newer groffs (not yet ↵Kristaps Dzonsons2009-10-151-2/+3
| | | | implemented in centre-capable front-ends, i.e., -Thtml).
* Synchronised man.7, mdoc.7, mdoc.template manual structure.Kristaps Dzonsons2009-08-201-3/+3
|
* Updated manual structure in mdoc.7.Kristaps Dzonsons2009-08-201-2/+4
| | | | | | 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.).
* Removed superfluous FIXMEs.Kristaps Dzonsons2009-07-241-3/+2
|
* Added `br' and `sp' macros (requested by joerg@netbsd.org, jmc@openbsd.org).Kristaps Dzonsons2009-07-171-2/+4
|
* Replacement of `Lb' in mdoc_action.c.Kristaps Dzonsons2009-07-121-3/+1
| | | | | | Added warning against bogus `Lb' (like groff does). Added proper quotes around `Lb' in mdoc_term.c. Moved mdoc_a2lib -> libmdoc (where it belongs).
* Moved mdoc_a2st() out of mdoc.h -> libmdoc.h (replacement in mdoc_action.c).Kristaps Dzonsons2009-07-121-2/+1
| | | | Made bad standards into an error (were a warning).
* Moved mdoc_a2att() into libmdoc (replacement happens in mdoc_action.c).Kristaps Dzonsons2009-07-121-2/+1
|
* Initial removal of enum mdoc_warn from mdoc warnings (unnecessary complication).Kristaps Dzonsons2009-07-061-9/+2
|
* Added nchild decrement in libman (not used, but better in than forgotten).Kristaps Dzonsons2009-06-181-1/+2
| | | | Added nchild to libmdoc, deprecated count() functions in validator.
* Section orders are more elegantly handled (MDOC_PBODY is a flag).Kristaps Dzonsons2009-06-171-40/+26
| | | | Cleaned up string->enum conversion for section lookup.
* Removed MDOC___: moved MDOC_Ap to its index (comments not passed into mdoc ↵Kristaps Dzonsons2009-06-161-15/+14
| | | | parser).
* Deprecated mdoc_msg (not being used anywhere).Kristaps Dzonsons2009-06-151-2/+1
|
* Fixed license email address.Kristaps Dzonsons2009-06-101-2/+2
|
* Using proper license template (const).Kristaps Dzonsons2009-04-121-12/+10
|
* Manual .Dt fields CAPITALISED.Kristaps Dzonsons2009-04-121-1/+2
| | | | | | | | Indent set to 5 chars (nroff compat). Half-indent set to 3 chars (nroff compat). Default behaviour is loose-y (ignore macro/char/escape). Added -fstrict. Added unknown-character ignoring.
* General clean-ups.Kristaps Dzonsons2009-03-311-2/+2
|
* First addition of -man macro support.Kristaps Dzonsons2009-03-231-2/+2
| | | | Abstraction of mdoc.
* `Em' accepts empty tokens.Kristaps Dzonsons2009-03-211-3/+1
| | | | | Punctuation fully fixed (per-reserved-word). Sm enabled.
* Added %Q macro.Kristaps Dzonsons2009-03-211-2/+3
|
* Many more ASCII escapes added.Kristaps Dzonsons2009-03-191-3/+3
| | | | | | Stripped nroff punt from mdocterm.c. Fixed multiple-file handling for mdocterm.c. Cleared up mdoc.h API.
* Changed e-mail address to @openbsd.Kristaps Dzonsons2009-03-161-2/+3
| | | | Cleaned up manual-page documentation.
* Fixed mdoc_phrase escape handling.Kristaps Dzonsons2009-03-161-4/+4
| | | | | | | | | | | Added MDOC_IGNDELIM (Pf, soon Li, etc.). macro_constant_delimited ignargs -> argv.c parsing. Renamed macro functions to correspond to ontologies. `Fo' and `St' made callable (compat documented). strings.sh deprecated (directly using CPP). Abstracted ASCII translation into ascii.{c,in}. ASCII table uses a self-reordering chained hashtable. Removed old regressions.
* Added -nested (doesn't do anything).Kristaps Dzonsons2009-03-121-3/+5
| | | | | | Added .%C. .Cd is now callable. Added .Rv -std.
* Expanded perfect htab to use 27 * 26 * 3 space.Kristaps Dzonsons2009-03-111-2/+5
| | | | | | Added Brq, Bro and Brc macros. Added lbrace and rbrace to special characters. Fixed spacing in braces.
* Added `Mt' and `Lk' macros (NetBSD).Kristaps Dzonsons2009-03-091-2/+4
|
* Easier integration into FreeBSD (sys/types.h, time.h, etc.).VERSION_1_4_5Kristaps Dzonsons2009-03-091-1/+3
|
* Added "Input Encoding" section to mdoc*.1.VERSION_1_4_4Kristaps Dzonsons2009-03-091-1/+2
| | | | | Newline-escaped lines are concatenated. Added -fign-macro option.
* Added `Lp' macro.Kristaps Dzonsons2009-03-081-2/+3
|
* Added .Ap.Kristaps Dzonsons2009-03-081-2/+3
|
* Updated manuals.Kristaps Dzonsons2009-03-081-3/+6
| | | | Added -fign-scope and -fign-escape.
* mdocterm now using new API.Kristaps Dzonsons2009-03-081-1/+3
|
* BROKEN CHECK-IN. Wide-ranging updates.Kristaps Dzonsons2009-03-081-33/+21
| | | | | Removed libmdoc internal argv limit (all dynamic). Removed "data" union in mdoc_node (to be selectively re-added).
* Strings abstracted into dynamically-created C files.Kristaps Dzonsons2009-03-061-157/+37
| | | | | Added -V option. Deprecated README files.
* Support for maxrmargin-breaking with TERMP_NOBREAK.Kristaps Dzonsons2009-03-021-1/+2
| | | | Tabs auto-converted to spaces.
* Added several more mdocterm outputs.Kristaps Dzonsons2009-02-241-1/+4
|
* Added character-encoding checks.Kristaps Dzonsons2009-02-241-3/+1
|
* Considerable mdoc.3 documentation.Kristaps Dzonsons2009-02-231-4/+10
| | | | Added a few more escapes and macros.
* BROKEN BUILD: migrating to mmain stuff.Kristaps Dzonsons2009-02-221-3/+3
|
* Cleaned up validation source a bit.Kristaps Dzonsons2009-02-221-2/+2
| | | | | Fixed `Nm' and `Nd' detection. Added a few more terminal outputs.
* Split mdocml -> mdocterm, mdoctree (new manuals, etc.).Kristaps Dzonsons2009-02-211-1/+9
| | | | Escape-recognition term.c.
* Removed tree-writing capability (for now, only validates and exits).Kristaps Dzonsons2009-02-201-21/+16
|
* Re-merged old port-building routines.Kristaps Dzonsons2009-01-201-1/+2
|
* More correct validation.Kristaps Dzonsons2009-01-191-3/+6
| | | | Elision of prologue macros from main tree.
* Removed unnecessary test cases (most were for visual).Kristaps Dzonsons2009-01-191-1/+4
| | | | Finally fixed scope-rewinding (MDOC_VALID).
* Documentation, more validations, cleaned up actions, added Nm action.Kristaps Dzonsons2009-01-171-5/+4
|
* Separating output filters.Kristaps Dzonsons2009-01-171-4/+1
|