=================================================================== RCS file: /cvs/texi2mdoc/texi2mdoc.1,v retrieving revision 1.10 retrieving revision 1.14 diff -u -p -r1.10 -r1.14 --- texi2mdoc/texi2mdoc.1 2015/02/24 21:06:52 1.10 +++ texi2mdoc/texi2mdoc.1 2015/03/01 00:26:21 1.14 @@ -1,4 +1,4 @@ -.\" $Id: texi2mdoc.1,v 1.10 2015/02/24 21:06:52 kristaps Exp $ +.\" $Id: texi2mdoc.1,v 1.14 2015/03/01 00:26:21 kristaps Exp $ .\" .\" Copyright (c) 2015 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: February 24 2015 $ +.Dd $Mdocdate: March 1 2015 $ .Dt TEXI2MDOC 1 .Os .Sh NAME @@ -22,6 +22,7 @@ .Nd convert texinfo documents to mdoc .Sh SYNOPSIS .Nm texi2mdoc +.Op Fl I Ar dir .Op Fl I Ar dirs .Op Ar file .Sh DESCRIPTION @@ -39,6 +40,13 @@ By default, reads from standard input. Its arguments are as follows: .Bl -tag -width Ds +.It Fl C Ar dir +Instead of producing a single document, break apart the input into +chapter-level documents placed within +.Ar dir , +which must exist. +These are created as +.Pa nodeNNN.7 . .It Fl I Ar dirs Colon-separated directories to search for .Li @include @@ -94,21 +102,17 @@ The utility was written by .An Kristaps Dzonsons Aq Mt kristaps@bsd.lv . .Sh CAVEATS -The output of -.Nm -currently doesn't play nicely with -.Xr mdoc 7 : -it doesn't detect whether a line trailing slash is properly escaped nor -does it properly account for how it mingles +The output consists of superfluous .Sq \&Pp -with the text. +that cause +.D1 % mandoc -Tlint +to complain. .Pp Many commands that might contain useful information (such as .Li @footnote ) are thrown away. .Pp -Lastly, the comma in Texinfo macro arguments may at times be escaped -with a backslash. +The comma in Texinfo macro arguments may at times be escaped with a backslash. This is .Em not supported. @@ -123,4 +127,3 @@ or of absolute paths or paths with .Li \&.. as directory components. -.\" Not used in OpenBSD.