1 .\" Man page generated from reStructuredText.
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>
38 rst2man.py inputfile outputfile
43 rst2man transforms a reStructured text document into a unix man page.
45 In theory any valid reStructured text document should be processable,
49 a goal, that is not met yet
51 a goal that might never be met, because only few constructs are
52 used in man pages \fIand\fP because the common text file does not adhere
53 to man page requirements.
55 For example a unix man page belongs into a numbered section, 1 is
56 user commands, 8 contains administrator commands and the headlines
57 of all manpages are collected into a database, queryable with the
58 programm \fBapropos\fP, therefore the headline should contain a short
59 text describing into which group this command belongs.
61 These informations are collected from title, subtitle and the
62 docinfo, see this document as an example.
67 .BI \-\-config\fB= <file>
68 Read configuration settings from <file>, if it exists.
70 .B \-\-version\fP,\fB \-V
71 Show this program\(aqs version number and exit.
73 .B \-\-help\fP,\fB \-h
74 Show this help message and exit.
77 And a lot more standard docutils options.
84 \fI\%linux man page howto\fP
86 and \fBman man\fP also \fBman 7 man\fP
90 Format options are included as they are required.
96 math: The LaTeX source is shown, e.g. \fBn! + \esin(x_n^2)\fP\&.
99 Discussion is still open.
101 grubert@users.sourceforge.net
104 .\" Generated by docutils manpage writer.