summaryrefslogtreecommitdiffstats
path: root/mdoc_html.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Moved output definitions into main.h.Kristaps Dzonsons2009-10-131-0/+1
| | | | Pushed terminal_{mdoc,man} into {mdoc,man}_term.c.
* `Cd' in -Thtml -mdoc correctly breaks lines.Kristaps Dzonsons2009-10-101-0/+1
|
* Consolidated some -man -Tascii functions.Kristaps Dzonsons2009-10-081-10/+10
| | | | Added many -man -Thtml functions (almost complete).
* Lint-ified.Kristaps Dzonsons2009-10-071-1/+2
|
* Lint-ified.Kristaps Dzonsons2009-10-071-15/+17
|
* Made default string units (-Thtml -mdoc) to use `m' and not `n' scaling ↵Kristaps Dzonsons2009-10-071-14/+44
| | | | | | | (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-449/+390
| | | | 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-0/+4
| | | | 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-40/+43
| | | | | | (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-11/+6
|
* `Fn' does not print empty ftype span.Kristaps Dzonsons2009-10-031-13/+18
| | | | -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-107/+2
| | | | | Fixed manuals to use `In', not `Fd'. Moved buf* functions into html.c.
* Added the -oincludes=FMT option.Kristaps Dzonsons2009-10-031-21/+62
| | | | | 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-67/+141
| | | | | | | 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-17/+24
|
* Fixed -Thtml handling of -compact lists.Kristaps Dzonsons2009-09-261-21/+50
| | | | Fixed -Thtml handling of `Bd' prior vspace and embedded macros.
* Fixed `Bd' prior vertical space (was ignoring -compact).Kristaps Dzonsons2009-09-261-1/+1
| | | | Fixed effect of embedding macros in `Bd' (was printing all on each line instead of grouping).
* Lint check (noop).Kristaps Dzonsons2009-09-251-1/+1
|
* Changed -Thtml document header to be 10/80/10 with no wrapping of the middle.Kristaps Dzonsons2009-09-251-3/+3
|
* -Tascii correctly prints `%T' in `Rs' with quotes.Kristaps Dzonsons2009-09-241-13/+93
| | | | | -Thtml behaves like -Tascii for printing. Printing of `Rs' elements cross-checked with new groff.
* Lint-fixes (noop).Kristaps Dzonsons2009-09-241-2/+2
|
* Proper handling of `Rs' blocks in -Thtml.Kristaps Dzonsons2009-09-241-14/+8
|
* Fix in -Tascii where `Lb' causes line-break in any section (should only ↵Kristaps Dzonsons2009-09-241-4/+28
| | | | | | | 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-6/+77
| | | | -Thtml and -Tascii now have equivalent functionality.
* Added Bf, Pf, etc. to -Thtml.Kristaps Dzonsons2009-09-241-36/+138
| | | | Fixed Rs in -Tascii to behave properly when not in "SEE ALSO" section.
* Many more macros added to -Thtml.Kristaps Dzonsons2009-09-241-14/+220
| | | | Minor space issues fixed in -Tascii.
* Fix segfault in -Thtml column lists.Kristaps Dzonsons2009-09-221-1/+1
| | | | | | 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-10/+95
|
* Split html.c into html.h, mdoc_html.c, man_html.c.Kristaps Dzonsons2009-09-211-0/+1617