1 .\" $Id: mdoc.7,v 1.190 2011/07/15 20:40:32 schwarze Exp $
3 .\" Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
4 .\" Copyright (c) 2010 Ingo Schwarze <schwarze@openbsd.org>
6 .\" Permission to use, copy, modify, and distribute this software for any
7 .\" purpose with or without fee is hereby granted, provided that the above
8 .\" copyright notice and this permission notice appear in all copies.
10 .\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
11 .\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
12 .\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
13 .\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
14 .\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
15 .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
16 .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
18 .Dd $Mdocdate: July 15 2011 $
23 .Nd mdoc language reference
27 language is used to format
31 This reference document describes its syntax, structure, and
33 The reference implementation is
37 section describes compatibility with other troff \-mdoc implementations.
41 document follows simple rules: lines beginning with the control
44 are parsed for macros.
45 Text lines, those not beginning with the control character, are
46 interpreted within the scope of prior macros:
47 .Bd -literal -offset indent
48 \&.Sh Macro lines change control state.
49 Text lines are interpreted within the current state.
53 documents may contain only graphable 7-bit ASCII characters, the space
54 character, and, in certain circumstances, the tab character.
56 If the first character of a text line is a space, that line is printed
57 with a leading newline.
61 whether in a macro or text line, is ignored to the end of
63 A macro line with only a control character and comment escape,
66 Macro lines with only a control character and optional whitespace are
69 Within a macro line, the following terms are reserved:
71 .Bl -tag -width Ds -offset indent -compact
97 .Pq reserved-word vertical bar
100 For general use in macro lines, these can be escaped with a non-breaking
103 In text lines, these may be used as normal punctuation.
104 .Ss Special Characters
105 Special characters may occur in both macro and text lines.
106 Sequences begin with the escape character
108 followed by either an open-parenthesis
110 for two-character sequences; an open-bracket
112 for n-character sequences (terminated at a close-bracket
114 or a single one character sequence.
125 Terms may be text-decorated using the
127 escape followed by an indicator: B (bold), I (italic), R (Roman), or P
128 (revert to previous mode):
130 .Dl \efBbold\efR \efIitalic\efP
132 A numerical representation 3, 2, or 1 (bold, italic, and Roman,
133 respectively) may be used instead.
134 If a macro opens a font scope after calling
140 mode will be restored upon exiting the
148 which encourages semantic annotation.
149 .Ss Predefined Strings
152 also defined a set of package-specific
153 .Dq predefined strings ,
155 .Sx Special Characters ,
156 mark special output characters and strings by way of input codes.
157 Predefined strings are escaped with the slash-asterisk,
175 Whitespace consists of the space character.
176 In text lines, whitespace is preserved within a line; unescaped
177 trailing spaces are stripped from input (unless in a literal context).
178 Blank text lines, which may include whitespace, are only permitted
179 within literal contexts.
181 In macro lines, whitespace delimits arguments and is discarded.
182 If arguments are quoted, whitespace within the quotes is retained.
184 Macro arguments may be quoted with double-quotes to group
185 space-delimited terms or to retain blocks of whitespace.
186 A quoted argument begins with a double-quote preceded by whitespace.
187 The next double-quote not pairwise adjacent to another double-quote
188 terminates the literal, regardless of surrounding whitespace.
190 Note that any quoted text, even if it would cause a macro invocation
191 when unquoted, is considered literal text.
192 Thus, the following produces
194 .Bd -literal -offset indent
198 In text lines, quotes are regarded as opaque text.
200 Many macros support scaled widths for their arguments, such as
201 stipulating a two-inch list indentation with the following:
202 .Bd -literal -offset indent
206 The syntax for scaled widths is
207 .Sq Li [+-]?[0-9]*.[0-9]*[:unit:] ,
208 where a decimal must be preceded or proceeded by at least one digit.
209 Negative numbers, while accepted, are truncated to zero.
210 The following scaling units are accepted:
212 .Bl -tag -width Ds -offset indent -compact
225 default vertical span
237 default horizontal span
242 Using anything other than
248 is necessarily non-portable across output media.
252 When composing a manual, make sure that sentences end at the end of
254 By doing so, front-ends will be able to apply the proper amount of
255 spacing after the end of sentence (unescaped) period, exclamation mark,
256 or question mark followed by zero or more non-sentence closing
265 The proper spacing is also intelligently preserved if a sentence ends at
266 the boundary of a macro line.
269 .Dl \&.Xr mandoc 1 \&.
270 .Dl \&.Fl T \&Ns \&Cm ascii \&.
274 document consists of a document prologue followed by one or more
277 The prologue, which consists of the
282 macros in that order, is required for every document.
284 The first section (sections are denoted by
286 must be the NAME section, consisting of at least one
291 Following that, convention dictates specifying at least the
295 sections, although this varies between manual sections.
297 The following is a well-formed skeleton
301 .Bd -literal -offset indent
303 \&.Dt PROGNAME section
307 \&.Nd a description goes here
309 \&.\e\*q For sections 2, 3, & 9 only.
310 \&.\e\*q Not used in OpenBSD.
318 utility processes files ...
319 \&.\e\*q .Sh IMPLEMENTATION NOTES
320 \&.\e\*q Not used in OpenBSD.
321 \&.\e\*q .Sh RETURN VALUES
322 \&.\e\*q For sections 2, 3, & 9 only.
323 \&.\e\*q .Sh ENVIRONMENT
324 \&.\e\*q For sections 1, 6, 7, & 8 only.
326 \&.\e\*q .Sh EXIT STATUS
327 \&.\e\*q For sections 1, 6, & 8 only.
328 \&.\e\*q .Sh EXAMPLES
329 \&.\e\*q .Sh DIAGNOSTICS
330 \&.\e\*q For sections 1, 4, 6, 7, & 8 only.
332 \&.\e\*q For sections 2, 3, & 9 only.
333 \&.\e\*q .Sh SEE ALSO
334 \&.\e\*q .Xr foobar 1
335 \&.\e\*q .Sh STANDARDS
340 \&.\e\*q .Sh SECURITY CONSIDERATIONS
341 \&.\e\*q Not used in OpenBSD.
346 document are conventionally ordered as they appear above.
347 Sections should be composed as follows:
348 .Bl -ohang -offset Ds
350 The name(s) and a one line description of the documented material.
351 The syntax for this as follows:
352 .Bd -literal -offset indent
356 \&.Nd a one line description
361 names should be separated by commas.
365 macro(s) must precede the
374 The name of the library containing the documented material, which is
375 assumed to be a function in a section 2, 3, or 9 manual.
376 The syntax for this is as follows:
377 .Bd -literal -offset indent
384 Documents the utility invocation syntax, function call syntax, or device
387 For the first, utilities (sections 1, 6, and 8), this is
388 generally structured as follows:
389 .Bd -literal -offset indent
400 Commands should be ordered alphabetically.
402 For the second, function calls (sections 2, 3, 9):
403 .Bd -literal -offset indent
405 \&.Vt extern const char *global;
407 \&.Fn foo "const char *src"
409 \&.Fn bar "const char *src"
418 macros should follow C header-file conventions.
420 And for the third, configurations (section 4):
421 .Bd -literal -offset indent
422 \&.Cd \*qit* at isa? port 0x2e\*q
423 \&.Cd \*qit* at isa? port 0x4e\*q
426 Manuals not in these sections generally don't need a
429 Some macros are displayed differently in the
431 section, particularly
441 All of these macros are output on their own line.
442 If two such dissimilar macros are pairwise invoked (except for
448 they are separated by a vertical space, unless in the case of
453 which are always separated by vertical space.
455 When text and macros following an
457 macro starting an input line span multiple output lines,
458 all output lines but the first will be indented to align
459 with the text immediately following the
461 macro, up to the next
466 macro or the end of an enclosing block, whichever comes first.
468 This begins with an expansion of the brief, one line description in
470 .Bd -literal -offset indent
473 utility does this, that, and the other.
476 It usually follows with a breakdown of the options (if documenting a
478 .Bd -literal -offset indent
479 The arguments are as follows:
480 \&.Bl \-tag \-width Ds
482 Print verbose information.
486 Manuals not documenting a command won't include the above fragment.
487 .It Em IMPLEMENTATION NOTES
488 Implementation-specific notes should be kept here.
489 This is useful when implementing standard functions that may have side
490 effects or notable algorithmic implications.
492 This section documents the
493 return values of functions in sections 2, 3, and 9.
498 Lists the environment variables used by the utility,
499 and explains the syntax and semantics of their values.
502 manual provides examples of typical content and formatting.
507 Documents files used.
508 It's helpful to document both the file name and a short description of how
509 the file is used (created, modified, etc.).
514 This section documents the
515 command exit status for section 1, 6, and 8 utilities.
516 Historically, this information was described in
518 a practise that is now discouraged.
524 This often contains snippets of well-formed, well-tested invocations.
525 Make sure that examples work properly!
527 Documents error conditions.
528 This is most useful in section 4 manuals.
529 Historically, this section was used in place of
531 for manuals in sections 1, 6, and 8; however, this practise is
538 Documents error handling in sections 2, 3, and 9.
543 References other manuals with related topics.
544 This section should exist for most manuals.
545 Cross-references should conventionally be ordered first by section, then
551 References any standards implemented or used.
552 If not adhering to any standards, the
554 section should be used instead.
559 A brief history of the subject, including where support first appeared.
561 Credits to the person or persons who wrote the code and/or documentation.
562 Authors should generally be noted by both name and email address.
567 Common misuses and misunderstandings should be explained
570 Known bugs, limitations, and work-arounds should be described
572 .It Em SECURITY CONSIDERATIONS
573 Documents any security precautions that operators should consider.
576 Macros are one to three three characters in length and begin with a
579 at the beginning of the line.
580 An arbitrary amount of whitespace may sit between the control character
582 Thus, the following are equivalent:
583 .Bd -literal -offset indent
588 The syntax of a macro depends on its classification.
591 refers to macro arguments, which may be followed by zero or more
595 opens the scope of a macro; and if specified,
601 column indicates that the macro may also be called by passing its name
602 as an argument to another macro.
603 If a macro is not callable but its name appears as an argument
604 to another macro, it is interpreted as opaque text.
612 column indicates whether the macro may call other macros by receiving
613 their names as arguments.
614 If a macro is not parsed but the name of another macro appears
615 as an argument, it is interpreted as opaque text.
619 column, if applicable, describes closure rules.
620 .Ss Block full-explicit
621 Multi-line scope closed by an explicit closing macro.
622 All macros contains bodies; only
628 .Bd -literal -offset indent
629 \&.Yo \(lB\-arg \(lBparm...\(rB\(rB \(lBhead...\(rB
634 .Bl -column -compact -offset indent "MacroX" "CallableX" "ParsedX" "closed by XXX"
635 .It Em Macro Ta Em Callable Ta Em Parsed Ta Em Scope
636 .It Sx \&Bd Ta \&No Ta \&No Ta closed by Sx \&Ed
637 .It Sx \&Bf Ta \&No Ta \&No Ta closed by Sx \&Ef
638 .It Sx \&Bk Ta \&No Ta \&No Ta closed by Sx \&Ek
639 .It Sx \&Bl Ta \&No Ta \&No Ta closed by Sx \&El
640 .It Sx \&Ed Ta \&No Ta \&No Ta opened by Sx \&Bd
641 .It Sx \&Ef Ta \&No Ta \&No Ta opened by Sx \&Bf
642 .It Sx \&Ek Ta \&No Ta \&No Ta opened by Sx \&Bk
643 .It Sx \&El Ta \&No Ta \&No Ta opened by Sx \&Bl
645 .Ss Block full-implicit
646 Multi-line scope closed by end-of-file or implicitly by another macro.
647 All macros have bodies; some
655 don't have heads; only one
662 .Bd -literal -offset indent
663 \&.Yo \(lB\-arg \(lBparm...\(rB\(rB \(lBhead... \(lBTa head...\(rB\(rB
667 .Bl -column -compact -offset indent "MacroX" "CallableX" "ParsedX" "closed by XXXXXXXXXXX"
668 .It Em Macro Ta Em Callable Ta Em Parsed Ta Em Scope
669 .It Sx \&It Ta \&No Ta Yes Ta closed by Sx \&It , Sx \&El
670 .It Sx \&Nd Ta \&No Ta \&No Ta closed by Sx \&Sh
671 .It Sx \&Nm Ta \&No Ta Yes Ta closed by Sx \&Nm , Sx \&Sh , Sx \&Ss
672 .It Sx \&Sh Ta \&No Ta \&No Ta closed by Sx \&Sh
673 .It Sx \&Ss Ta \&No Ta \&No Ta closed by Sx \&Sh , Sx \&Ss
679 .Sx Block full-implicit
680 macro only when invoked as the first macro
683 section line, else it is
685 .Ss Block partial-explicit
686 Like block full-explicit, but also with single-line scope.
687 Each has at least a body and, in limited circumstances, a head
694 .Bd -literal -offset indent
695 \&.Yo \(lB\-arg \(lBparm...\(rB\(rB \(lBhead...\(rB
697 \&.Yc \(lBtail...\(rB
699 \&.Yo \(lB\-arg \(lBparm...\(rB\(rB \(lBhead...\(rB \
700 \(lBbody...\(rB \&Yc \(lBtail...\(rB
703 .Bl -column "MacroX" "CallableX" "ParsedX" "closed by XXXX" -compact -offset indent
704 .It Em Macro Ta Em Callable Ta Em Parsed Ta Em Scope
705 .It Sx \&Ac Ta Yes Ta Yes Ta opened by Sx \&Ao
706 .It Sx \&Ao Ta Yes Ta Yes Ta closed by Sx \&Ac
707 .It Sx \&Bc Ta Yes Ta Yes Ta closed by Sx \&Bo
708 .It Sx \&Bo Ta Yes Ta Yes Ta opened by Sx \&Bc
709 .It Sx \&Brc Ta Yes Ta Yes Ta opened by Sx \&Bro
710 .It Sx \&Bro Ta Yes Ta Yes Ta closed by Sx \&Brc
711 .It Sx \&Dc Ta Yes Ta Yes Ta opened by Sx \&Do
712 .It Sx \&Do Ta Yes Ta Yes Ta closed by Sx \&Dc
713 .It Sx \&Ec Ta Yes Ta Yes Ta opened by Sx \&Eo
714 .It Sx \&Eo Ta Yes Ta Yes Ta closed by Sx \&Ec
715 .It Sx \&Fc Ta Yes Ta Yes Ta opened by Sx \&Fo
716 .It Sx \&Fo Ta \&No Ta \&No Ta closed by Sx \&Fc
717 .It Sx \&Oc Ta Yes Ta Yes Ta closed by Sx \&Oo
718 .It Sx \&Oo Ta Yes Ta Yes Ta opened by Sx \&Oc
719 .It Sx \&Pc Ta Yes Ta Yes Ta closed by Sx \&Po
720 .It Sx \&Po Ta Yes Ta Yes Ta opened by Sx \&Pc
721 .It Sx \&Qc Ta Yes Ta Yes Ta opened by Sx \&Oo
722 .It Sx \&Qo Ta Yes Ta Yes Ta closed by Sx \&Oc
723 .It Sx \&Re Ta \&No Ta \&No Ta opened by Sx \&Rs
724 .It Sx \&Rs Ta \&No Ta \&No Ta closed by Sx \&Re
725 .It Sx \&Sc Ta Yes Ta Yes Ta opened by Sx \&So
726 .It Sx \&So Ta Yes Ta Yes Ta closed by Sx \&Sc
727 .It Sx \&Xc Ta Yes Ta Yes Ta opened by Sx \&Xo
728 .It Sx \&Xo Ta Yes Ta Yes Ta closed by Sx \&Xc
730 .Ss Block partial-implicit
731 Like block full-implicit, but with single-line scope closed by
734 .Bd -literal -offset indent
735 \&.Yo \(lB\-arg \(lBval...\(rB\(rB \(lBbody...\(rB \(lBres...\(rB
738 .Bl -column "MacroX" "CallableX" "ParsedX" -compact -offset indent
739 .It Em Macro Ta Em Callable Ta Em Parsed
740 .It Sx \&Aq Ta Yes Ta Yes
741 .It Sx \&Bq Ta Yes Ta Yes
742 .It Sx \&Brq Ta Yes Ta Yes
743 .It Sx \&D1 Ta \&No Ta \&Yes
744 .It Sx \&Dl Ta \&No Ta Yes
745 .It Sx \&Dq Ta Yes Ta Yes
746 .It Sx \&Op Ta Yes Ta Yes
747 .It Sx \&Pq Ta Yes Ta Yes
748 .It Sx \&Ql Ta Yes Ta Yes
749 .It Sx \&Qq Ta Yes Ta Yes
750 .It Sx \&Sq Ta Yes Ta Yes
751 .It Sx \&Vt Ta Yes Ta Yes
757 .Sx Block partial-implicit
758 only when invoked as the first macro
761 section line, else it is
763 .Ss Special block macro
766 macro can only be used below
771 It delimits blocks representing table cells;
772 these blocks have bodies, but no heads.
774 .Bl -column "MacroX" "CallableX" "ParsedX" "closed by XXXX" -compact -offset indent
775 .It Em Macro Ta Em Callable Ta Em Parsed Ta Em Scope
776 .It Sx \&Ta Ta Yes Ta Yes Ta closed by Sx \&Ta , Sx \&It
781 end of line, fixed argument lengths, and/or subsequent macros.
782 In-line macros have only text children.
783 If a number (or inequality) of arguments is
785 then the macro accepts an arbitrary number of arguments.
786 .Bd -literal -offset indent
787 \&.Yo \(lB\-arg \(lBval...\(rB\(rB \(lBargs...\(rB \(lBres...\(rB
789 \&.Yo \(lB\-arg \(lBval...\(rB\(rB \(lBargs...\(rB Yc...
791 \&.Yo \(lB\-arg \(lBval...\(rB\(rB arg0 arg1 argN
794 .Bl -column "MacroX" "CallableX" "ParsedX" "Arguments" -compact -offset indent
795 .It Em Macro Ta Em Callable Ta Em Parsed Ta Em Arguments
796 .It Sx \&%A Ta \&No Ta \&No Ta >0
797 .It Sx \&%B Ta \&No Ta \&No Ta >0
798 .It Sx \&%C Ta \&No Ta \&No Ta >0
799 .It Sx \&%D Ta \&No Ta \&No Ta >0
800 .It Sx \&%I Ta \&No Ta \&No Ta >0
801 .It Sx \&%J Ta \&No Ta \&No Ta >0
802 .It Sx \&%N Ta \&No Ta \&No Ta >0
803 .It Sx \&%O Ta \&No Ta \&No Ta >0
804 .It Sx \&%P Ta \&No Ta \&No Ta >0
805 .It Sx \&%Q Ta \&No Ta \&No Ta >0
806 .It Sx \&%R Ta \&No Ta \&No Ta >0
807 .It Sx \&%T Ta \&No Ta \&No Ta >0
808 .It Sx \&%U Ta \&No Ta \&No Ta >0
809 .It Sx \&%V Ta \&No Ta \&No Ta >0
810 .It Sx \&Ad Ta Yes Ta Yes Ta >0
811 .It Sx \&An Ta Yes Ta Yes Ta >0
812 .It Sx \&Ap Ta Yes Ta Yes Ta 0
813 .It Sx \&Ar Ta Yes Ta Yes Ta n
814 .It Sx \&At Ta Yes Ta Yes Ta 1
815 .It Sx \&Bsx Ta Yes Ta Yes Ta n
816 .It Sx \&Bt Ta \&No Ta \&No Ta 0
817 .It Sx \&Bx Ta Yes Ta Yes Ta n
818 .It Sx \&Cd Ta Yes Ta Yes Ta >0
819 .It Sx \&Cm Ta Yes Ta Yes Ta >0
820 .It Sx \&Db Ta \&No Ta \&No Ta 1
821 .It Sx \&Dd Ta \&No Ta \&No Ta n
822 .It Sx \&Dt Ta \&No Ta \&No Ta n
823 .It Sx \&Dv Ta Yes Ta Yes Ta >0
824 .It Sx \&Dx Ta Yes Ta Yes Ta n
825 .It Sx \&Em Ta Yes Ta Yes Ta >0
826 .It Sx \&En Ta \&No Ta \&No Ta 0
827 .It Sx \&Er Ta Yes Ta Yes Ta >0
828 .It Sx \&Es Ta \&No Ta \&No Ta 0
829 .It Sx \&Ev Ta Yes Ta Yes Ta >0
830 .It Sx \&Ex Ta \&No Ta \&No Ta n
831 .It Sx \&Fa Ta Yes Ta Yes Ta >0
832 .It Sx \&Fd Ta \&No Ta \&No Ta >0
833 .It Sx \&Fl Ta Yes Ta Yes Ta n
834 .It Sx \&Fn Ta Yes Ta Yes Ta >0
835 .It Sx \&Fr Ta \&No Ta \&No Ta n
836 .It Sx \&Ft Ta Yes Ta Yes Ta >0
837 .It Sx \&Fx Ta Yes Ta Yes Ta n
838 .It Sx \&Hf Ta \&No Ta \&No Ta n
839 .It Sx \&Ic Ta Yes Ta Yes Ta >0
840 .It Sx \&In Ta \&No Ta \&No Ta 1
841 .It Sx \&Lb Ta \&No Ta \&No Ta 1
842 .It Sx \&Li Ta Yes Ta Yes Ta >0
843 .It Sx \&Lk Ta Yes Ta Yes Ta >0
844 .It Sx \&Lp Ta \&No Ta \&No Ta 0
845 .It Sx \&Ms Ta Yes Ta Yes Ta >0
846 .It Sx \&Mt Ta Yes Ta Yes Ta >0
847 .It Sx \&Nm Ta Yes Ta Yes Ta n
848 .It Sx \&No Ta Yes Ta Yes Ta 0
849 .It Sx \&Ns Ta Yes Ta Yes Ta 0
850 .It Sx \&Nx Ta Yes Ta Yes Ta n
851 .It Sx \&Os Ta \&No Ta \&No Ta n
852 .It Sx \&Ot Ta \&No Ta \&No Ta n
853 .It Sx \&Ox Ta Yes Ta Yes Ta n
854 .It Sx \&Pa Ta Yes Ta Yes Ta n
855 .It Sx \&Pf Ta Yes Ta Yes Ta 1
856 .It Sx \&Pp Ta \&No Ta \&No Ta 0
857 .It Sx \&Rv Ta \&No Ta \&No Ta n
858 .It Sx \&Sm Ta \&No Ta \&No Ta 1
859 .It Sx \&St Ta \&No Ta Yes Ta 1
860 .It Sx \&Sx Ta Yes Ta Yes Ta >0
861 .It Sx \&Sy Ta Yes Ta Yes Ta >0
862 .It Sx \&Tn Ta Yes Ta Yes Ta >0
863 .It Sx \&Ud Ta \&No Ta \&No Ta 0
864 .It Sx \&Ux Ta Yes Ta Yes Ta n
865 .It Sx \&Va Ta Yes Ta Yes Ta n
866 .It Sx \&Vt Ta Yes Ta Yes Ta >0
867 .It Sx \&Xr Ta Yes Ta Yes Ta >0
868 .It Sx \&br Ta \&No Ta \&No Ta 0
869 .It Sx \&sp Ta \&No Ta \&No Ta 1
872 This section is a canonical reference of all macros, arranged
874 For the scoping of individual macros, see
880 Multiple authors should each be accorded their own
883 Author names should be ordered with full or abbreviated forename(s)
884 first, then full surname.
889 This macro may also be used in a non-bibliographic context when
890 referring to book titles.
892 Publication city or location of an
896 Publication date of an
899 Recommended formats of arguments are
904 Publisher or issuer name of an
912 Issue number (usually for journals) of an
916 Optional information of an
920 Book or journal page number of an
924 Institutional author (school, government, etc.) of an
927 Multiple institutional authors should each be accorded their own
931 Technical report name of an
938 This macro may also be used in a non-bibliographical context when
939 referring to article titles.
941 URI of reference document.
950 Does not have any tail arguments.
953 Do not use this for postal addresses.
960 Requires either the name of an author or one of the following arguments:
962 .Bl -tag -width "-nosplitX" -offset indent -compact
964 Start a new output line before each subsequent invocation of
973 The effect of selecting either of the
975 modes ends at the beginning of the
980 section, the default is
982 for the first author listing and
984 for all other author listings.
988 .Dl \&.An Kristaps Dzonsons \&Aq kristaps@bsd.lv
990 Begin a block enclosed by angle brackets.
991 Does not have any head arguments.
994 .Dl \&.Fl -key= \&Ns \&Ao \&Ar val \&Ac
999 Inserts an apostrophe without any surrounding whitespace.
1000 This is generally used as a grammatical device when referring to the verb
1004 .Dl \&.Fn execve \&Ap d
1006 Encloses its arguments in angle brackets.
1009 .Dl \&.Fl -key= \&Ns \&Aq \&Ar val
1012 this macro is often abused for rendering URIs, which should instead use
1016 or to note pre-processor
1018 statements, which should use
1025 If an argument is not provided, the string
1027 is used as a default.
1030 .Dl \&.Fl o \&Ns \&Ar file1
1032 .Dl \&.Ar arg1 , arg2 .
1034 Formats an AT&T version.
1035 Accepts one optional argument:
1037 .Bl -tag -width "v[1-7] | 32vX" -offset indent -compact
1046 Note that these arguments do not begin with a hyphen.
1065 Does not have any tail arguments.
1067 Begin a display block.
1068 Its syntax is as follows:
1069 .Bd -ragged -offset indent
1072 .Op Fl offset Ar width
1076 Display blocks are used to select a different indentation and
1077 justification than the one used by the surrounding text.
1078 They may contain both macro lines and text lines.
1079 By default, a display block is preceded by a vertical space.
1083 must be one of the following:
1084 .Bl -tag -width 13n -offset indent
1086 Centre-justify each line.
1087 Using this display type is not recommended; many
1089 implementations render it poorly.
1091 Left- and right-justify the block.
1093 Do not justify the block at all.
1094 Preserve white space as it appears in the input.
1096 Only left-justify the block.
1104 must be provided first.
1105 Additional arguments may follow:
1106 .Bl -tag -width 13n -offset indent
1107 .It Fl offset Ar width
1108 Indent the display by the
1110 which may be one of the following:
1113 One of the pre-defined strings
1115 the width of standard indentation;
1120 which has no effect;
1122 which justifies to the right margin; or
1124 which aligns around an imagined centre axis.
1126 A macro invocation, which selects a predefined width
1127 associated with that macro.
1128 The most popular is the imaginary macro
1133 A width using the syntax described in
1134 .Sx Scaling Widths .
1136 An arbitrary string, which indents by the length of this string.
1139 When the argument is missing,
1143 Do not assert vertical space before the display.
1147 .Bd -literal -offset indent
1148 \&.Bd \-literal \-offset indent \-compact
1158 Change the font mode for a scoped block of text.
1159 Its syntax is as follows:
1160 .Bd -ragged -offset indent
1163 .Fl emphasis | literal | symbolic |
1164 .Cm \&Em | \&Li | \&Sy
1172 argument are equivalent, as are
1180 Without an argument, this macro does nothing.
1181 The font mode continues until broken by a new font mode in a nested
1193 For each macro, keep its output together on the same output line,
1194 until the end of the macro or the end of the input line is reached,
1195 whichever comes first.
1196 Line breaks in text lines are unaffected.
1197 The syntax is as follows:
1199 .D1 Pf \. Sx \&Bk Fl words
1203 argument is required; additional arguments are ignored.
1205 The following example will not break within each
1208 .Bd -literal -offset indent
1211 \&.Op Fl o Ar output
1215 Be careful in using over-long lines within a keep block!
1216 Doing so will clobber the right margin.
1219 Lists consist of items specified using the
1221 macro, containing a head or a body or both.
1222 The list syntax is as follows:
1223 .Bd -ragged -offset indent
1227 .Op Fl offset Ar val
1234 is mandatory and must be specified first.
1241 or use the length of the given string.
1244 is a global indentation for the whole list, affecting both item heads
1246 For those list types supporting it, the
1248 argument requests an additional indentation of item bodies,
1253 argument is specified, list entries are separated by vertical space.
1255 A list must specify one of the following list types:
1256 .Bl -tag -width 12n -offset indent
1258 No item heads can be specified, but a bullet will be printed at the head
1260 Item bodies start on the same output line as the bullet
1261 and are indented according to the
1268 argument has no effect; instead, each argument specifies the width
1269 of one column, using either the
1271 syntax or the string length of the argument.
1272 If the first line of the body of a
1278 contexts spanning one input line each are implied until an
1280 macro line is encountered, at which point items start being interpreted as
1287 except that dashes are used in place of bullets.
1291 except that item heads are not parsed for macro invocations.
1292 .\" but with additional formatting to the head.
1297 except that cardinal numbers are used in place of bullets,
1302 except that the first lines of item bodies are not indented, but follow
1303 the item heads like in
1310 Item bodies follow items heads on the same line, using normal inter-word
1312 Bodies are not indented, and the
1314 argument is ignored.
1316 No item heads can be specified, and none are printed.
1317 Bodies are not indented, and the
1319 argument is ignored.
1321 Item bodies start on the line following item heads and are not indented.
1324 argument is ignored.
1326 Item bodies are indented according to the
1329 When an item head fits inside the indentation, the item body follows
1330 this head on the same output line.
1331 Otherwise, the body starts on the output line following the head.
1339 Begin a block enclosed by square brackets.
1340 Does not have any head arguments.
1343 .Bd -literal -offset indent -compact
1351 Encloses its arguments in square brackets.
1354 .Dl \&.Bq 1 , \&Dv BUFSIZ
1357 this macro is sometimes abused to emulate optional arguments for
1358 commands; the correct macros to use for this purpose are
1370 Does not have any tail arguments.
1372 Begin a block enclosed by curly braces.
1373 Does not have any head arguments.
1376 .Bd -literal -offset indent -compact
1384 Encloses its arguments in curly braces.
1387 .Dl \&.Brq 1 , ... , \&Va n
1392 Format the BSD/OS version provided as an argument, or a default value if
1393 no argument is provided.
1410 .Dq is currently in beta test .
1412 Format the BSD version provided as an argument, or a default value if no
1413 argument is provided.
1429 Kernel configuration declaration.
1430 This denotes strings accepted by
1434 .Dl \&.Cd device le0 at scode?
1437 this macro is commonly abused by using quoted literals to retain
1438 whitespace and align consecutive
1441 This practise is discouraged.
1444 Useful when specifying configuration options or keys.
1447 .Dl \&.Cm ControlPath
1448 .Dl \&.Cm ControlMaster
1453 One-line indented display.
1454 This is formatted by the default rules and is useful for simple indented
1456 It is followed by a newline.
1459 .Dl \&.D1 \&Fl abcdefgh
1466 Switch debugging mode.
1467 Its syntax is as follows:
1469 .D1 Pf \. Sx \&Db Cm on | off
1471 This macro is ignored by
1477 Does not have any tail arguments.
1480 This is the mandatory first macro of any
1483 Its syntax is as follows:
1485 .D1 Pf \. Sx \&Dd Ar month day , year
1489 is the full English month name, the
1491 is an optionally zero-padded numeral, and the
1493 is the full four-digit year.
1495 Other arguments are not portable; the
1497 utility handles them as follows:
1498 .Bl -dash -offset 3n -compact
1500 To have the date automatically filled in by the
1506 can be given as an argument.
1508 A few alternative date formats are accepted as well
1509 and converted to the standard form.
1511 If a date string cannot be parsed, it is used verbatim.
1513 If no date string is given, the current date is used.
1517 .Dl \&.Dd $\&Mdocdate$
1518 .Dl \&.Dd $\&Mdocdate: July 21 2007$
1519 .Dl \&.Dd July 21, 2007
1526 One-line intended display.
1527 This is formatted as literal text and is useful for commands and
1529 It is followed by a newline.
1532 .Dl \&.Dl % mandoc mdoc.7 \e(ba less
1539 Begin a block enclosed by double quotes.
1540 Does not have any head arguments.
1543 .Bd -literal -offset indent -compact
1545 April is the cruellest month
1553 Encloses its arguments in
1558 .Bd -literal -offset indent -compact
1559 \&.Dq April is the cruellest month
1570 This is the mandatory second macro of any
1573 Its syntax is as follows:
1574 .Bd -ragged -offset indent
1580 .Op Ar volume | arch
1585 Its arguments are as follows:
1586 .Bl -tag -width Ds -offset Ds
1588 The document's title (name), defaulting to
1591 It should be capitalised.
1602 .Pq Perl libraries ,
1612 .Pq system utilities ,
1614 .Pq kernel functions ,
1616 .Pq X Window System ,
1618 .Pq X Window System ,
1628 It should correspond to the manual's filename suffix and defaults to
1632 This overrides the volume inferred from
1634 This field is optional, and if specified, must be one of
1636 .Pq users' supplementary documents ,
1638 .Pq programmers' supplementary documents ,
1640 .Pq administrators' supplementary documents ,
1642 .Pq system managers' manuals ,
1644 .Pq users' reference manuals ,
1646 .Pq programmers' reference manuals ,
1648 .Pq kernel manuals ,
1659 .Pq contributed manuals .
1661 This specifies a specific relevant architecture.
1664 is not provided, it may be used in its place, else it may be used
1666 It, too, is optional.
1702 .Dl \&.Dt FOO 9 i386
1709 Defined variables such as preprocessor constants, constant symbols,
1710 enumeration values, and so on.
1715 .Dl \&.Dv STDOUT_FILENO
1721 for special-purpose constants and
1723 for variable symbols.
1725 Format the DragonFly BSD version provided as an argument, or a default
1726 value if no argument is provided.
1742 Close a scope started by
1744 Its syntax is as follows:
1746 .D1 Pf \. Sx \&Ec Op Ar TERM
1750 argument is used as the enclosure tail, for example, specifying \e(rq
1754 End a display context started by
1757 End a font mode context started by
1760 End a keep context started by
1763 End a list context started by
1771 Denotes text that should be emphasised.
1772 Note that this is a presentation term and should not be used for
1773 stylistically decorating technical terms.
1785 This macro is obsolete and not implemented in
1788 An arbitrary enclosure.
1789 Its syntax is as follows:
1791 .D1 Pf \. Sx \&Eo Op Ar TERM
1795 argument is used as the enclosure head, for example, specifying \e(lq
1799 Error constants for definitions of the
1801 libc global variable.
1809 for general constants.
1811 This macro is obsolete and not implemented.
1813 Environmental variables such as those specified in
1822 for general constants.
1824 Insert a standard sentence regarding exit values.
1825 Its syntax is as follows:
1827 .D1 Pf \. Sx \&Ex Fl std Op Ar utility
1831 is not specified, the document's name set by
1839 Its syntax is as follows:
1840 .Bd -ragged -offset indent
1846 This may be invoked for names with or without the corresponding type.
1847 It is also used to specify the field name of a structure.
1850 macro is used in the
1854 section when documenting multi-line function prototypes.
1855 If invoked with multiple arguments, the arguments are separated by a
1857 Furthermore, if the following macro is another
1859 the last argument will also have a trailing comma.
1862 .Dl \&.Fa \(dqconst char *p\(dq
1863 .Dl \&.Fa \(dqint a\(dq \(dqint b\(dq \(dqint c\(dq
1869 End a function context started by
1872 Historically used to document include files.
1873 This usage has been deprecated in favour of
1875 Do not use this macro.
1878 .Sx MANUAL STRUCTURE
1883 Used when listing arguments to command-line utilities.
1884 Prints a fixed-width hyphen
1886 directly followed by each argument.
1887 If no arguments are provided, a hyphen is printed followed by a space.
1888 If the argument is a macro, a hyphen is prefixed to the subsequent macro
1895 .Dl \&.Op \&Fl o \&Ns \&Ar file
1901 Its syntax is as follows:
1902 .Bd -ragged -offset indent
1906 .Op Oo Ar argtype Oc Ar argname
1909 Function arguments are surrounded in parenthesis and
1910 are delimited by commas.
1911 If no arguments are specified, blank parenthesis are output.
1914 .Dl \&.Fn \*qint funcname\*q \*qint arg0\*q \*qint arg1\*q
1915 .Dl \&.Fn funcname \*qint arg0\*q
1916 .Dl \&.Fn funcname arg0
1917 .Bd -literal -offset indent -compact
1922 When referring to a function documented in another manual page, use
1926 .Sx MANUAL STRUCTURE
1930 Begin a function block.
1931 This is a multi-line version of
1933 Its syntax is as follows:
1935 .D1 Pf \. Sx \&Fo Ar funcname
1937 Invocations usually occur in the following context:
1938 .Bd -ragged -offset indent
1939 .Pf \. Sx \&Ft Ar functype
1941 .Pf \. Sx \&Fo Ar funcname
1943 .Pf \. Sx \&Fa Oo Ar argtype Oc Ar argname
1955 .Sx MANUAL STRUCTURE ,
1961 This macro is obsolete and not implemented.
1964 Its syntax is as follows:
1966 .D1 Pf \. Sx \&Ft Ar functype
1970 .Bd -literal -offset indent -compact
1976 .Sx MANUAL STRUCTURE ,
1983 version provided as an argument, or a default value
1984 if no argument is provided.
2000 This macro is obsolete and not implemented.
2002 Designate an internal or interactive command.
2005 but used for instructions rather than values.
2015 is preferred for displaying code; the
2017 macro is used when referring to specific instructions.
2024 section (only if invoked as the line macro), the first argument is
2027 the arguments is enclosed in angle brackets.
2033 .Sx MANUAL STRUCTURE .
2036 The syntax of this macro depends on the list type.
2045 have the following syntax:
2047 .D1 Pf \. Sx \&It Ar args
2056 have the following syntax:
2060 with subsequent lines interpreted within the scope of the
2062 until either a closing
2069 list has the following syntax:
2071 .D1 Pf \. Sx \&It Op Cm args
2073 Subsequent lines are interpreted as with
2076 The line arguments correspond to the list's left-hand side; body
2077 arguments correspond to the list's contents.
2081 list is the most complicated.
2082 Its syntax is as follows:
2084 .D1 Pf \. Sx \&It Ar cell Op <TAB> Ar cell ...
2085 .D1 Pf \. Sx \&It Ar cell Op Sx \&Ta Ar cell ...
2087 The arguments consist of one or more lines of text and macros
2088 representing a complete table line.
2089 Cells within the line are delimited by tabs or by the special
2092 The tab cell delimiter may only be used within the
2094 line itself; on following lines, only the
2096 macro can be used to delimit cells, and
2098 is only recognized as a macro when called by other macros,
2099 not as the first macro on a line.
2101 Note that quoted strings may span tab-delimited cells on an
2106 .Dl .It \(dqcol1 ; <TAB> col2 ;\(dq \&;
2108 will preserve the semicolon whitespace except for the last.
2114 The syntax is as follows:
2116 .D1 Pf \. Sx \&Lb Ar library
2120 parameter may be a system library, such as
2124 in which case a small library description is printed next to the linker
2125 invocation; or a custom library, in which case the library name is
2127 This is most commonly used in the
2129 section as described in
2130 .Sx MANUAL STRUCTURE .
2136 Denotes text that should be in a literal font mode.
2137 Note that this is a presentation term and should not be used for
2138 stylistically decorating technical terms.
2147 Its syntax is as follows:
2149 .D1 Pf \. Sx \&Lk Ar uri Op Ar name
2152 .Dl \&.Lk http://bsd.lv \*qThe BSD.lv Project\*q
2153 .Dl \&.Lk http://bsd.lv
2161 Display a mathematical symbol.
2162 Its syntax is as follows:
2164 .D1 Pf \. Sx \&Ms Ar symbol
2173 Its syntax is as follows:
2175 .D1 Pf \. Sx \&Mt Ar address
2178 .Dl \&.Mt discuss@manpages.bsd.lv
2180 A one line description of the manual's content.
2181 This may only be invoked in the
2183 section subsequent the
2188 .Dl \&.Sx \&Nd mdoc language reference
2189 .Dl \&.Sx \&Nd format and display UNIX manuals
2193 macro technically accepts child macros and terminates with a subsequent
2196 Do not assume this behaviour: some
2198 database generators are not smart enough to parse more than the line
2199 arguments and will display macros verbatim.
2204 The name of the manual page, or \(em in particular in section 1, 6,
2205 and 8 pages \(em of an additional command or feature documented in
2207 When first invoked, the
2209 macro expects a single argument, the name of the manual page.
2210 Usually, the first invocation happens in the
2212 section of the page.
2213 The specified name will be remembered and used whenever the macro is
2214 called again without arguments later in the page.
2218 .Sx Block full-implicit
2219 semantics when invoked as the first macro on an input line in the
2221 section; otherwise, it uses ordinary
2226 .Bd -literal -offset indent
2235 of section 2, 3 and 9 manual pages, use the
2239 to mark up the name of the manual page.
2243 macro used to terminate prior macro contexts.
2246 .Dl \&.Sx \&Fl ab \&No cd \&Fl ef
2249 Following invocation, text is interpreted as free-form text until a
2250 macro is encountered.
2252 This has no effect when invoked at the start of a macro line.
2255 .Dl \&.Fl o \&Ns \&Ar output
2264 version provided as an argument, or a default value if
2265 no argument is provided.
2285 Multi-line version of
2289 .Bd -literal -offset indent -compact
2291 \&.Op Fl flag Ns Ar value
2295 Command-line option.
2296 Used when listing options to command-line utilities.
2297 Prints the argument(s) in brackets.
2300 .Dl \&.Op \&Fl a \&Ar b
2301 .Dl \&.Op \&Ar a | b
2306 Document operating system version.
2307 This is the mandatory third macro of
2311 Its syntax is as follows:
2313 .D1 Pf \. Sx \&Os Op Ar system Op Ar version
2317 parameter specifies the relevant operating system or environment.
2318 Left unspecified, it defaults to the local operating system version.
2319 This is the suggested form.
2323 .Dl \&.Os KTH/CSC/TCS
2334 this macro has been deprecated.
2338 version provided as an argument, or a default value
2339 if no argument is provided.
2356 If an argument is not provided, the string
2358 is used as a default.
2361 .Dl \&.Pa /usr/bin/mandoc
2362 .Dl \&.Pa /usr/share/man/man7/mdoc.7
2367 Close parenthesised context opened by
2372 between its arguments.
2373 Its syntax is as follows:
2375 .D1 Pf \. \&Pf Ar prefix suffix
2379 argument may be a macro.
2382 .Dl \&.Pf \e. \&Sx \&Pf \&Ar prefix suffix
2384 Multi-line version of
2388 This will assert vertical space between prior and subsequent macros
2391 Parenthesised enclosure.
2396 Close quoted context opened by
2399 Format a single-quoted literal.
2405 Multi-line version of
2408 Encloses its arguments in
2423 Does not have any tail arguments.
2425 Begin a bibliographic
2428 Does not have any head arguments.
2429 The block macro may only contain
2445 child macros (at least one must be specified).
2448 .Bd -literal -offset indent -compact
2450 \&.%A J. E. Hopcroft
2452 \&.%B Introduction to Automata Theory, Languages, and Computation
2453 \&.%I Addison-Wesley
2454 \&.%C Reading, Massachusettes
2461 block is used within a SEE ALSO section, a vertical space is asserted
2462 before the rendered output, else the block continues on the current
2465 Inserts text regarding a function call's return value.
2466 This macro must consist of the
2468 argument followed by an optional
2472 is not provided, the document's name as stipulated by the first
2479 Close single-quoted context opened by
2482 Begin a new section.
2483 For a list of conventional manual sections, see
2484 .Sx MANUAL STRUCTURE .
2485 These sections should be used unless it's absolutely necessary that
2486 custom sections be used.
2488 Section names should be unique so that they may be keyed by
2497 Switches the spacing mode for output generated from macros.
2498 Its syntax is as follows:
2500 .D1 Pf \. Sx \&Sm Cm on | off
2502 By default, spacing is
2506 no white space is inserted between macro arguments and between the
2507 output generated from adjacent macros, but text lines
2508 still get normal spacing between words and sentences.
2510 Multi-line version of
2513 Encloses its arguments in
2523 Begin a new sub-section.
2526 there's no convention for sub-sections.
2527 Conventional sections, as described in
2528 .Sx MANUAL STRUCTURE ,
2529 rarely have sub-sections.
2531 Sub-section names should be unique so that they may be keyed by
2540 Replace an abbreviation for a standard with the full form.
2541 The following standards are recognised:
2543 .Bl -tag -width "-p1003.1g-2000X" -compact
2637 Reference a section or sub-section.
2638 The referenced section or sub-section name must be identical to the
2639 enclosed argument, including whitespace.
2642 .Dl \&.Sx MANUAL STRUCTURE
2649 Format enclosed arguments in symbolic
2651 Note that this is a presentation term and should not be used for
2652 stylistically decorating technical terms.
2660 Table cell separator in
2662 lists; can only be used below
2671 .Dq currently under development .
2673 Format the UNIX name.
2674 Accepts no argument.
2693 .Dl \&.Va const char *bar ;
2696 This is also used for indicating global variables in the
2698 section, in which case a variable name is also specified.
2699 Note that it accepts
2700 .Sx Block partial-implicit
2701 syntax when invoked as the first macro in the
2703 section, else it accepts ordinary
2707 Note that this should not be confused with
2709 which is used for function return types.
2712 .Dl \&.Vt unsigned char
2713 .Dl \&.Vt extern const char * const sys_signame[] \&;
2716 .Sx MANUAL STRUCTURE
2720 Close a scope opened by
2723 Extend the header of an
2725 macro or the body of a partial-implicit block macro
2726 beyond the end of the input line.
2727 This macro originally existed to work around the 9-argument limit
2731 Link to another manual
2732 .Pq Qq cross-reference .
2733 Its syntax is as follows:
2735 .D1 Pf \. Sx \&Xr Ar name section
2741 are the name and section of the linked manual.
2744 is followed by non-punctuation, an
2746 is inserted into the token stream.
2747 This behaviour is for compatibility with
2752 .Dl \&.Xr mandoc 1 \&;
2753 .Dl \&.Xr mandoc 1 \&Ns s behaviour
2756 This macro should not be used; it is implemented for compatibility with
2761 in the event of natural paragraph breaks.
2763 Emits vertical space.
2764 This macro should not be used; it is implemented for compatibility with
2766 Its syntax is as follows:
2768 .D1 Pf \. Sx \&sp Op Ar height
2772 argument must be formatted as described in
2773 .Sx Scaling Widths .
2776 asserts a single vertical space.
2778 This section documents compatibility between mandoc and other other
2779 troff implementations, at this time limited to GNU troff
2783 refers to groff versions before 1.17,
2784 which featured a significant update of the
2788 Heirloom troff, the other significant troff implementation accepting
2789 \-mdoc, is similar to historic groff.
2791 The following problematic behaviour is found in groff:
2792 .ds hist (Historic groff only.)
2807 with unknown arguments produces no output at all.
2809 Newer groff and mandoc print
2814 does not recognize trailing punctuation characters when they immediately
2815 precede tabulator characters, but treats them as normal text and
2816 outputs a space before them.
2818 .Sx \&Bd Fl ragged compact
2819 does not start a new line.
2823 with non-standard arguments behaves very strangely.
2824 When there are three arguments, they are printed verbatim.
2825 Any other number of arguments is replaced by the current date,
2826 but without any arguments the string
2831 does not print a dash for an empty argument.
2835 does not start a new line unless invoked as the line macro in the
2843 children causes inconsistent spacing between arguments.
2844 In mandoc, a single space is always inserted between arguments.
2849 causes inconsistent vertical spacing, depending on whether a prior
2856 for the normalised behaviour in mandoc.
2859 ignores additional arguments and is not treated specially in the
2864 sometimes requires a
2868 In new groff and mandoc, any list may be nested by default and
2870 lists will restart the sequence only for the sub-list.
2873 followed by a reserved character is incorrectly used in some manuals
2874 instead of properly quoting that character, which sometimes works with
2878 only accepts a single link-name argument; the remainder is misformatted.
2881 does not format its arguments when used in the FILES section under
2885 can only be called by other macros, but not at the beginning of a line.
2890 Historic groff only allows up to eight or nine arguments per macro input
2891 line, depending on the exact situation.
2892 Providing more arguments causes garbled output.
2893 The number of arguments on one input line is not limited with mandoc.
2895 Historic groff has many un-callable macros.
2896 Most of these (excluding some block-level macros) are callable
2897 in new groff and mandoc.
2900 (vertical bar) is not fully supported as a delimiter.
2907 .Pq font family face
2909 escapes behave irregularly when specified within line-macro scopes.
2911 Negative scaling units return to prior lines.
2912 Instead, mandoc truncates them to zero.
2915 The following features are unimplemented in mandoc:
2923 .Fl offset Ar center
2925 .Fl offset Ar right .
2926 Groff does not implement centered and flush-right rendering either,
2927 but produces large indentations.
2931 .Pq horizontal position ,
2933 .Pq vertical position ,
2937 .Pq text filling colour ,
2939 .Pq zero-length character ,
2943 .Pq horizontal position marker ,
2945 .Pq text overstrike ,
2949 escape sequences are all discarded in mandoc.
2953 scaling unit is accepted by mandoc, but rendered as the default unit.
2955 In quoted literals, groff allows pairwise double-quotes to produce a
2956 standalone double-quote in formatted output.
2957 This is not supported by mandoc.
2970 language first appeared as a troff macro package in
2972 It was later significantly updated by Werner Lemberg and Ruslan Ermilov
2974 The standalone implementation that is part of the
2976 utility written by Kristaps Dzonsons appeared in
2981 reference was written by
2982 .An Kristaps Dzonsons Aq kristaps@bsd.lv .