Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | LIBRARY can also occur in section 9. | Kristaps Dzonsons | 2010-05-15 | 1 | -2/+2 |
| | | | | | | All manual sections (unknown, 3p, 3f, etc.) correctly handled by -mdoc. Useful warning printed if unknown manual section. Checking for manual sections (e.g., LIBRARY) checks only first character, so 3p, 3f, etc. are free. | ||||
* | Fixed bug in -Thtml -mdoc where `Lb' would line-break in LIBRARY section. | Kristaps Dzonsons | 2010-05-13 | 1 | -6/+7 |
| | | | | | Fixed assumption that parse-point == 1 equates to beginning of line (false if whitespace separates macro and control character). Fixed line-break for non-first-macro in several SYNOPSIS macros. | ||||
* | Fixed %T: it now correctly underlines, instead of quoting (noted by Jason ↵ | Kristaps Dzonsons | 2010-04-08 | 1 | -10/+2 |
| | | | | McIntyre and posted on Ingo Schwarze' mandoc-todo list). | ||||
* | Bug in printing of reserved words with form \*[xxx] fixed (found by Joerg ↵ | Kristaps Dzonsons | 2010-04-07 | 1 | -0/+1 |
| | | | | Sonnenberger). | ||||
* | Let `Bl' accept arguments on the head line with a warning (these are ignored ↵ | Kristaps Dzonsons | 2010-04-06 | 1 | -0/+2 |
| | | | | in the front-end device) (noted by Theo de Raadt). | ||||
* | `Fl' now correctly suppresses the trailing space if followed by macros on ↵ | Kristaps Dzonsons | 2010-04-06 | 1 | -2/+2 |
| | | | | the same line. | ||||
* | Fix in `Mt' mailto from a patch by Tim van der Molen. | Kristaps Dzonsons | 2010-04-05 | 1 | -36/+41 |
| | | | | | Fixed PAIR_xxx_INIT macros -- this are to be unified. Have `Vt', `Fn', `Ft', and `Fo' print whitespace afterward, instead of before. | ||||
* | Merged patch by Ingo Schwarze allowing `Xr' to pass through with no ↵ | Kristaps Dzonsons | 2010-04-03 | 1 | -0/+3 |
| | | | | arguments (emits warning of course). | ||||
* | Integrate Ingo Schwarze's patch for mdoc_iscdelim() (tri-state for opening ↵ | Kristaps Dzonsons | 2010-03-29 | 1 | -1/+1 |
| | | | | | | | | | | | and closing macro punctuation). Modify blk_part_exp() to correctly handle leading punctuation before HEAD. Significantly clean up and document blk_part_exp(). Modify blk_part_imp() for to correctly handle leading punctuation before HEAD. Significantly clean up and document blk_part_imp(). Integrate Ingo Schwarze's patch for args() (using new mdoc_iscdelim() format). Documented bad `Ec' handling for later work in mdoc_term.c/mdoc_html.c. | ||||
* | Fix in handling Vt in SYNOPSIS with trailing punctuation. Spotted by Joerg ↵ | Kristaps Dzonsons | 2010-01-30 | 1 | -2/+5 |
| | | | | Sonnenberger. | ||||
* | Fixed Makefile for `make lint' dep. on config.h | Kristaps Dzonsons | 2010-01-29 | 1 | -1/+1 |
| | | | | Added -Txhtml for XHTML output (minimal increase to programme logic). Because groff has it and it bothers me that we don't. | ||||
* | Big check-in of compatibility layer. This should work on most major ↵ | Kristaps Dzonsons | 2010-01-01 | 1 | -6/+8 |
| | | | | architectures. Thanks to Joerg Sonnenberger. | ||||
* | Documented `Fl' in mdoc.7. | Kristaps Dzonsons | 2010-01-01 | 1 | -16/+4 |
| | | | | Backed out stipulation that `Fl ""' is ignored: this is not the case in !OpenBSD groffs. | ||||
* | `Fl' has each argument be in a separate scope (thanks Ingo Schwarze). | Kristaps Dzonsons | 2010-01-01 | 1 | -3/+24 |
| | | | | | Situation of `Fl [arg]* "" [arg]*' is fixed: empty arguments are ignored. Note that OpenBSD crashes when this happens. Situation of `Fl' is fixed wrt trailing whitespace. | ||||
* | Fixed handling of exampledir (pointed out by Ulrich Sporlein, forgotten, ↵ | Kristaps Dzonsons | 2009-12-02 | 1 | -2/+2 |
| | | | | discovered again). | ||||
* | Enabled -Thtml -mdoc to work with \f (see compat notes in mandoc.1). | Kristaps Dzonsons | 2009-11-16 | 1 | -3/+1 |
| | |||||
* | Removed superfluous HTML_NEWLINE. | Kristaps Dzonsons | 2009-11-14 | 1 | -6/+5 |
| | |||||
* | Fixed -Thtml printing of -ohang lists (-mdoc). | Kristaps Dzonsons | 2009-10-31 | 1 | -2/+5 |
| | | | | Fixed validation of -ohang lists as having no widths. | ||||
* | Patch on DragonFly BSD syntax (thanks Sascha Wildner). | Kristaps Dzonsons | 2009-10-31 | 1 | -1/+1 |
| | | | | Noted inclusion into DragonFly BSD (thanks Sascha Wildner). | ||||
* | Using perror() instead of fprintf for failure from library functions. | Kristaps Dzonsons | 2009-10-31 | 1 | -1/+1 |
| | |||||
* | More lint fixes. | Kristaps Dzonsons | 2009-10-30 | 1 | -3/+4 |
| | | | | Removed err.h from inclusions (less main.c--still in progress). | ||||
* | Fixed `sp', `br', `Pp', etc. so as not to have an empty div (-Thtml, -man, ↵ | Kristaps Dzonsons | 2009-10-28 | 1 | -9/+10 |
| | | | | | | | | -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 Dzonsons | 2009-10-28 | 1 | -13/+15 |
| | | | | 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 | -4/+9 |
| | |||||
* | Portability: replaced queue macros in html.c (Joerg Sonnenberger). | Kristaps Dzonsons | 2009-10-26 | 1 | -6/+6 |
| | | | | | Fixed "-o" residue. Added "-O" to usage() (-o didn't appear there either). | ||||
* | Full `%U' support. | Kristaps Dzonsons | 2009-10-26 | 1 | -17/+27 |
| | | | | | | | `Lk' display fixed. Renamed arg2xxxx as a2xxxx for consistency. Renamed print_foot to print_man_foot for consistency. Removed default printing of `~' when `Lk' not provided (not sure where I got that from). | ||||
* | Added `%U' to -mdoc (doesn't render in a nice way yet). | Kristaps Dzonsons | 2009-10-24 | 1 | -0/+3 |
| | |||||
* | Fixed maddening mismatch between groff and strftime mismatch of day ("%e"). ↵ | Kristaps Dzonsons | 2009-10-22 | 1 | -7/+3 |
| | | | | Noted by Ulrich Sporlein. | ||||
* | More updates to mdoc.7. | Kristaps Dzonsons | 2009-10-20 | 1 | -5/+7 |
| | |||||
* | Continued work on mdoc.7. | Kristaps Dzonsons | 2009-10-19 | 1 | -0/+2 |
| | | | | Noted buffer overwrite bug in -Thtml -mdoc (will fix later). | ||||
* | Fixed -mdoc -Thtml with -item lists not to default-indent when width isn't ↵ | Kristaps Dzonsons | 2009-10-19 | 1 | -0/+2 |
| | | | | | | specified. Many more cleanups to mdoc.7 (ongoing completion and documentation of all macros). | ||||
* | Made sure devices and formats recognise that -man and -mdoc have different ↵ | Kristaps Dzonsons | 2009-10-18 | 1 | -5/+5 |
| | | | | syntax for scaling widths: -mdoc assumes no unit means that the value is a string literal while -man instead uses the default vertical/horizontal scale. | ||||
* | Added horizontal scaling units to -Tman -Tascii. | Kristaps Dzonsons | 2009-10-18 | 1 | -0/+4 |
| | |||||
* | Added support for `Bd -centered', which appears in newer groffs (not yet ↵ | Kristaps Dzonsons | 2009-10-15 | 1 | -0/+4 |
| | | | | implemented in centre-capable front-ends, i.e., -Thtml). | ||||
* | Moved output definitions into main.h. | Kristaps Dzonsons | 2009-10-13 | 1 | -0/+1 |
| | | | | Pushed terminal_{mdoc,man} into {mdoc,man}_term.c. | ||||
* | `Cd' in -Thtml -mdoc correctly breaks lines. | Kristaps Dzonsons | 2009-10-10 | 1 | -0/+1 |
| | |||||
* | Consolidated some -man -Tascii functions. | Kristaps Dzonsons | 2009-10-08 | 1 | -10/+10 |
| | | | | Added many -man -Thtml functions (almost complete). | ||||
* | Lint-ified. | Kristaps Dzonsons | 2009-10-07 | 1 | -1/+2 |
| | |||||
* | Lint-ified. | Kristaps Dzonsons | 2009-10-07 | 1 | -15/+17 |
| | |||||
* | Made default string units (-Thtml -mdoc) to use `m' and not `n' scaling ↵ | Kristaps Dzonsons | 2009-10-07 | 1 | -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 Dzonsons | 2009-10-07 | 1 | -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 Dzonsons | 2009-10-04 | 1 | -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 Dzonsons | 2009-10-04 | 1 | -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 Dzonsons | 2009-10-03 | 1 | -11/+6 |
| | |||||
* | `Fn' does not print empty ftype span. | Kristaps Dzonsons | 2009-10-03 | 1 | -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 Dzonsons | 2009-10-03 | 1 | -107/+2 |
| | | | | | Fixed manuals to use `In', not `Fd'. Moved buf* functions into html.c. | ||||
* | Added the -oincludes=FMT option. | Kristaps Dzonsons | 2009-10-03 | 1 | -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 Dzonsons | 2009-10-03 | 1 | -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 Dzonsons | 2009-09-26 | 1 | -17/+24 |
| | |||||
* | Fixed -Thtml handling of -compact lists. | Kristaps Dzonsons | 2009-09-26 | 1 | -21/+50 |
| | | | | Fixed -Thtml handling of `Bd' prior vspace and embedded macros. |