summaryrefslogtreecommitdiffstats
path: root/mdoc_term.c
Commit message (Collapse)AuthorAgeFilesLines
* Moved indentation size into *term.c files.Kristaps Dzonsons2009-08-101-0/+3
| | | | Improved handling of libman `IP' macro (still needs work).
* Fixed groff-compat where two `Sh' calls, with the first not having a body, ↵Kristaps Dzonsons2009-07-291-3/+8
| | | | don't assert vspace between calls.
* Moved CALLABLE check to lookup_raw().Kristaps Dzonsons2009-07-291-1/+4
| | | | | | Made PARSABLE check occur prior to lookup(). Non-PARSEABLE macros no longer warn against having macro-like parameters. Non-CALLABLE macros no longer produce an error, just display their symbols (as in groff) (pointed out by joerg@netbsd.org).
* Patches and results of LLVM static analysis (thanks uqs@sporlein.net).Kristaps Dzonsons2009-07-251-0/+1
|
* Fixed DIAGNOSTIC display (leading double-space only before BODY).Kristaps Dzonsons2009-07-241-1/+2
|
* Full support for `An -split/-nosplit'. Compat documented.Kristaps Dzonsons2009-07-241-1/+62
|
* `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.