summaryrefslogtreecommitdiffstats
path: root/html.h
Commit message (Collapse)AuthorAgeFilesLines
...
* Apparently the U tag is deprecated, so use a SPAN instead (blah). BumpKristaps Dzonsons2010-12-241-1/+0
| | | | version date for release.
* Drastically fix -T[x]html's handling of font-escape mode changes (i.e.,Kristaps Dzonsons2010-12-241-4/+4
| | | | | | | | | | | | | | | using \fI or \fP). Now, using these modes will cause a font to be rendered for each word; furthermore, setting mode within a word will do the correct thing. Second, make -man use real font tags (B, I, SMALL) to set its font instead of using font modes and fix up the pre-macro unsetting of the current mode. This fixes how roff.7 wasn't validating (<P> closing out a font mode) and has been checked against gcc.1 (more will come). I considered failure to validate OUR manual to be a show-stopper for the up-coming release.
* Implement reference-counted version of original union mdoc_data. ThisKristaps Dzonsons2010-12-221-0/+1
| | | | | | | simplifies clean-up and allows for more types without extra hassle. Also made in-line literal types in -T[x]html use CODE instead of SPAN to match how literal blocks use PRE.
* More use default tags, this time I and U. Also fix a stack overflowKristaps Dzonsons2010-12-201-0/+2
| | | | segfault in the last commit.
* Give header and footer table cells default widths (using WIDTH and ALIGNKristaps Dzonsons2010-12-201-2/+2
| | | | | | | | | atttributes) if no style is specified. Give the default-bold elements a B tag instead of a SPAN tag, as this can be overriden in the stylesheet. Prune some unused attributes from html.h.
* Make literal `Bd' use a PRE in -Thtml. Make `Bd' output in general useKristaps Dzonsons2010-12-171-0/+1
| | | | only a single DIV or PRE. Tag all displays with display class.
* Use a single P tag for paragraph breaks (which can be configured forKristaps Dzonsons2010-12-151-0/+1
| | | | | | | paragraph breaking in CSS). Use -man's handling of `sp' and `br', which accomodates for scaling widths (-mdoc wasn't).
* Remove stupid outer DIV tag in favour of regular BODY and HTML that canKristaps Dzonsons2010-12-151-0/+1
| | | | | | | | be handled in CSS. Clarified "lit" tag (will be the subject of future clarification). Removed CSS2 note in mandoc.1, which is no longer the case.
* In-progress move from -T[x]html using DIVs for its lists to using DL,Kristaps Dzonsons2010-12-151-10/+4
| | | | | OL, and UL. Issue raised by Will Backman, solution proposed by schwarze@.
* Add support for `Sm' in -T[x]html -mdoc.Kristaps Dzonsons2010-07-231-0/+1
|
* correct lots of copyright notices;Ingo Schwarze2010-07-131-1/+1
| | | | ok kristaps@
* Give -T[x]html `Bk -words' capability.Kristaps Dzonsons2010-07-061-1/+3
|
* Churn as I finish email address migration kth.se -> bsd.lv.Kristaps Dzonsons2010-06-191-1/+1
|
* Fix in `Mt' mailto from a patch by Tim van der Molen.Kristaps Dzonsons2010-04-051-12/+11
| | | | | Fixed PAIR_xxx_INIT macros -- this are to be unified. Have `Vt', `Fn', `Ft', and `Fo' print whitespace afterward, instead of before.
* Fixed Makefile for `make lint' dep. on config.hKristaps Dzonsons2010-01-291-3/+7
| | | | Added -Txhtml for XHTML output (minimal increase to programme logic). Because groff has it and it bothers me that we don't.
* Abstraction of -Thtml -man font setting (still experimental).Kristaps Dzonsons2009-11-161-0/+10
|
* Removed superfluous HTML_NEWLINE.Kristaps Dzonsons2009-11-141-1/+0
|
* Fixed \c handling in -Thtml.Kristaps Dzonsons2009-11-141-4/+1
|
* (Forgot to update html.h with metafonts. Build will puke on check-out.)Kristaps Dzonsons2009-11-101-0/+4
|
* Fixed `sp', `br', `Pp', etc. so as not to have an empty div (-Thtml, -man, ↵Kristaps Dzonsons2009-10-281-1/+0
| | | | | | | | -mdoc). Made html_idcat be completely correct (messy standard) (-Thtml). Fixed warnings about -ohang and -item lists (-Thtml, -mdoc). Fixed typo in index.sgml.
* Fixed un-reset buffer in `.In', -Thtml, -mdoc.Kristaps Dzonsons2009-10-281-0/+3
| | | | 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-0/+4
|
* Portability: replaced queue macros in html.c (Joerg Sonnenberger).Kristaps Dzonsons2009-10-261-5/+9
| | | | | Fixed "-o" residue. Added "-O" to usage() (-o didn't appear there either).
* Clean up consts (noted by Joerg Sonnenberger and Ulrich Sporlein).Kristaps Dzonsons2009-10-131-1/+1
|
* Additions to -Tman -Thtml: all structural components tested & in place.Kristaps Dzonsons2009-10-071-1/+18
| | | | 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-0/+1
| | | | Added ATTR_ID and so forth to attrs.
* Fixed mandoc.1 examples (new -Thtml options).Kristaps Dzonsons2009-10-031-0/+7
| | | | | Fixed manuals to use `In', not `Fd'. Moved buf* functions into html.c.
* Added the -oincludes=FMT option.Kristaps Dzonsons2009-10-031-0/+2
| | | | | 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-0/+3
| | | | | | | 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-0/+1
| | | | 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-0/+102
|
* Purged all old files in favour of new design. Selective reintegration.Kristaps Dzonsons2008-12-151-86/+0
|
* Prettier HTML.Kristaps Dzonsons2008-12-101-1/+3
|
* Linted on NetBSD side.Kristaps Dzonsons2008-12-101-2/+2
|
* *** empty log message ***Kristaps Dzonsons2008-12-101-0/+1
|
* *** empty log message ***Kristaps Dzonsons2008-12-101-0/+83