Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Big check-in of compatibility layer. This should work on most major ↵ | Kristaps Dzonsons | 2010-01-01 | 1 | -5/+4 |
| | | | | architectures. Thanks to Joerg Sonnenberger. | ||||
* | Enabled -Thtml -mdoc to work with \f (see compat notes in mandoc.1). | Kristaps Dzonsons | 2009-11-16 | 1 | -1/+1 |
| | |||||
* | Abstraction of -Thtml -man font setting (still experimental). | Kristaps Dzonsons | 2009-11-16 | 1 | -15/+36 |
| | |||||
* | \f escapes appear to work properly for -Thtml -man. Needs more testing. | Kristaps Dzonsons | 2009-11-15 | 1 | -1/+5 |
| | |||||
* | Initial check-in of -man -Thtml \f support (needs testing). | Kristaps Dzonsons | 2009-11-14 | 1 | -4/+46 |
| | |||||
* | Removed superfluous HTML_NEWLINE. | Kristaps Dzonsons | 2009-11-14 | 1 | -10/+1 |
| | |||||
* | Fix of fix of -Thtml nospace. | Kristaps Dzonsons | 2009-11-14 | 1 | -3/+3 |
| | |||||
* | Fixed \c handling in -Thtml. | Kristaps Dzonsons | 2009-11-14 | 1 | -5/+9 |
| | |||||
* | Fixed \c support for all input and output modes (documented in mandoc_char.7). | Kristaps Dzonsons | 2009-11-12 | 1 | -0/+3 |
| | |||||
* | Lint fixes in function call. | Kristaps Dzonsons | 2009-11-10 | 1 | -6/+6 |
| | |||||
* | Documented \s and cleaned up \f documentation in mdoc.7, man.7. | Kristaps Dzonsons | 2009-11-09 | 1 | -107/+34 |
| | | | | -Thtml now using a2roffdeco(). | ||||
* | Documented that `\s' and `\f' don't work in HTML mode (and why). | Kristaps Dzonsons | 2009-11-05 | 1 | -15/+13 |
| | | | | Added support for recognising the many forms of `\s' (doesn't yet render). | ||||
* | Added mandoc_a2time() for proper date conversion. | Kristaps Dzonsons | 2009-11-02 | 1 | -1/+2 |
| | | | | | Fitted TH and Dd handlers to use mandoc_a2time(). Documented date syntax for -man, fixed documentation for -mdoc. | ||||
* | Lint fix. | Kristaps Dzonsons | 2009-11-01 | 1 | -1/+1 |
| | |||||
* | Using putchar for single-character prints (noted by Joerg Sonnenberger). | Kristaps Dzonsons | 2009-11-01 | 1 | -5/+5 |
| | |||||
* | print_encode() using strcspn instead of looping/putchar() (noted by Joerg ↵ | Kristaps Dzonsons | 2009-11-01 | 1 | -12/+12 |
| | | | | Sonnenberger). | ||||
* | Replaced putchar() loop with fwrite() (noted by Joerg Sonnenberger). | Kristaps Dzonsons | 2009-11-01 | 1 | -7/+3 |
| | |||||
* | Using perror() instead of fprintf for failure from library functions. | Kristaps Dzonsons | 2009-10-31 | 1 | -2/+2 |
| | |||||
* | More lint fixes. | Kristaps Dzonsons | 2009-10-30 | 1 | -1/+0 |
| | | | | Removed err.h from inclusions (less main.c--still in progress). | ||||
* | Lint fixes. | Kristaps Dzonsons | 2009-10-30 | 1 | -1/+1 |
| | | | | Made realloc puke with fprintf. | ||||
* | Continued safe handling of allocations. | Kristaps Dzonsons | 2009-10-30 | 1 | -9/+11 |
| | |||||
* | Added newline after block-level closing tags (suggested by Joerg Sonnenberger). | Kristaps Dzonsons | 2009-10-30 | 1 | -3/+3 |
| | |||||
* | Fixed `sp', `br', `Pp', etc. so as not to have an empty div (-Thtml, -man, ↵ | Kristaps Dzonsons | 2009-10-28 | 1 | -31/+13 |
| | | | | | | | | -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 Dzonsons | 2009-10-28 | 1 | -8/+6 |
| | |||||
* | Fixed un-reset buffer in `.In', -Thtml, -mdoc. | Kristaps Dzonsons | 2009-10-28 | 1 | -0/+48 |
| | | | | 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 Dzonsons | 2009-10-27 | 1 | -0/+1 |
| | |||||
* | Portability: replaced queue macros in html.c (Joerg Sonnenberger). | Kristaps Dzonsons | 2009-10-26 | 1 | -16/+12 |
| | | | | | Fixed "-o" residue. Added "-O" to usage() (-o didn't appear there either). | ||||
* | More updates to mdoc.7. | Kristaps Dzonsons | 2009-10-20 | 1 | -0/+1 |
| | |||||
* | Moved output definitions into main.h. | Kristaps Dzonsons | 2009-10-13 | 1 | -0/+1 |
| | | | | Pushed terminal_{mdoc,man} into {mdoc,man}_term.c. | ||||
* | Clean up consts (noted by Joerg Sonnenberger and Ulrich Sporlein). | Kristaps Dzonsons | 2009-10-13 | 1 | -4/+8 |
| | |||||
* | Scaling factor made floating point (as per groff.7) and, e.g., ↵ | Kristaps Dzonsons | 2009-10-09 | 1 | -2/+6 |
| | | | | gnu/usr.bin/cvs/man/cvs.1. | ||||
* | Fixed side-effect of linting (oops). | Kristaps Dzonsons | 2009-10-07 | 1 | -4/+5 |
| | |||||
* | Lint-ified. | Kristaps Dzonsons | 2009-10-07 | 1 | -2/+4 |
| | |||||
* | Made default string units (-Thtml -mdoc) to use `m' and not `n' scaling ↵ | Kristaps Dzonsons | 2009-10-07 | 1 | -2/+9 |
| | | | | | | | (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 Dzonsons | 2009-10-07 | 1 | -2/+54 |
| | | | | 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 Dzonsons | 2009-10-04 | 1 | -0/+1 |
| | | | | Added ATTR_ID and so forth to attrs. | ||||
* | Lintified (noops). | Kristaps Dzonsons | 2009-10-03 | 1 | -5/+3 |
| | |||||
* | Fixed mandoc.1 examples (new -Thtml options). | Kristaps Dzonsons | 2009-10-03 | 1 | -2/+95 |
| | | | | | Fixed manuals to use `In', not `Fd'. Moved buf* functions into html.c. | ||||
* | Added the -oincludes=FMT option. | Kristaps Dzonsons | 2009-10-03 | 1 | -3/+6 |
| | | | | | 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 Dzonsons | 2009-10-03 | 1 | -9/+8 |
| | | | | | | | 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 Dzonsons | 2009-09-24 | 1 | -1/+2 |
| | | | | 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 Dzonsons | 2009-09-21 | 1 | -1683/+7 |
| | |||||
* | Removed man handling in -Thtml (for now). | Kristaps Dzonsons | 2009-09-21 | 1 | -40/+13 |
| | | | | Added some UTF chars to chars.in. | ||||
* | Fix height of hard-breaks in -Thtml. | Kristaps Dzonsons | 2009-09-21 | 1 | -3/+9 |
| | |||||
* | Consolidation of Pp/sp/br/Lp stuff. | Kristaps Dzonsons | 2009-09-21 | 1 | -19/+28 |
| | |||||
* | Fix in outopts processing. | Kristaps Dzonsons | 2009-09-21 | 1 | -1/+1 |
| | |||||
* | Fixed body/divbody structure of html pages. | Kristaps Dzonsons | 2009-09-21 | 1 | -9/+16 |
| | | | | | | 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 Dzonsons | 2009-09-21 | 1 | -0/+1 |
| | |||||
* | Lint pass (OpenBSD-alpha). Noops. | Kristaps Dzonsons | 2009-09-21 | 1 | -4/+2 |
| | |||||
* | Removed new-born out.{h,c} (not a good idea). | Kristaps Dzonsons | 2009-09-21 | 1 | -14/+120 |
| | | | | | Removed if 0 for HTML-mode output (why not). Added option -oxxxx for passing options to output devices. |