Skip to content
Tcl Source Code Changes To How to edit/test tcl man pages
Login

Changes To How to edit/test tcl man pages

Changes to "How to edit/test tcl man pages" between 2016-09-24 16:01:15 and 2016-09-24 16:04:50

︙
40
41
42
43
44
45
46



47
48
49
50
51
52
53
54
40
41
42
43
44
45
46
47
48
49
50
51
52
53



54







+
+
+




-
-
-

   *   <tt>.SH "Text"</tt>: Section header. Text included in html TOC.
   *   <tt>.SS "Text"</tt>: Subsection header. Text included in html TOC.
   *   <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

We add the following markup ourselves (i.e., these are rules defined in the <tt>man.macros</tt> file):
   *   <tt>.VS "Text"</tt>: Mark as new version, "<tt>Text</tt>" describes version
   *   <tt>.VE "Text"</tt>: End of mark (the text is just a reminder)
   *   <tt>.CS</tt> : Source code examples
   *   <tt>.CE</tt> : Source code example end
   *   <tt>.SS</tt> : Text for a heading
   *   <tt>.SP</tt> : Subsection (probably)
   *   <tt>.PP</tt> : New line and reset font, margin and indent to default values
   *   <tt>.QW "Text"</tt>: Quoted Word, puts the <tt>Text</tt> in magic quotes when rendered on systems that support that (such as html).