| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
completely obsolete, but still somewhat useful for listing preprocessor
directives, in particular in the SYNOPSIS.
|
|
|
|
|
| |
As noticed by Sascha Wildner (DragonFly), .Lb wants a "lib" prefix.
And mdoc(3) was merged into mandoc(3) long ago.
|
| |
|
|
|
|
|
|
| |
Part of the patch was sent in by Jan Stary <hans at stare dot cz>,
another part was added by jmc@, the rest was added by myself;
ok jmc@.
|
|
|
|
|
|
|
| |
consistently use the style ".An name Aq Mt email".
Triggered by a question from Jan Stary <hans at stare dot cz>,
ok jmc@.
|
|
|
|
|
|
|
| |
Tweak descriptions of the other POSIX 1003.1<letter> standards
Sort a few others into their proper places
Discussed with schwarze@ at t2k13
|
|
|
|
| |
- double word fix
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
of suppressing spacing before a third .Xr argument
because that quirk was removed in mdoc_macro.c rev. 1.72.
2) Mark the "section" argument to .Xr as (syntactically) optional,
but still do not encourage omitting it.
The missing .Op was reported by espie@.
Wording tweaked by and ok jmc@, ok millert@.
|
| |
|
|
|
|
|
|
|
| |
to roff(7) some time ago, i forgot to adjust the cross-references.
Reported by Tim van der Molen <tbvdm at xs4all dot nl>, thanks.
ok jmc@
|
|
|
|
|
| |
From Ulrich Spoerlein, tweaked by kristaps@.
Werner Lemberg added the same .St argument to groff today.
|
|
|
|
|
|
|
|
| |
- Volume and arch are both optional and not alternatives.
- Zap verbiage about what's obvious from the synopsis.
- For fixed argument strings, use .Cm, not .Ar.
- Update the list of architectures for OpenBSD.
Using lots of input from jmc@.
|
|
|
|
|
| |
unescaped on a macro line, so lets just escape it;
noticed by jmc@
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1) Move the LANGUAGE SYNTAX from mdoc(7) and man(7) to roff(7),
it's common to both and it's actually roff syntax.
2) Move the MACRO SYNTAX down to the bottom, such that the less
technical parts MANUAL STRUCTURE and MACRO OVERVIEW get to the top.
Getting everything to again fit together after the reshuffling
required various adjustments; also adjust and improve
the DESCRIPTIONS while there.
feedback and "go ahead" jmc@ kristaps@
|
|
|
|
|
|
| |
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@.
|
|
|
|
|
|
|
|
| |
main new feature: support the roff(7) .tr request
plus various bugfixes and some refactoring
regressions are so minor that it's better to get this in
and fix them in the tree
|
|
|
|
|
|
|
| |
document eqn(7) and many other improvements
from kristaps@
no objection from deraadt@ against adding an eqn.7 page
|
|
|
|
|
|
|
| |
each with a one-line discription. Use this when wondering
which macro fits best for your particular use case, and whether
there are alternatives.
feedback ond ok jmc@
|
|
|
|
|
|
|
|
|
|
| |
a revision number for ISO 8601; in addition, the revision number makes
the text unwieldy when discussing the standard in a casual manner.
therefore change the macro from -8601-4 to simply -8601, which will output
"ISO 8601". i'll get kristaps or ingo to make the change upstream to mandoc.
discussed with/ok millert
|
|
|
|
| |
ok kristaps (who will update the mandoc repo)
|
|
|
|
|
|
|
|
|
| |
.Bl -column header1 header2 ... <Bl flags>
mixing things up confuses mandoc, and adding flags in can screw up the list.
this hopefully just makes things a bit safer (and more consistent).
(one more bit of work left and all column lists should format how we want)
|
|
|
|
| |
will update mandoc repo
|
|
|
|
| |
ok kristaps@
|
|
|
|
|
|
|
| |
filling gaps found by checking the MANUAL DOMAIN chapter in mdoc.samples(7).
While here, fix lots of minor issues.
feedback and ok jmc@;
tree is locked, but ok to commit this one from deraadt@
|
|
|
|
|
|
|
|
| |
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@
|
|
|
|
|
|
|
|
|
|
|
| |
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@
|
| |
|
|
|
|
| |
This will soon be needed for the HISTORY of string(3).
|
|
|
|
| |
using feedback from kristaps@, ok jmc@
|
| |
|
| |
|
|
|
|
|
| |
jmc@ agrees that it's easiest to first commit it,
then tweak it in the tree
|
|
|
|
| |
ingo will sync upstream
|
|
|
|
| |
ok schwarze
|
|
|
|
|
|
| |
for the case of multiple sibling macros on a single input line.
Issue found investigating a question from sobrado@.
"I like this diff" kristaps@
|
|
|
|
|
|
|
|
|
|
|
|
| |
as a first step to get rid of the frequent petty warnings in this area:
- always store dates as strings, not as seconds since the Epoch
- for input, try the three most common formats everywhere
- for unrecognized format, just pass the date though verbatim
- when there is no date at all, still use the current date
Originally triggered by a one-line patch from Tim van der Molen,
<tbvdm at xs4all dot nl>, which is included here.
Feedback and OK on manual parts from jmc@.
"please check this in" kristaps@
|
|
|
|
|
|
|
| |
longer suppress spacing when used at the beginning of an input line,
and mandoc now follows the same behaviour as new groff.
Thus, sweep the tree and remove useless .Ns.
Most places found by jmc@; ok jmc@ kristaps@.
|
|
|
|
| |
from kristaps@.
|
|
|
|
|
|
| |
on a UNIX system use UNIX conventions, and UNIX tools working
on them expect that.
ok jmc@
|
|
|
|
| |
Check prompted by kristaps@.
|
|
|
|
|
| |
then it will start a new output line;
from kristaps@.
|
|
|
|
| |
written by kristaps@, looked over by jmc@.
|
|
|
|
|
| |
* one additional pair of .Sx cross references
* prefer .Dl over .D1 for code examples
|
|
|
|
|
|
|
| |
- improve .Bl wording (from jmc@)
- document .Pa default (from kristaps@)
- fix formatting of one COMPATIBILITY note: move "and" out of .Sx
ok jmc@, kristaps@
|
|
|
|
| |
jmc@ calls this change "sufficient"
|
|
|
|
|
|
| |
Be more specific about what "historic groff" refers to.
Explicitely mention the nine argument limit below COMPATIBILITY.
feedback and ok jmc@
|
|
|
|
|
|
| |
Otherwise, hyperlinks can't be produced and people will likely
miss the additional information available.
Requested by deraadt@.
|
|
|
|
| |
Prodded by guenther@, ok jmc@.
|