=================================================================== RCS file: /cvs/mandoc/mandoc.1,v retrieving revision 1.41 retrieving revision 1.47 diff -u -p -r1.41 -r1.47 --- mandoc/mandoc.1 2009/10/03 16:36:06 1.41 +++ mandoc/mandoc.1 2009/11/16 08:46:59 1.47 @@ -1,4 +1,4 @@ -.\" $Id: mandoc.1,v 1.41 2009/10/03 16:36:06 kristaps Exp $ +.\" $Id: mandoc.1,v 1.47 2009/11/16 08:46:59 kristaps Exp $ .\" .\" Copyright (c) 2009 Kristaps Dzonsons .\" @@ -14,7 +14,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: October 3 2009 $ +.Dd $Mdocdate: November 16 2009 $ .Dt MANDOC 1 .Os . @@ -28,7 +28,7 @@ .Nm mandoc .Op Fl f Ns Ar option... .Op Fl m Ns Ar format -.Op Fl o Ns Ar option... +.Op Fl O Ns Ar option... .Op Fl T Ns Ar output .Op Fl V .Op Fl W Ns Ar err... @@ -54,7 +54,7 @@ Input format. See for available formats. Defaults to .Fl m Ns Ar andoc . . -.It Fl o Ns Ar option... +.It Fl O Ns Ar option... Comma-separated output options. See .Sx Output Options for details. @@ -228,6 +228,11 @@ When rewinding the scope of a block macro, forces the scope violations. This can seriously mangle the resulting tree. .Pq mdoc only . +.It Fl f Ns Ar ign-escape +Ignore invalid escape sequences. +This is the default, but the option can be used to override an earlier +.Fl f Ns Ar strict . +. .It Fl f Ns Ar no-ign-escape Don't ignore invalid escape sequences. . @@ -255,12 +260,12 @@ For the time being, only .Fl T Ns Ar html is the only mode with output options: .Bl -tag -width Ds -.It Fl o Ns Ar style=style.css +.It Fl O Ns Ar style=style.css The file .Ar style.css is used for an external style-sheet. This must be a valid absolute or relative URI. -.It Fl o Ns Ar includes=fmt +.It Fl O Ns Ar includes=fmt The string .Ar fmt , for example, @@ -268,10 +273,10 @@ for example, is used as a template for linked header files (usually via the .Sq \&In macro). Instances of -.Sq %I +.Sq \&%I are replaced with the include filename. The default is not to present a hyperlink. -.It Fl o Ns Ar man=fmt +.It Fl O Ns Ar man=fmt The string .Ar fmt , for example, @@ -279,7 +284,7 @@ for example, is used as a template for linked manuals (usually via the .Sq \&Xr macro). Instances of -.Sq %N +.Sq \&%N and .Sq %S are replaced with the linked manual's name and section, respectively. @@ -374,6 +379,36 @@ retains spaces. .It Sentences are unilaterally monospaced. .El +. +.Ss HTML output +.Bl -bullet -compact +.It +The +.Sq \efP +escape will revert the font to the previous +.Sq \ef +escape, not to the last rendered decoration, which is now dictated by +CSS instead of hard-coded. It also will not span past the current +scope, for the same reason. Note that in +.Sx ASCII Output +mode, this will work fine. +.It +The +.Xr mdoc 7 +.Sq \&Bl \-hang +and +.Sq \&Bl \-tag +list types render similarly (no break following overreached left-hand +side) due to the expressive constraints of HTML. +. +.It +The +.Xr man 7 +.Sq IP +and +.Sq TP +lists render similarly. +.El .\" SECTION .Sh SEE ALSO .Xr mandoc_char 7 , @@ -393,4 +428,13 @@ the maximum size of an element attribute is determined .Dv BUFSIZ , which is usually 1024 bytes. Be aware of this when setting long link formats with -.Fl o Ns Ar man=fmt . +.Fl O Ns Ar man=fmt . +.Pp +The +.Fl T Ns Ar html +utility doesn't yet render the +.Sq \es +font size escape documented in +.Xr mdoc 7 +and +.Xr man 7 .