summaryrefslogtreecommitdiffstatshomepage
path: root/mdoc_html.c
Commit message (Collapse)AuthorAgeFilesLines
* Added horizontal scaling units to -Tman -Tascii.Kristaps Dzonsons2009-10-181-1/+5
|
* Added support for `Bd -centered', which appears in newer groffs (not yet ↵Kristaps Dzonsons2009-10-151-1/+5
| | | | implemented in centre-capable front-ends, i.e., -Thtml).
* Moved output definitions into main.h.Kristaps Dzonsons2009-10-131-1/+2
| | | | Pushed terminal_{mdoc,man} into {mdoc,man}_term.c.
* `Cd' in -Thtml -mdoc correctly breaks lines.Kristaps Dzonsons2009-10-101-1/+2
|
* Consolidated some -man -Tascii functions.Kristaps Dzonsons2009-10-081-11/+11
| | | | Added many -man -Thtml functions (almost complete).
* Lint-ified.Kristaps Dzonsons2009-10-071-2/+3
|
* Lint-ified.Kristaps Dzonsons2009-10-071-16/+18
|
* Made default string units (-Thtml -mdoc) to use `m' and not `n' scaling ↵Kristaps Dzonsons2009-10-071-15/+45
| | | | | | | (better more than less). Fixed -column widths for -Thtml -mdoc. Fixed left-hand margin padding for -Thtml -mdoc.
* Additions to -Tman -Thtml: all structural components tested & in place.Kristaps Dzonsons2009-10-071-450/+391
| | | | Fitted both -Thtml with handling of arbitrary vertical and horizontal scaling units (see groff(7)). Undocumented until fitted into -Tascii (next release).
* Structural components of -man -Thtml in place (note that HP is the same as ↵Kristaps Dzonsons2009-10-041-1/+5
| | | | IP, as HTML doesn't "do" this construction without fixed page widths).
* Section/subsection anchor names (<a name=xxx>) replaced with (div id=xxx) ↵Kristaps Dzonsons2009-10-041-41/+44
| | | | | | (noted by joerg@netbsd.org) Removed superfluous span tags within section/subsection divs (noted by joerg@netbsd.org).
* Added initial -man framework for -Thtml.Kristaps Dzonsons2009-10-031-12/+7
|
* `Fn' does not print empty ftype span.Kristaps Dzonsons2009-10-031-14/+19
| | | | -Tascii `node' and `meta' args in DECL_ARGS renamed to `n' and `m' to be more coherent with -Thtml.
* Fixed mandoc.1 examples (new -Thtml options).Kristaps Dzonsons2009-10-031-108/+3
| | | | | Fixed manuals to use `In', not `Fd'. Moved buf* functions into html.c.
* Added the -oincludes=FMT option.Kristaps Dzonsons2009-10-031-22/+63
| | | | | The `In' handler now decorates with a hyperlink. If no -oman= or -oincludes= is stipulated, no link is printed (but the text is still style-decorated).
* Element tag buffer is now part of struct html.Kristaps Dzonsons2009-10-031-68/+142
| | | | | | | buffmt() can be called in sequence. Noted BUFSIZ-sized buffer in CAVEATS (attribute length for link formats). Added -oman=FMT -Thtml option for `Xr' manual links. Removed -obase=URI -Thtml option (obsolete).
* SYNOPSIS functions in -Thtml text-indent and group paramters (as nroff does).Kristaps Dzonsons2009-09-261-18/+25
|
* Fixed -Thtml handling of -compact lists.Kristaps Dzonsons2009-09-261-22/+51
| | | | Fixed -Thtml handling of `Bd' prior vspace and embedded macros.
* Fixed `Bd' prior vertical space (was ignoring -compact).Kristaps Dzonsons2009-09-261-2/+2
| | | | Fixed effect of embedding macros in `Bd' (was printing all on each line instead of grouping).
* Lint check (noop).Kristaps Dzonsons2009-09-251-2/+2
|
* Changed -Thtml document header to be 10/80/10 with no wrapping of the middle.Kristaps Dzonsons2009-09-251-4/+4
|
* -Tascii correctly prints `%T' in `Rs' with quotes.Kristaps Dzonsons2009-09-241-14/+94
| | | | | -Thtml behaves like -Tascii for printing. Printing of `Rs' elements cross-checked with new groff.
* Lint-fixes (noop).Kristaps Dzonsons2009-09-241-3/+3
|
* Proper handling of `Rs' blocks in -Thtml.Kristaps Dzonsons2009-09-241-15/+9
|
* Fix in -Tascii where `Lb' causes line-break in any section (should only ↵Kristaps Dzonsons2009-09-241-5/+29
| | | | | | | 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-7/+78
| | | | -Thtml and -Tascii now have equivalent functionality.
* Added Bf, Pf, etc. to -Thtml.Kristaps Dzonsons2009-09-241-37/+139
| | | | Fixed Rs in -Tascii to behave properly when not in "SEE ALSO" section.
* Many more macros added to -Thtml.Kristaps Dzonsons2009-09-241-15/+221
| | | | 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.
* A few more macros in -Thtml.Kristaps Dzonsons2009-09-211-11/+96
|
* Split html.c into html.h, mdoc_html.c, man_html.c.Kristaps Dzonsons2009-09-211-0/+1617