85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
|
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
|
+
+
-
+
|
I don't bother with the winhelp converter these days; the HTML is better (as in “more recently maintained”) and everyone has a reader for the format it produces.
<hr />
Some additional resources:
* Mentioned file: [https://core.tcl.tk/tcl/artifact/0341d457d89f756d|man.macros]
* Gnu roff: [https://www.gnu.org/software/groff/]
* GNU roff manual: [https://www.gnu.org/software/groff/manual/groff.html]
* Groff help: [http://man7.org/linux/man-pages/man7/groff_man.7.html]
* Groff char help: [http://man7.org/linux/man-pages/man7/groff_char.7.html]
* A Groff manual: [http://www.premvet.co.uk/premvet/faq/roff.html]
File structure:
* Commands like .xx always at the beginning of a line.
* Comands like \xx may be within the text.
Some used markup:
* <tt>.SH "Text"</tt>: Section header. Text included in html TOC.
* <tt>.SS "Text"</tt>: Subsection header. Text included in html TOC. Text must be in capital letters to be found by links.
* <tt>.TP</tt> : Paragraph label, start of indented text, text included in html TOC. The paragraph label occupies the next source line. It is often followed by a line with a single <tt>.</tt> on it (which does nothing, but makes the nroff code easier to read).
* <tt>\fBText\fR</tt> : Bold font
* <tt>\fIText\fR</tt> : Italic font (\fR (for Roman font) must always follow)
* <tt>.RS</tt> : Indent paragraph 3 to right start
* <tt>.RE</tt> : Indent end
* <tt>.PP</tt> : New line and reset font, margin and indent to default values
* <tt>.fn</tt>, <tt>.fi</tt> : switch automatic line break off/on
We add the following markup ourselves (i.e., these are rules defined in the <tt>man.macros</tt> file):
* <tt>.BS</tt> : Box Start. Puts this part in a box in some versions. (HTML version could do with updating to support this)
* <tt>.BE</tt> : Box End.
* <tt>.VS "Text"</tt>: Mark as new version, "<tt>Text</tt>" describes version (marks as a change in some renderings, but not the HTML version at the moment)
* <tt>.VE "Text"</tt>: End of mark (the text is just a reminder)
* <tt>.CS</tt> : Source code examples
|