Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Migrate schwarze@'s `Bk' argument patch to -T[x]html. | Kristaps Dzonsons | 2010-12-19 | 1 | -1/+2 |
| | |||||
* | Handle .Bk the same way as groff 1.20.1: | Ingo Schwarze | 2010-12-19 | 1 | -1/+2 |
| | | | | | | .Bk without arguments defaults to -words. .Bk with invalid arguments (including -lines) has no effect. ok kristaps@ | ||||
* | Sync to the installed version in OpenBSD, excluding .ft documentation: | Ingo Schwarze | 2010-12-18 | 1 | -88/+138 |
| | | | | | | Be more careful to not confuse requests, macros and escape sequences. Add more info at various places, including new SEE ALSO and HISTORY sections. OK jmc@ kristaps@ | ||||
* | Sync to OpenBSD: More precise description of .Xo, and don't talk | Ingo Schwarze | 2010-12-18 | 1 | -3/+7 |
| | | | | | | | | about deprecation, because there are cases were choosing .Xo or backslash line continuation is merely a matter of taste, not a difference in readability, and well-used .Xo is even slightly more portable. OK jmc@ | ||||
* | Tweak default styles. | Kristaps Dzonsons | 2010-12-17 | 2 | -7/+7 |
| | |||||
* | Don't use EM for default widths; use BU instead. | Kristaps Dzonsons | 2010-12-17 | 1 | -2/+2 |
| | |||||
* | Merged example.style.css into style.css. Adding version stuff. | Kristaps Dzonsons | 2010-12-17 | 3 | -52/+143 |
| | |||||
* | Correctly labelled command-line as `Dl'. | Kristaps Dzonsons | 2010-12-17 | 2 | -2/+2 |
| | |||||
* | Prevent double-printing of `D1' or `Dl' DIV. | Kristaps Dzonsons | 2010-12-17 | 1 | -4/+3 |
| | |||||
* | Correctly mark the examples as `Dl', not `D1'. | Kristaps Dzonsons | 2010-12-17 | 1 | -4/+4 |
| | |||||
* | Add a "list" top-level tag, too. | Kristaps Dzonsons | 2010-12-17 | 2 | -2/+6 |
| | |||||
* | Remove useless DIVs in favour of BRs. Fix `Ex' by having it print a prior | Kristaps Dzonsons | 2010-12-17 | 1 | -3/+9 |
| | | | | BR. Fix `Rv' by only having it print a BR if there's a prior. | ||||
* | Make literal `Bd' use a PRE in -Thtml. Make `Bd' output in general use | Kristaps Dzonsons | 2010-12-17 | 4 | -29/+27 |
| | | | | only a single DIV or PRE. Tag all displays with display class. | ||||
* | Banished -man -Thtml header and footer to example.style.css as well. | Kristaps Dzonsons | 2010-12-17 | 2 | -32/+19 |
| | |||||
* | Have synopsis_pre() in -Thtml emit P or BR, not DIVs. | Kristaps Dzonsons | 2010-12-17 | 3 | -44/+35 |
| | | | | Banish header and footer TABLE styling to example.style.css. | ||||
* | Make SYNOPSIS `Nm' use a TABLE in -T[x]html mode. Also fix `Nd' using | Kristaps Dzonsons | 2010-12-17 | 2 | -57/+39 |
| | | | | desc-body instead of desc as its CSS key. | ||||
* | Significantly clean up Sh, Ss, SH, and SS handling in -Thtml. Now a | Kristaps Dzonsons | 2010-12-17 | 3 | -133/+38 |
| | | | | | | top-level DIV is used with only an H1 or H2 as the section header. This makes manuals much more readable in lynx, less complicated, and relegates left-margin widths to example.style.css. | ||||
* | Some default styles for lists. Needs more testing, but seems safe | Kristaps Dzonsons | 2010-12-16 | 1 | -8/+8 |
| | | | | enough. | ||||
* | Note that we use CSS1, not CSS2. | Kristaps Dzonsons | 2010-12-16 | 1 | -6/+5 |
| | | | | Remove superfluous language in output-mode short description. | ||||
* | Get widths to be propertly represented in -T[x]html. | Kristaps Dzonsons | 2010-12-16 | 1 | -6/+17 |
| | |||||
* | Migrate `An' to use a pointer in its data, like everybody else. This is | Kristaps Dzonsons | 2010-12-16 | 4 | -7/+13 |
| | | | | | the first step to having a simpler ref-counted system for "data" associated with a node. | ||||
* | Remove stray note on `i', which we no longer support. | Kristaps Dzonsons | 2010-12-16 | 1 | -6/+0 |
| | |||||
* | Note that `Sh' and `Ss' are now rigorously checked for paragraph macros. | Kristaps Dzonsons | 2010-12-16 | 1 | -4/+2 |
| | | | | Merge other TODO regarding `It' and paragraphs. | ||||
* | Back out last: apparently `Bl', `It', and `Pp' need a little bit more | Kristaps Dzonsons | 2010-12-16 | 1 | -17/+2 |
| | | | | study to see exactly what's legal and what's not. | ||||
* | Allow `It' to have a trailing paragraph if the surrounding list is in | Kristaps Dzonsons | 2010-12-16 | 1 | -2/+17 |
| | | | | compact mode. | ||||
* | First, make `Pp' (next to `Sm') be allowed as the first element of a | Kristaps Dzonsons | 2010-12-16 | 1 | -13/+15 |
| | | | | | | | | | | | `Bl' (before any `It' have been invoked). Next, have the existence of either macro raise a warning, as it's technically not legal according to mdoc.7. Second, delete any `Pp' as the first element of a `Bl' (i.e., before an `It') ONLY when -compact has not been specified. This matches with the latest version of groff. This deletion happens prior to the above check, so double-warnings will not be issued. | ||||
* | Remove `Pp' and `Lp' checks in front-ends to make sure we're not | Kristaps Dzonsons | 2010-12-15 | 2 | -10/+0 |
| | | | | | printing as the first or last child of an `Ss' or `Sh': this is now ensured within the validator. | ||||
* | Add a "last child" member of struct mdoc_node. | Kristaps Dzonsons | 2010-12-15 | 6 | -8/+34 |
| | | | | | | | Remove `Pp' or `Lp' if it is the FIRST or LAST child of an `Sh' or `Sh' body. Make "skipping paragraph" be an error, not a warning, as information (an invoked macro) is ignored. | ||||
* | Add some more bits to CSS example. | Kristaps Dzonsons | 2010-12-15 | 1 | -1/+5 |
| | |||||
* | Use a single P tag for paragraph breaks (which can be configured for | Kristaps Dzonsons | 2010-12-15 | 4 | -37/+36 |
| | | | | | | | paragraph breaking in CSS). Use -man's handling of `sp' and `br', which accomodates for scaling widths (-mdoc wasn't). | ||||
* | Make sure that new list types don't emit whitespace before or after (we | Kristaps Dzonsons | 2010-12-15 | 1 | -20/+15 |
| | | | | have to do this manually). | ||||
* | Clarifying styles. | Kristaps Dzonsons | 2010-12-15 | 1 | -21/+20 |
| | |||||
* | Clarify purpose of "lit". | Kristaps Dzonsons | 2010-12-15 | 2 | -8/+16 |
| | | | | Make `Dl' and `D1' both use BLOCKQUOTE instead of DIVs. | ||||
* | Remove stupid outer DIV tag in favour of regular BODY and HTML that can | Kristaps Dzonsons | 2010-12-15 | 5 | -19/+7 |
| | | | | | | | | 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. | ||||
* | Added list-type style tips. | Kristaps Dzonsons | 2010-12-15 | 2 | -11/+53 |
| | |||||
* | In-progress move from -T[x]html using DIVs for its lists to using DL, | Kristaps Dzonsons | 2010-12-15 | 4 | -256/+160 |
| | | | | | OL, and UL. Issue raised by Will Backman, solution proposed by schwarze@. | ||||
* | Make SYNOPSIS sections and code having .nr nS enabled | Ingo Schwarze | 2010-12-11 | 1 | -1/+14 |
| | | | | | | | | | behave as if the whole code were wrapped in .Bk/.Ek, i.e. keeping input lines together on output lines. This is compatible with new groff behaviour and deviates from historical groff. Tweaked version of a patch sent by kristaps@ on July 16, 2010. ok kristaps@ jmc@ sobrado@ millert@ | ||||
* | Abort endless loops during roff macro and string expansion. | Ingo Schwarze | 2010-12-10 | 3 | -2/+18 |
| | | | | | | For now, use the simplest conceivable approach, like groff does: Just a fixed, ugly input stack limit. "check it in" kristaps@ | ||||
* | done: .de; todo: """"; loops in macro and string expansion | Ingo Schwarze | 2010-12-09 | 1 | -22/+9 |
| | |||||
* | Allow quote macros (`Op', `Aq', `Bq', `Dq', `Pq', `Ql', `Qq', `Sq', and | Kristaps Dzonsons | 2010-12-09 | 2 | -12/+9 |
| | | | | | | | | | `Brq') to have zero arguments without warning. This makes sense because the multi-line quote macros (`Oo/Oc' etc.) allow zero children anyway. Furthermore, the documentation doesn't state that they're required to have children. Originally reported by Alex Kozlov, thanks! | ||||
* | Remove `i' and `r' macro handlers. These macros, originally part of the | Kristaps Dzonsons | 2010-12-08 | 7 | -53/+10 |
| | | | | | | | | me package, aren't recognised by "groff -mandoc" so we don't need to do so either. Discussed on tech@ with schwarze@. While at it, remove references to `b' in man.7. As far as I know, this was never supported anyway. | ||||
* | Tag an internal release, 1.10.7, that marks being in sync with OpenBSD'sVERSION.1.10.7 | Kristaps Dzonsons | 2010-12-06 | 1 | -2/+2 |
| | | | | | | | | | | | changes these last months (less tbl). There are still some issues that require thought, but this extends beyond synchronisation. This WILL NOT be pushed to the main site; it's merely a logical tag so that there's a common fall-back in future changes. Note that the TODO file is NOT up to date. This is ok since the tag is purely internal. | ||||
* | Bring schwarze@'s mandoc.h and main.c errors and warnings entirely in sync, | Kristaps Dzonsons | 2010-12-06 | 2 | -85/+106 |
| | | | | except for the tbl one which will be the focus of later study. | ||||
* | Import changes by schwarze@ and Jason McIntyre into manuals. These are | Kristaps Dzonsons | 2010-12-06 | 2 | -91/+274 |
| | | | | | | | | | | for the new libroff macros, the new libman macros, and for the sake of general clarity. Note that `ft' documentation is NOT included, as I've kept it in -man: it's highly confusing to have it in roff.7 when it's not implemented for both -man and -mdoc, as at least in theory, roff.7 should include only macros recognised by BOTH formats. | ||||
* | Typo: man_in_pre -> man_ign_pre for `ft'. | Kristaps Dzonsons | 2010-12-06 | 1 | -1/+1 |
| | |||||
* | Add support for `ft' macro found in groff(7). Based on a patch by | Kristaps Dzonsons | 2010-12-06 | 9 | -2/+110 |
| | | | | | schwarze@, but without the -T[x]html handling, which structurally does not work. Also add man.7 documentation (not in original patch). | ||||
* | Small merges from schwarze@'s man_html.c edits. | Kristaps Dzonsons | 2010-12-06 | 1 | -6/+2 |
| | |||||
* | Let some man_term.c cleanups bleed into man_html.c. | Kristaps Dzonsons | 2010-12-06 | 1 | -6/+2 |
| | |||||
* | My favourite: removing lots of code in favour of smaller, tighter code. | Kristaps Dzonsons | 2010-12-06 | 1 | -79/+49 |
| | | | | | Merge patch by schwarze@ consolidating RB, BR, etc. into one function. man_html.c already does this. | ||||
* | Make return(man_nmsg(...)) by a simple declaration. | Kristaps Dzonsons | 2010-12-06 | 1 | -18/+20 |
| | | | | | | Make non-uppercase warning only occur once. Make scope-open-on-error warning only occur once. |