[BACK]Return to mandoc.1 CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc

Diff for /mandoc/mandoc.1 between version 1.231 and 1.234

version 1.231, 2018/11/22 11:30:23 version 1.234, 2018/12/24 23:37:22
Line 320  Equations rendered from
Line 320  Equations rendered from
 .Xr eqn 7  .Xr eqn 7
 blocks use MathML.  blocks use MathML.
 .Pp  .Pp
 The  The file
 .Pa mandoc.css  .Pa /usr/share/misc/mandoc.css
 file documents style-sheet classes available for customising output.  documents style-sheet classes available for customising output.
 If a style-sheet is not specified with  If a style-sheet is not specified with
 .Fl O Cm style ,  .Fl O Cm style ,
 .Fl T Cm html  .Fl T Cm html
Line 686  To page manuals to the terminal:
Line 686  To page manuals to the terminal:
 .Dl $ mandoc -l mandoc.1 man.1 apropos.1 makewhatis.8  .Dl $ mandoc -l mandoc.1 man.1 apropos.1 makewhatis.8
 .Pp  .Pp
 To produce HTML manuals with  To produce HTML manuals with
 .Pa mandoc.css  .Pa /usr/share/misc/mandoc.css
 as the style-sheet:  as the style-sheet:
 .Pp  .Pp
 .Dl $ mandoc \-T html -O style=mandoc.css mdoc.7 \*(Gt mdoc.7.html  .Dl $ mandoc \-T html -O style=/usr/share/misc/mandoc.css mdoc.7 > mdoc.7.html
 .Pp  .Pp
 To check over a large set of manuals:  To check over a large set of manuals:
 .Pp  .Pp
Line 697  To check over a large set of manuals:
Line 697  To check over a large set of manuals:
 .Pp  .Pp
 To produce a series of PostScript manuals for A4 paper:  To produce a series of PostScript manuals for A4 paper:
 .Pp  .Pp
 .Dl $ mandoc \-T ps \-O paper=a4 mdoc.7 man.7 \*(Gt manuals.ps  .Dl $ mandoc \-T ps \-O paper=a4 mdoc.7 man.7 > manuals.ps
 .Pp  .Pp
 Convert a modern  Convert a modern
 .Xr mdoc 7  .Xr mdoc 7
Line 707  format, for use on systems lacking an
Line 707  format, for use on systems lacking an
 .Xr mdoc 7  .Xr mdoc 7
 parser:  parser:
 .Pp  .Pp
 .Dl $ mandoc \-T man foo.mdoc \*(Gt foo.man  .Dl $ mandoc \-T man foo.mdoc > foo.man
 .Sh DIAGNOSTICS  .Sh DIAGNOSTICS
 Messages displayed by  Messages displayed by
 .Nm  .Nm
 follow this format:  follow this format:
 .Bd -ragged -offset indent  .Bd -ragged -offset indent
 .Nm :  .Nm :
 .Ar file : Ns Ar line : Ns Ar column : level : message : macro args  .Ar file : Ns Ar line : Ns Ar column : level : message : macro arguments
 .Pq Ar os  .Pq Ar os
 .Ed  .Ed
 .Pp  .Pp
 Line and column numbers start at 1.  The first three fields identify the
   .Ar file
   name,
   .Ar line
   number, and
   .Ar column
   number of the input file where the message was triggered.
   The line and column numbers start at 1.
 Both are omitted for messages referring to an input file as a whole.  Both are omitted for messages referring to an input file as a whole.
 Macro names and arguments are omitted where meaningless.  All
   .Ar level
   and
   .Ar message
   strings are explained below.
   The name of the
   .Ar macro
   triggering the message and its
   .Ar arguments
   are omitted where meaningless.
 The  The
 .Ar os  .Ar os
 operating system specifier is omitted for messages that are relevant  operating system specifier is omitted for messages that are relevant
Line 1676  Start it on a new input line to help formatters produc
Line 1692  Start it on a new input line to help formatters produc
 .It Sy "invalid escape sequence"  .It Sy "invalid escape sequence"
 .Pq roff  .Pq roff
 An escape sequence has an invalid opening argument delimiter, lacks the  An escape sequence has an invalid opening argument delimiter, lacks the
 closing argument delimiter, or the argument has too few characters.  closing argument delimiter, the argument is of an invalid form, or it is
   a character escape sequence with an invalid name.
 If the argument is incomplete,  If the argument is incomplete,
 .Ic \e*  .Ic \e*
 and  and
Line 1689  and
Line 1706  and
 .Ic \ew  .Ic \ew
 to the length of the incomplete argument.  to the length of the incomplete argument.
 All other invalid escape sequences are ignored.  All other invalid escape sequences are ignored.
   .It Sy "undefined escape, printing literally"
   .Pq roff
   In an escape sequence, the first character
   right after the leading backslash is invalid.
   That character is printed literally,
   which is equivalent to ignoring the backslash.
 .It Sy "undefined string, using \(dq\(dq"  .It Sy "undefined string, using \(dq\(dq"
 .Pq roff  .Pq roff
 If a string is used without being defined before,  If a string is used without being defined before,
Line 2154  implementations but not by
Line 2177  implementations but not by
 .Nm  .Nm
 was found in an input file.  was found in an input file.
 It is replaced by a question mark.  It is replaced by a question mark.
   .It Sy "unsupported escape sequence"
   .Pq roff
   An input file contains an escape sequence supported by GNU troff
   or Heirloom troff but not by
   .Nm ,
   and it is likely that this will cause information loss
   or considerable misformatting.
 .It Sy "unsupported roff request"  .It Sy "unsupported roff request"
 .Pq roff  .Pq roff
 An input file contains a  An input file contains a

Legend:
Removed from v.1.231  
changed lines
  Added in v.1.234

CVSweb