summaryrefslogtreecommitdiffstats
path: root/mdoc_term.c
Commit message (Collapse)AuthorAgeFilesLines
* `Bd' printing simplified (now that literal text is preserved).Kristaps Dzonsons2009-07-241-27/+10
|
* Ugly fix for `Bl' or `Bd' causing badness when nested in `Bl -hang' lists.Kristaps Dzonsons2009-07-231-6/+29
|
* Bl -column now accepts columns = (1 + stated columns), which covers all ↵Kristaps Dzonsons2009-07-231-3/+19
| | | | remaining column usage/abuse I can see.
* Re-added `Pa' handling -- had removed it, but it's a bug in groff that it ↵Kristaps Dzonsons2009-07-211-2/+13
| | | | doesn't always render.
* Made `%T' underline instead of quote.Kristaps Dzonsons2009-07-211-17/+6
|
* Fixed undocumented `-diag' where NULL list item bodies aren't followed by a ↵Kristaps Dzonsons2009-07-211-2/+13
| | | | vspace.
* Fixed `Bl -column' undocumented no-vspace rule to only work within the list.Kristaps Dzonsons2009-07-211-15/+28
|
* Re-fixed `-diag' (accidentally broke in last checkin).Kristaps Dzonsons2009-07-211-0/+2
|
* Removed `Pa' underline formatting (no groff does this).Kristaps Dzonsons2009-07-211-13/+2
|
* Bringing spacing more in line with groff, patches from schwarze@openbsd.org. ↵Kristaps Dzonsons2009-07-211-8/+9
| | | | Pre-testing.
* Right-most column now fills to the right margin (undocumented groff behaviour).Kristaps Dzonsons2009-07-211-1/+7
|
* Fixed zero-length width string causing assertion (defaulting to 10 -- this ↵Kristaps Dzonsons2009-07-201-0/+4
| | | | needs work).
* Undocumented behaviour in groff: `Bl -column' implies `-compact'.Kristaps Dzonsons2009-07-201-0/+3
| | | | mandoc now allows fewer columns than the -width specifies.
* 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).