| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
to convert mdoc(7) documents to the man(7) language.
This is work in progress and will be developed in tree.
It does already handle the cat(1) manual,
but will hardly handle all your fancy manuals yet.
go ahead kristaps@ jmc@ millert@ deraadt@
|
|
|
|
| |
found while merging to OpenBSD
|
| |
|
|
|
|
| |
portable, so document it in COMPATIBILITY.
|
| |
|
| |
|
|
|
|
|
| |
backend (the front-end already accomodated for this). Found indirectly
from a question by Brad Smith.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
well as leading punctuation. Again, this isn't the same as deroff
(which uses, I think, some punctuation as delimiters), but it's easier
to explain and simpler to audit.
|
|
|
|
|
|
| |
any other deroff manual, and as I don't think anybody actually uses
deroff, I don't feel compelled to research its behaviour too much and
can just do what's logical.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
patch by Jason McIntyre.
|
|
|
|
| |
Directly from a patch by Jason McIntyre.
|
|
|
|
| |
doing manpages.bsd.lv stuff.
|
|
|
|
| |
Klausner.
|
|
|
|
| |
out the \*q escapes. Also fix some spelling typos in both manuals.
|
| |
|
|
|
|
|
|
|
| |
note literal text in "Examples:" parts. Finally, move parts of
Quotation related to keeping whitespace into Whitespace and clean up the
text to be a bit clearer. Examples can be added back in at will, but
now it follows the general layout of explanation followed by examples.
|
|
|
|
|
|
|
|
|
| |
margin. This is dubious: the HTML4 spec specifically says that
BLOCKQUOTE shouldn't be abused for indentation, which is exactly what we
do. However, `D1' needs indentation and it's the only way to force text
browsers to do so. Alternatives?
Also remove the unused HALFINDENT defines while here.
|
| |
|
|
|
|
|
| |
`Li' prints as a CODE tag and the style-sheet has the `lit' class apply
to multiple tag types.
|
| |
|
| |
|
|
|
|
|
| |
While here, fix the scaling widths example that incorrectly used `br'
(it now correctly uses `sp').
|
|
|
|
|
|
|
|
| |
- make examples trail each section
- make explanations more concise
- remove references to troff
ok Jason McIntyre.
|
| |
|
|
|
|
|
|
| |
but avoiding use of .Nm, because letting .Nm call other macros
is unusual style, and we don't want unusual style in examples.
Issue brought up by kristaps@.
|
|
|
|
| |
ok kristaps@
|
|
|
|
| |
and more expressive.
|
| |
|
| |
|
|
|
|
|
| |
recognised. It's easier to make these u_int than to jump through hoops
for a special formatter.
|
| |
|
| |
|
|
|
|
|
|
| |
Originally pointed out by joerg@ then again by Thomas Klausner by way of
Nicolas Joy. Note: don't use these constructions as you can't link to
the sections with `Sx'.
|
|
|
|
|
|
| |
filling gaps found by checking the MANUAL DOMAIN chapter in mdoc.samples(7).
While here, fix lots of minor issues.
feedback and ok jmc@
|
|
|
|
|
|
|
|
|
|
| |
to "delimiters", and explain which special handling they get
as macro arguments. Move the text to a better place and remove
a few lies. Postpone figuring out the lists of macros causing
that special handling, it would cost too much time right now.
feedback and ok jmc@
This also brings the file back in sync with OpenBSD.
|
|
|
|
|
|
|
|
|
|
|
| |
explained in mdoc.samples(7) is missing from mdoc(7):
* Discourage trailing whitespace.
* Move all information about quoted arguments to the relevant
subsection, shortening it a bit, and adding an example.
* Mention that blanks can be quoted with a backslash.
* A better .Nd line in the template (verbatim from mdoc.samples(7)).
* Explain how to escape callable macro names, and provide examples.
ok jmc@
|
|
|
|
|
|
| |
* ellipsis is an argument to .Ar, not part of the preceding argument
* libz, libpam, on, off are not placeholders for arguments
* .Rv is not only relevant for system calls, see atexit(3), sem_init(3)
|
| |
|
|
|
|
|
|
| |
way as in groff. With this fix, \*(If, \*(Pi and \*(Tm change in
other output modes, but -Tascii is what matters.
Found when merging 1.11.3 to OpenBSD; ok kristaps@.
|
|
|
|
|
|
|
| |
* Do not pass integers outside the ASCII range to isprint().
* Make sure escaped characters are really printed verbatim
when the escape sequence has no special meaning.
ok kristaps@
|
|
|
|
| |
suggested by joerg@.
|