| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
`Bd -literal' and `Bd -unfilled' unbreakage.
|
|
|
|
|
| |
displays to work as old groff shows them; however, new groff still does
some fancy shit.
|
| |
|
|
|
|
| |
-T[x]html and -T{pdf,ps,ascii}. Reported by Jason McIntyre.
|
|
|
|
|
| |
pre-allocate the output buffer for words and in-line the buffera()
function, which was only called in one place anyway.
|
|
|
|
|
|
| |
the overhead of running strlen() for ASCII strings (yes, I benchmarked
this running mandoc_char(7) as input again and again with
hundredth-second penalties... on my slow-ass alpha).
|
|
|
|
| |
started by Sascha Wildner, 07/25/2010 06:30 AM.
|
|
|
|
|
|
| |
nit noted by Jason McIntyre.
"your diff looks ok" (Jason McIntyre)
|
|
|
|
| |
-T[x]html.
|
| |
|
|
|
|
| |
"urgle": Jason McIntyre. "This is all ok" schwarze@.
|
| |
|
|
|
|
| |
single and multiple-manual mode (e.g., mandoc -Tpdf foo.1 bar.1).
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
It's currently missing the xref table, so you'll get a warning in most
PDF viewers). It also produces lots of redundant output, which will go
away once I get a better handle on the PDF spec. The code doesn't
really touch any existing functionality; it's a bunch of conditionals
atop the -Tps (term_ps.c) implementation. I'm checking it in now to
have it exist and be auditable. It needs clean-up, polish, and general
care (and xref!).
|
| |
|
|
|
|
|
|
|
|
| |
new struct pass down in the call-tree (as also in man_term.c).
Also add a line-break for `in', which isn't otherwise supported (yet).
Now -Thtml -man cvs.1 for GNU's cvs.1 isn't as ugly.
|
| |
|
| |
|
|
|
|
| |
-Thtml (I'm surprised to note that neither is LITERAL mode).
|
|
|
|
| |
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@.
|