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 2017-02-28 20:34:38 and 2017-02-28 21:45:16

︙
36
37
38
39
40
41
42
43
44




45
46
47
48
49
50
51
36
37
38
39
40
41
42


43
44
45
46
47
48
49
50
51
52
53







-
-
+
+
+
+







    represent the usual 7-bit ASCII characters, while codes between 127
    and 255 are interpreted as the corresponding characters in the latin1
    (ISO-8859-1) code set by default.
</pre>

This means we can introduce some "fancy chars" like:

  *  å as \N'229'
  *  ø as \N'248'
  *  å as \N'229' (or by virtue of having a named glyph for this: <nowiki>\[oa]</nowiki>)
  *  ø as \N'248' (or by virtue of having a named glyph for this: <nowiki>\[/o]</nowiki>)

Check the groff_char man page for yours!

<h2>Check formatting</h2>

I check the formatting with '<i>groff -Tutf8 -man</i>' and with '<i>make html</i>' (<i> make html-tcl HTML_INSTALL_DIR=~/test/html</i>) in the unix build tree (which doesn't use groff's -Thtml output mode because that sucks, or at least did a few years ago when I last had time to try it, and which requires an installed tclsh8.6).
There's a release of groff for cygwin apparently (according to Google) so it ought to be usable for you.

<h2>Tcl's groff subset</h2>
︙