aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/html.c
Commit message (Collapse)AuthorAgeFilesLines
* More lint fixes.Kristaps Dzonsons2009-10-301-2/+1
| | | | Removed err.h from inclusions (less main.c--still in progress).
* Lint fixes.Kristaps Dzonsons2009-10-301-2/+2
| | | | Made realloc puke with fprintf.
* Continued safe handling of allocations.Kristaps Dzonsons2009-10-301-10/+12
|
* Added newline after block-level closing tags (suggested by Joerg Sonnenberger).Kristaps Dzonsons2009-10-301-4/+4
|
* Fixed `sp', `br', `Pp', etc. so as not to have an empty div (-Thtml, -man, ↵Kristaps Dzonsons2009-10-281-32/+14
| | | | | | | | -mdoc). Made html_idcat be completely correct (messy standard) (-Thtml). Fixed warnings about -ohang and -item lists (-Thtml, -mdoc). Fixed typo in index.sgml.
* Removed superfluous memset (thanks Joerg Sonnenberger).Kristaps Dzonsons2009-10-281-9/+7
|
* Fixed un-reset buffer in `.In', -Thtml, -mdoc.Kristaps Dzonsons2009-10-281-1/+49
| | | | Added html_id[cat,cpy] for transforming id's into well-formed attribute strings (no %s, etc.).
* Added "summary" tag to tables in order to silence HTML-tidy's complaints.Kristaps Dzonsons2009-10-271-1/+2
|
* Portability: replaced queue macros in html.c (Joerg Sonnenberger).Kristaps Dzonsons2009-10-261-17/+13
| | | | | Fixed "-o" residue. Added "-O" to usage() (-o didn't appear there either).
* More updates to mdoc.7.Kristaps Dzonsons2009-10-201-1/+2
|
* Moved output definitions into main.h.Kristaps Dzonsons2009-10-131-1/+2
| | | | Pushed terminal_{mdoc,man} into {mdoc,man}_term.c.
* Clean up consts (noted by Joerg Sonnenberger and Ulrich Sporlein).Kristaps Dzonsons2009-10-131-5/+9
|
* Scaling factor made floating point (as per groff.7) and, e.g., ↵Kristaps Dzonsons2009-10-091-3/+7
| | | | gnu/usr.bin/cvs/man/cvs.1.
* Fixed side-effect of linting (oops).Kristaps Dzonsons2009-10-071-5/+6
|
* Lint-ified.Kristaps Dzonsons2009-10-071-3/+5
|
* Made default string units (-Thtml -mdoc) to use `m' and not `n' scaling ↵Kristaps Dzonsons2009-10-071-3/+10
| | | | | | | (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-3/+55
| | | | Fitted both -Thtml with handling of arbitrary vertical and horizontal scaling units (see groff(7)). Undocumented until fitted into -Tascii (next release).
* Example style-sheet reflecting modified section/subsection style tags.Kristaps Dzonsons2009-10-041-1/+2
| | | | Added ATTR_ID and so forth to attrs.
* Lintified (noops).Kristaps Dzonsons2009-10-031-6/+4
|
* Fixed mandoc.1 examples (new -Thtml options).Kristaps Dzonsons2009-10-031-3/+96
| | | | | Fixed manuals to use `In', not `Fd'. Moved buf* functions into html.c.
* Added the -oincludes=FMT option.Kristaps Dzonsons2009-10-031-4/+7
| | | | | 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-10/+9
| | | | | | | 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).
* Added Bf, Pf, etc. to -Thtml.Kristaps Dzonsons2009-09-241-2/+3
| | | | Fixed Rs in -Tascii to behave properly when not in "SEE ALSO" section.
* Split html.c into html.h, mdoc_html.c, man_html.c.Kristaps Dzonsons2009-09-211-1684/+8
|
* Removed man handling in -Thtml (for now).Kristaps Dzonsons2009-09-211-41/+14
| | | | Added some UTF chars to chars.in.
* Fix height of hard-breaks in -Thtml.Kristaps Dzonsons2009-09-211-4/+10
|
* Consolidation of Pp/sp/br/Lp stuff.Kristaps Dzonsons2009-09-211-20/+29
|
* Fix in outopts processing.Kristaps Dzonsons2009-09-211-2/+2
|
* Fixed body/divbody structure of html pages.Kristaps Dzonsons2009-09-211-10/+17
| | | | | | Added example style.css (example.style.css). Enabled using -Thtml to generate manuals in Makefile. Stopped making text manuals for webpage.
* getsubopt() is in unistd.h, not stdlib.h (error in xBSD manuals).Kristaps Dzonsons2009-09-211-1/+2
|
* Lint pass (OpenBSD-alpha). Noops.Kristaps Dzonsons2009-09-211-5/+3
|
* Removed new-born out.{h,c} (not a good idea).Kristaps Dzonsons2009-09-211-15/+121
| | | | | Removed if 0 for HTML-mode output (why not). Added option -oxxxx for passing options to output devices.
* Added example stylesheet.Kristaps Dzonsons2009-09-211-2/+2
|
* Tentative addition of front-end utility functions (out.h) (not sure if it's ↵Kristaps Dzonsons2009-09-211-235/+397
| | | | | | necessary). More -Thtml installments.
* Using inline-blocks for header and footer (works much better).Kristaps Dzonsons2009-09-201-58/+42
|
* Headers and footers in -Thtml. Various minor additions.Kristaps Dzonsons2009-09-201-19/+251
|
* Bl -column in place for -Thtml.Kristaps Dzonsons2009-09-201-4/+26
|
* Some extra html tags and near-complete Bl: -tag is hopeless (synonym for ↵Kristaps Dzonsons2009-09-201-182/+202
| | | | -hang, now) and -column is still pending.
* Fixed memory leak on close.Kristaps Dzonsons2009-09-201-1/+4
|
* Considerable, wide-ranging improvements to the -Thtml output mode (most ↵Kristaps Dzonsons2009-09-201-102/+166
| | | | especially proper tagging and using `em' instead of `px').
* Consider html fixes, most importantly -tag and -hang (breaks in IE6, ↵Kristaps Dzonsons2009-09-171-91/+439
| | | | apparently).
* Hang lists in html (the hard one first).Kristaps Dzonsons2009-09-171-14/+296
|
* More html.Kristaps Dzonsons2009-09-171-20/+152
| | | | Initial html encodings in chars.in.
* ascii_xxx -> chars_xxx (intended to hold more than just ascii encoding).Kristaps Dzonsons2009-09-171-4/+30
| | | | More html work.
* More updates to html.c.Kristaps Dzonsons2009-09-161-150/+299
| | | | Secretly enabled -Thtml in main.c (obviously not yet documented).
* Made tree/term/out() functions return void.Kristaps Dzonsons2009-09-161-0/+638
| | | | Put err() functions back into front-ends (no use making it needlessly complex).
* Purged all old files in favour of new design. Selective reintegration.Kristaps Dzonsons2008-12-151-1085/+0
|
* *** empty log message ***Kristaps Dzonsons2008-12-121-1/+5
|
* Prettier HTML.Kristaps Dzonsons2008-12-101-4/+17
|
* *** empty log message ***Kristaps Dzonsons2008-12-101-100/+84
|