summaryrefslogtreecommitdiffstats
path: root/mdoc_term.c
Commit message (Collapse)AuthorAgeFilesLines
* `Fn' does not print empty ftype span.Kristaps Dzonsons2009-10-031-188/+179
| | | | -Tascii `node' and `meta' args in DECL_ARGS renamed to `n' and `m' to be more coherent with -Thtml.
* Fixed `Bd' prior vertical space (was ignoring -compact).Kristaps Dzonsons2009-09-261-59/+37
| | | | Fixed effect of embedding macros in `Bd' (was printing all on each line instead of grouping).
* -Tascii correctly prints `%T' in `Rs' with quotes.Kristaps Dzonsons2009-09-241-3/+22
| | | | | -Thtml behaves like -Tascii for printing. Printing of `Rs' elements cross-checked with new groff.
* Added EBADCHILD error (bad child of parent context).Kristaps Dzonsons2009-09-241-2/+3
| | | | | `Rs' post-checks that all children are proper bibliographic elements. `Rs' correctly re-orders its children as per groff's output (including %C).
* Fix in -Tascii where `Lb' causes line-break in any section (should only ↵Kristaps Dzonsons2009-09-241-4/+0
| | | | | | | happen in LIBRARY). `Fn' first parameter is broken apart into ftype and fname in -Thtml (for correct style application). Fixed \0 special character.
* Sync'd example style-sheet to be more like OpenBSD's default (KISS).Kristaps Dzonsons2009-09-241-4/+5
| | | | -Thtml and -Tascii now have equivalent functionality.
* Added Bf, Pf, etc. to -Thtml.Kristaps Dzonsons2009-09-241-1/+3
| | | | Fixed Rs in -Tascii to behave properly when not in "SEE ALSO" section.
* Many more macros added to -Thtml.Kristaps Dzonsons2009-09-241-0/+1
| | | | Minor space issues fixed in -Tascii.
* Fix segfault in -Thtml column lists.Kristaps Dzonsons2009-09-221-2/+2
| | | | | | Added some more UTF-8 chars. mandoc_char.7 now has all special characters rendered. Fixed column layout in -Thtml.
* Fix height of hard-breaks in -Thtml.Kristaps Dzonsons2009-09-211-1/+1
|
* Consolidation of Pp/sp/br/Lp stuff.Kristaps Dzonsons2009-09-211-29/+13
|
* Headers and footers in -Thtml. Various minor additions.Kristaps Dzonsons2009-09-201-0/+1
|
* Bl -column in place for -Thtml.Kristaps Dzonsons2009-09-201-1/+1
|
* Some extra html tags and near-complete Bl: -tag is hopeless (synonym for ↵Kristaps Dzonsons2009-09-201-0/+1
| | | | -hang, now) and -column is still pending.
* Considerable, wide-ranging improvements to the -Thtml output mode (most ↵Kristaps Dzonsons2009-09-201-1/+2
| | | | especially proper tagging and using `em' instead of `px').
* Hang lists in html (the hard one first).Kristaps Dzonsons2009-09-171-0/+36
|
* Made tree/term/out() functions return void.Kristaps Dzonsons2009-09-161-51/+44
| | | | 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-262/+63
| | | | | | increments. Cleaned up confusing behaviour of p->flags.
* Updated manual structure in mdoc.7.Kristaps Dzonsons2009-08-201-23/+47
| | | | | | 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-3/+1
|
* 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).