1 .\" Man page generated from reStructeredText.
3 .TH RST2MAN 1 "2006-10-22" "0.1" "text processing"
5 rst2man \- generate unix manpages from reStructured text
7 .nr rst2man-indent-level 0
11 level \\n[rst2man-indent-level]
12 level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
19 .\" .rstReportMargin pre:
21 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
22 . nr rst2man-indent-level +1
23 .\" .rstReportMargin post:
27 .\" indent \\n[an-margin]
28 .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
29 .nr rst2man-indent-level -1
30 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
31 .in \\n[rst2man-indent\\n[rst2man-indent-level]]u
33 .\" TODO: authors and author with name <email>
39 rst2man.py inputfile outputfile
44 rst2man transforms a reStructured text document into a unix man page.
46 In theory any valid reStructured text document should be processable,
51 a goal, that is not met yet
54 a goal that might never be met, because only few constructs are
55 used in man pages \fIand\fP because the common text file does not adhere
56 to man page requirements.
58 For example a unix man page belongs into a numbered section, 1 is
59 user commands, 8 contains administrator commands and the headlines
60 of all manpages are collected into a database, queryable with the
61 programm \fBapropos\fP, therefore the headline should contain a short
62 text describing into which group this command belongs.
64 These informations are collected from title, subtitle and the
65 docinfo, see this document as an example.
70 .BI \-\-config\fB= <file>
72 Read configuration settings from <file>, if it exists.
76 Show this program\(aqs version number and exit.
80 Show this help message and exit.
83 And a lot more standard docutils options.
90 \fI\%linux man page howto\fP
92 and \fBman man\fP also \fBman 7 man\fP
97 Format options are included as they are required.
106 math: The LaTeX source is shown, e.g. \fBn! + \esin(x_n^2)\fP.
109 Discussion is still open.
111 grubert@users.sourceforge.net
114 .\" Generated by docutils manpage writer.