aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mdoc_term.c
Commit message (Collapse)AuthorAgeFilesLines
* Made tree/term/out() functions return void.Kristaps Dzonsons2009-09-161-52/+45
| | | | Put err() functions back into front-ends (no use making it needlessly complex).
* Removed TERMP_BOLD, TERMP_UNDER, TERMP_STYLE in favour of recursive-friendly ↵Kristaps Dzonsons2009-09-151-263/+64
| | | | | | increments. Cleaned up confusing behaviour of p->flags.
* Updated manual structure in mdoc.7.Kristaps Dzonsons2009-08-201-24/+48
| | | | | | 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.).
* More already-fixed FIXMEs.Kristaps Dzonsons2009-08-191-4/+2
|
* Moved indentation size into *term.c files.Kristaps Dzonsons2009-08-101-1/+4
| | | | 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-4/+9
| | | | don't assert vspace between calls.
* Moved CALLABLE check to lookup_raw().Kristaps Dzonsons2009-07-291-2/+5
| | | | | | 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-1/+2
|
* Fixed DIAGNOSTIC display (leading double-space only before BODY).Kristaps Dzonsons2009-07-241-2/+3
|
* Full support for `An -split/-nosplit'. Compat documented.Kristaps Dzonsons2009-07-241-2/+63
|
* `Bd' printing simplified (now that literal text is preserved).Kristaps Dzonsons2009-07-241-28/+11
|
* Ugly fix for `Bl' or `Bd' causing badness when nested in `Bl -hang' lists.Kristaps Dzonsons2009-07-231-7/+30
|
* Bl -column now accepts columns = (1 + stated columns), which covers all ↵Kristaps Dzonsons2009-07-231-4/+20
| | | | 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-3/+14
| | | | doesn't always render.
* Made `%T' underline instead of quote.Kristaps Dzonsons2009-07-211-18/+7
|
* Fixed undocumented `-diag' where NULL list item bodies aren't followed by a ↵Kristaps Dzonsons2009-07-211-3/+14
| | | | vspace.
* Fixed `Bl -column' undocumented no-vspace rule to only work within the list.Kristaps Dzonsons2009-07-211-16/+29
|
* Re-fixed `-diag' (accidentally broke in last checkin).Kristaps Dzonsons2009-07-211-1/+3
|
* Removed `Pa' underline formatting (no groff does this).Kristaps Dzonsons2009-07-211-14/+3
|
* Bringing spacing more in line with groff, patches from schwarze@openbsd.org. ↵Kristaps Dzonsons2009-07-211-9/+10
| | | | Pre-testing.
* Right-most column now fills to the right margin (undocumented groff behaviour).Kristaps Dzonsons2009-07-211-2/+8
|
* Fixed zero-length width string causing assertion (defaulting to 10 -- this ↵Kristaps Dzonsons2009-07-201-1/+5
| | | | needs work).
* Undocumented behaviour in groff: `Bl -column' implies `-compact'.Kristaps Dzonsons2009-07-201-1/+4
| | | | mandoc now allows fewer columns than the -width specifies.
* Removed superfluous NOSPACE in bd post.Kristaps Dzonsons2009-07-191-5/+1
|
* termpair flags unset before post, after body (suggested by schwarze@openbsd).Kristaps Dzonsons2009-07-191-3/+12
|
* `sp' documented: validates & produces correct output.Kristaps Dzonsons2009-07-171-2/+24
|
* Added `br' and `sp' macros (requested by joerg@netbsd.org, jmc@openbsd.org).Kristaps Dzonsons2009-07-171-1/+14
|
* Off-by-one space fixed for `Bl -diag'.Kristaps Dzonsons2009-07-161-4/+2
|
* Fix to presentation date (Ulrich Sporlein)Kristaps Dzonsons2009-07-151-2/+2
|
* Using \(en for OpenBSD `Nd' (compromise with jmc@openbsd.org).VERSION_1_8_0Kristaps Dzonsons2009-07-141-7/+2
|
* Cleaned up arg_width and arg_column functions.Kristaps Dzonsons2009-07-141-17/+28
| | | | | 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-17/+24
| | | | Added -hang list support.
* Err/warn fix (schwarze@openbsd.org).Kristaps Dzonsons2009-07-131-6/+19
| | | | Lots of whitespace churn in getting functions aligned nicely.
* Replacement of `Lb' in mdoc_action.c.Kristaps Dzonsons2009-07-121-20/+2
| | | | | | 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-15/+2
| | | | Made bad standards into an error (were a warning).
* Moved mdoc_a2att() into libmdoc (replacement happens in mdoc_action.c).Kristaps Dzonsons2009-07-121-21/+2
|
* Removed superfluous FIXMEs in mdoc_term.c.Kristaps Dzonsons2009-07-121-13/+7
|
* Fixed `Fo' superfluous space before `('. Noted groff compatibility in mdoc.7.Kristaps Dzonsons2009-07-121-3/+2
|
* `Vt' macro behaves [more] properly when in the SYNOPSIS section.Kristaps Dzonsons2009-07-121-2/+6
|
* Replaced ugly macro function declarations in mdoc_term with real [sorted] ones.Kristaps Dzonsons2009-07-121-79/+87
|
* Removed rmargin from termpair (right in print_node()).Kristaps Dzonsons2009-07-121-9/+6
|
* Removed offset from termpair (much simpler & cleaner).Kristaps Dzonsons2009-07-121-22/+13
| | | | | 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-51/+39
| | | | manually set now, and are).
* GNU/Linux also uses \- for Nd (ew).Kristaps Dzonsons2009-07-121-3/+3
|
* Consolidated Bx/Ox/Nx/etc. into one function.Kristaps Dzonsons2009-07-121-65/+35
|
* `Nd' is now a BFI (was an ELEM). Noted by joerg@netbsd.org, behaviour ok ↵Kristaps Dzonsons2009-07-121-1/+4
| | | | jmc@openbsd.org, etc.
* Noted dissent with \- for OpenBSD.Kristaps Dzonsons2009-07-121-2/+6
|
* Added \(hy symbol.Kristaps Dzonsons2009-07-121-1/+5
| | | | | | 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-3/+14
|
* Backed out "-width indent" and "-width indent-two", which aren'tKristaps Dzonsons2009-07-051-5/+1
| | | | | supported by any groff mdoc tmac (and erroneously used in many manuals, hence the confusion).