summaryrefslogtreecommitdiffstats
path: root/mdoc_term.c
Commit message (Collapse)AuthorAgeFilesLines
* Removed superfluous NOSPACE in bd post.Kristaps Dzonsons2009-07-191-4/+0
|
* termpair flags unset before post, after body (suggested by schwarze@openbsd).Kristaps Dzonsons2009-07-191-2/+11
|
* `sp' documented: validates & produces correct output.Kristaps Dzonsons2009-07-171-1/+23
|
* Added `br' and `sp' macros (requested by joerg@netbsd.org, jmc@openbsd.org).Kristaps Dzonsons2009-07-171-0/+13
|
* Off-by-one space fixed for `Bl -diag'.Kristaps Dzonsons2009-07-161-3/+1
|
* Fix to presentation date (Ulrich Sporlein)Kristaps Dzonsons2009-07-151-1/+1
|
* Using \(en for OpenBSD `Nd' (compromise with jmc@openbsd.org).VERSION.1.8.0Kristaps Dzonsons2009-07-141-6/+1
|
* Cleaned up arg_width and arg_column functions.Kristaps Dzonsons2009-07-141-16/+27
| | | | | Added XXn and XXm support to -offset (not documented in mdoc.samples, but used in mdoc.samples!). Lint warnings fixed.
* Removed unnecessary save/restore of style around list prefix.Kristaps Dzonsons2009-07-141-16/+23
| | | | Added -hang list support.
* Err/warn fix (schwarze@openbsd.org).Kristaps Dzonsons2009-07-131-5/+18
| | | | Lots of whitespace churn in getting functions aligned nicely.
* Replacement of `Lb' in mdoc_action.c.Kristaps Dzonsons2009-07-121-19/+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-14/+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-20/+1
|
* Removed superfluous FIXMEs in mdoc_term.c.Kristaps Dzonsons2009-07-121-12/+6
|
* Fixed `Fo' superfluous space before `('. Noted groff compatibility in mdoc.7.Kristaps Dzonsons2009-07-121-2/+1
|
* `Vt' macro behaves [more] properly when in the SYNOPSIS section.Kristaps Dzonsons2009-07-121-1/+5
|
* Replaced ugly macro function declarations in mdoc_term with real [sorted] ones.Kristaps Dzonsons2009-07-121-78/+86
|
* Removed rmargin from termpair (right in print_node()).Kristaps Dzonsons2009-07-121-8/+5
|
* Removed offset from termpair (much simpler & cleaner).Kristaps Dzonsons2009-07-121-21/+12
| | | | | Put new offset market in print_node(). Some fixes of forgotten ttypes[TTYPE_XXXX] (just TTYPE).
* Removed ambiguous TERMPAIR_SETFLAG from mdoc_term.c (pairs/flags must be ↵Kristaps Dzonsons2009-07-121-50/+38
| | | | manually set now, and are).
* GNU/Linux also uses \- for Nd (ew).Kristaps Dzonsons2009-07-121-2/+2
|
* Consolidated Bx/Ox/Nx/etc. into one function.Kristaps Dzonsons2009-07-121-64/+34
|
* `Nd' is now a BFI (was an ELEM). Noted by joerg@netbsd.org, behaviour ok ↵Kristaps Dzonsons2009-07-121-0/+3
| | | | jmc@openbsd.org, etc.
* Noted dissent with \- for OpenBSD.Kristaps Dzonsons2009-07-121-1/+5
|
* Added \(hy symbol.Kristaps Dzonsons2009-07-121-0/+4
| | | | | | Properly categorised \- as an arithmetic minus sign. Nd produces \(em instead of old \-. OpenBSD ifdef'd to use old \- after Nd (ok: jmc@openbsd.org).
* Made `In' handling work in new-groff style (see mdoc.samples).Kristaps Dzonsons2009-07-071-2/+13
|
* Backed out "-width indent" and "-width indent-two", which aren'tKristaps Dzonsons2009-07-051-4/+0
| | | | | supported by any groff mdoc tmac (and erroneously used in many manuals, hence the confusion).
* Fixed -offset indent-two (schwarze@openbsd.org).Kristaps Dzonsons2009-07-041-1/+1
|
* Fixed -offset left (schwarze@openbsd.org).Kristaps Dzonsons2009-07-041-2/+2
| | | | Fixed bogus setting (instead of increment) of offsets.
* Lint fixes.VERSION.1.7.20Kristaps Dzonsons2009-06-221-1/+2
| | | | Version up.
* Noted .Cd tabs-ok issue (will fix later).Kristaps Dzonsons2009-06-221-3/+7
| | | | Added single space to -diag lists.
* Added "Spacing" part of "Punctuation and Spacing" in mandoc.1 manual.Kristaps Dzonsons2009-06-221-8/+10
| | | | | | | Fixed `Ds' meta-macro default width. Fixed -width and -offset "indent", "indent-two", and "left" widths. Fixed -width and -offset literal-word and numeric widths. Fixed off-by-one errors in whitespace output (schwarze@openbsd.org).
* Special characters, e.g. \(ae, are now correctly rendered in the current ↵Kristaps Dzonsons2009-06-171-2/+7
| | | | font decoration.
* Removed MDOC___: moved MDOC_Ap to its index (comments not passed into mdoc ↵Kristaps Dzonsons2009-06-161-4/+6
| | | | parser).
* Removed superfluous ifdef around strftime (schwarze@openbsd.org).Kristaps Dzonsons2009-06-151-4/+0
| | | | Bumped version (this was supposed to be in 1.7.17).
* `Lk' is correctly handled as CALLABLE (note groff munges nested output).Kristaps Dzonsons2009-06-121-3/+8
| | | | | | | `Mt' is now CALLABLE. Fixed missing validate/action of zero-element, non-called inline elements. Fixed missing validate/action of nested inline element re-calls. Fixed bogus column argv index in validator.
* Added mdoc.template (from NetBSD -- unlicensed??).Kristaps Dzonsons2009-06-111-18/+20
| | | | | Moved MDOC_TEXT type checks into assertions (should be caught by parser). Added some FIXME notes in mdoc output (largely that things should be asserted, not caught).
* Added "left" -offset tag.Kristaps Dzonsons2009-06-111-4/+8
|
* Documented some un-clear parts of main.c.Kristaps Dzonsons2009-06-111-132/+30
| | | | | Fixed footer to be new-groff style (OS DATE OS). Removed sanity check from mdoc_term (unnecessary).
* Fixed email address in manual AUTHOR reference.Kristaps Dzonsons2009-06-111-1/+1
| | | | | | Set max right margin to 80 columns (schwarze@openbsd.org). Fixed centre-field heading position (schwarze@openbsd.org). Also fixed -Tman centre-field.
* Fixed license email address.Kristaps Dzonsons2009-06-101-1/+1
|
* Using proper license template (const).Kristaps Dzonsons2009-04-121-12/+10
|
* Manual .Dt fields CAPITALISED.Kristaps Dzonsons2009-04-121-1/+1
| | | | | | | | 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.
* Updated manuals.7.Kristaps Dzonsons2009-04-031-2/+2
| | | | Fixed .Dl display.
* All macro-invocations, for consistency, begin with `.' in documentation.Kristaps Dzonsons2009-03-261-23/+15
| | | | | Fixed \\ -> \e in manual documentation. All preliminary -man macros in place.
* Fixed after-NLINE-error assertion.Kristaps Dzonsons2009-03-261-0/+5
| | | | | Scanned over all manuals with valgrind. Version up.
* Initial front-end formatting for -man pages.Kristaps Dzonsons2009-03-261-0/+2247