| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add `Ta' macro, which is basically a NULL case everywhere but in
mdoc_macro.c, where it closes out an existing `It' body scope and opens
a new one, then continues parsing as in phrase() (TODO: merge these
two?).
Fix where scope-breaking was silently just dying instead of printing an
error.
Fix where trailing `Ta' or tab weren't creating a new MDOC_BODY context.
We now support arbitrarily complex `It' contents for `Bl -column'.
|
| |
|
| |
|
|
|
|
|
| |
open scopes to migrate across tabs) that we probably won't support and
is well-known.
|
|
|
|
|
|
|
|
|
|
| |
will make it easy for re-entrant parsing of `Ta' macros to fit in with
standard closure rules.
Added some more regressions for `Bl -column'. Note that one should
fail, as documented in the TODO file.
Recorded change of AST BNF in mdoc.3.
|
|
|
|
|
| |
be changing this around and want a record in CVS of what was happening
beforehand.
|
|
|
|
| |
handling.
|
|
|
|
|
|
|
|
| |
supported (which works but is tricky enough that it should be broken
down into digestable parts). This simply moves around the propogation
of ARGS_PEND into one recognised by phrase().
Added a few regressions for simple -column lists.
|
| |
|
|
|
|
|
|
|
|
| |
Have `Dt' default to UNKNOWN if it's an empty string.
Raise a warning if `Dt' title isn't capitalised.
Sync'd `Dt' documentation with reality.
|
|
|
|
| |
Fixed case of some anchor tag closings (no-op).
|
| |
|
| |
|
|
|
|
| |
Cleaned up www to be more compact and add a header for sections.
|
|
|
|
|
| |
each and every macro. The table keys on the first character then walks
a chain. Good enough for now.
|
|
|
|
| |
mirrored across front-ends.
|
|
|
|
|
| |
NOTE: this will not work on old groff, which forgets to print `file ...'
when encountering an empty Ar node.
|
|
|
|
|
|
|
|
|
|
| |
has not been opened and closing punctuation is encountered AND the macro
is marked as accepting no-content (or `Li'), then open an empty scope.
Added regression tests for `Fl' and `Li' testing this behaviour.
Also, squeeze hyph0.in tests into the last characters of each line so
that groff doesn't hyphenate and break the test.
|
|
|
|
| |
Ulrich Spoerlein.
|
|
|
|
|
|
|
|
|
|
|
| |
Proper EOS handling for `Rv', `Ex', `Ud', and `Bt'.
Both `Bt' and `Ud' now warn about and discard line arguments (reported
by Ulrich Spoerlein).
Collapsed posts_xr into posts_wtext (harmless: they're the same thing).
Added regressions for `Ud' and `Bt'.
|
|
|
|
|
|
|
|
|
| |
Added `Lb' documentation to mdoc.7.
Removed harmless but superfluous pre_lb check (was just NULL entries).
Added regressions for `Lb' (NOTE that these will only run on new groff,
as old groff doesn't support `Lb' at all).
|
|
|
|
| |
Added libroff references to index.sgml.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Small fix in mdoc.3 and man.3 pointing to old mdoc_cb and man_cb.
Fix in Makefile adding mandoc.h to HEADS.
Collapsed all HTML files into HTMLS variable (too confusing otherwise).
Removed "htmls" command from Makefile (only I used it and it's just
taking up space).
|
|
|
|
|
|
| |
Clean-up: new-sentence, new-line for man.3.
Clean-up: alpha-ordered man.3 `Nm' sections and prototypes.
|
|
|
|
|
|
|
| |
Clean-up: removed CAVEATS section (this should be either in the TODO
file or in mdoc.7 documenting mandoc incompatibilities).
Clean-up: alpha-ordered `Nm' and section headers.
|
| |
|
|
|
|
| |
Fix index.sgml not to puke (the relevant section will be re-written for the release anyway, but I hate seeing errors).
|
| |
|
|
|
|
|
|
|
| |
Breakable hyphens are cued in the back-ends (with ASCII_HYPH) and acted
upon in term.c or ignored in html.c.
Also cleaned up XML decl printing (no need for extra vars).
|
|
|
|
|
|
| |
nothing fancy yet, no negation, no grammer, just that one letter;
from OpenBSD;
"looks fine" kristaps@
|
|
|
|
|
|
| |
which occur in the standard pod2man preamble;
from OpenBSD;
"sounds good" joerg@, "can be checked in" kristaps@
|
|
|
|
|
|
|
| |
save the visual cursor position in term_flushln()
and use that to avoid multiple blank lines in nested lists while
still putting subsequent empty list tags each on their own line;
"go ahead" kristaps@
|
|
|
|
|
|
|
|
| |
and outside. In literal context, tab stops are at each eigth column;
outside, they are at each fifth column.
from OpenBSD mdoc_term.c rev. 1.75;
"commit" kristaps@
|
|
|
|
|
|
| |
.Sm off
.It ...
fixed by joerg@ in mdoc_action.c bsd.lv 1.61, OpenBSD 1.38
|
|
|
|
| |
rev. 1.125 broke vertical spacing in .Bl -column
|
|
|
|
|
|
|
|
| |
making it easier to understand and fixing various bugs:
* correctly strip whitespace from the end of text lines
* issue consistent warnings regarding trailing spaces and tabs
* escaped backslashes no longer escape the following character
ok kristaps@
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
ok joerg@
|
|
|
|
|
|
| |
calculation. E.g. .Sm can occur as direct child of .Bl.
OK schwarze@
|
|
|
|
|
| |
MANDOCERR_BODYLOST is not intended to be fatal;
required to unbreak the OpenBSD build
|
| |
|
| |
|
|
|
|
| |
and add one new .Bl -tag issue reported by Joerg
|
|
|
|
|
|
|
| |
This will eventually be used so that mdoc_macro can known whether to
dump list line arguments into the body (`Bl -column' overflowing).
Remove a2list() and arg_listtype() because of this.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
stringified in main.c.
Allow `An' to handle an argument and child (with a warning).
Allow `Rv' and `Ex' to work without a prior `Nm' as groff does (with a
warning).
Allow inconsistent column syntax to only raise a warning.
|