| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
will have lots of small, incremental improvements.
|
| |
|
|
|
|
|
| |
is handled: correctly. This removes superfluous line breaks in many
-man manuals.
|
|
|
|
|
|
| |
be meaningless when invoked within a non-flushing context. This based
on a formatting bug report submitted by Jonathon Gray (jsg@) via
Christian Weisgerber (naddy@).
|
|
|
|
|
|
|
|
|
|
| |
an .Nm block, and gets special handling (new line, indentation).
But .Nm in the middle of a line is just a normal in-line element,
so make sure it does NOT get the special handling.
Partly fixes the test(1) SYNOPSIS; indentation after "[" is still
excessive, which is an unrelated and more difficult issue.
Reminded of the problem by jmc@;
OK kristaps@.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
single-character escape (and ONLY this type of escape) will map back
into itself:
"If a backslash is followed by a character that does not
constitute a defined escape sequence the backslash is silently
ignored and the character maps to itself."
(From groff.7.)
Found by Jason McIntyre.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
specifically say that this is not allowed, and were it allowed, output
would be inconsistent across output media (-Tps will puke,
non-your-charset terminals will puke, etc.).
With this done, simplify check_text() to only check escapes and for
tabs. Add in a new tab warning, too.
|
|
|
|
| |
misalignments.
|
|
|
|
|
|
|
|
|
| |
* briefly mention the HISTORY of the man(7) language
* update the copyright notice
* improve the wording in a few places
* fix a couple of typos
including two suggestions from J.C. Roberts
feedback and ok jmc@, ok sobrado@ and kristaps@
|
| |
|
|
|
|
|
| |
Noted in arch.in and st.in that mdoc.7 must be updated if entries are
added.
|
|
|
|
|
|
|
|
|
| |
Applied "new-sentence, new-line" here and there.
Refer to "whitespace", not "white-space".
Remove long-commented-out CAVEATS, all of which have been addressed or
at least discussed to some extent or another.
|
|
|
|
|
|
| |
be converted into a symbol.
The `Pp' issue has also been fixed.
|
|
|
|
| |
`Sh'/`Ss'. Reported by Jason McIntyre.
|
|
|
|
| |
ASCII symbols.
|
| |
|
| |
|
|
|
|
|
|
| |
will.
Also whack the dot-separator from the embedded man.7 manual.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
was completely unmaintainable. The new one is both readable and quite
similar to mandoc_special(), which in future versions will easily allow
throwing-away of unsupported escapes (such as \m). It's also a fair bit
smaller.
DECO_SIZE has been removed: this crap, like colours, will not be
supported.
mandoc_special() also has #if 0'd switch branches for ALL groff.7
escapes and some lint fixes.
|
|
|
|
| |
Noted by Theo de Raadt. Ok schwarze@.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
should not flag the end of a sentence if:
1) The punctuation is followed by closing delimiters
and not preceded by alphanumeric characters, like in
"There is no full stop (.) in this sentence"
or
2) The punctuation is a child of a macro
and not preceded by alphanumeric characters, like in
"There is no full stop
.Pq \&.
in this sentence"
"looks fine" to kristaps@; tested by jmc@ and sobrado@
|
| |
|
|
|
|
|
|
| |
several syntactic errors that weren't caught before.
Also un-puke chars.c on zero-length \[].
|
| |
|
|
|
|
|
| |
check, we can remove the hard-coded length of all escape patterns. This
frees up a nice chunk of memory.
|
|
|
|
| |
later formatted in html.c.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
and not with a delay, after the next token. But be careful not to cause
leading white space at the beginning of a line or column.
In OpenBSD, improves chmod(1), ksh(1), tar(1), ps(1) and probably many more.
ok kristaps@ and tested by jmc@ and sobrado@
|
| |
|
|
|
|
| |
ok kristaps@
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
roff_getstr() family of functions into roff.c with the "first_string"
directly in struct roff. Second, pre-process each line for reserved
words in libroff, splicing and re-running a line if it has one (this
allows defined symbols to be macros). Remove term.c's invocation of the
roff_getstrn() function. Removed function documentation in roff.3 and
added roff.7 `ds' documentation.
|
|
|
|
|
|
| |
newborn libmandoc.c.
While here, remove superfluous dep of libman on mandoc.c.
|
| |
|
| |
|
|
|
|
| |
to make sharing of TERMP_KEEP easier.
|
| |
|
|
|
|
| |
`Pa', `Pc', `Po', `Pq', `Pp', and `Va'.
|
|
|
|
|
|
|
| |
allow end-of-line to break. This fixes the bad behaviour found when
macros within `Bk' never break.
"Excellent" schwarze@
|