1SGML2TXT(1) General Commands Manual SGML2TXT(1)
2
3
4
6 sgml2txt - create plain text output from a LinuxDoc DTD SGML source
7 file
8
10 sgml2txt [generic-option...] [--manpage] [--filter] [--blanks=n]
11 file[.sgml]
12
14 sgml2txt is an old and obsoleted form of the text converter command of
15 LinuxDoc-Tools. It is recommended to switch the new form linuxdoc -B
16 text now. It converts a LinuxDoc DTD SGML source file to ASCII,
17 ISO-8859-1, or EUC-JP output. Output will appear in file.txt where file
18 is the name of the SGML source file.
19
20 The attribute/value pair "output=txt" is set for conditionals.
21
23 sgml2txt accepts all the generic options described in linuxdoc(1), and
24 the following specific options:
25
26 --manpage, -m
27 Outputs a groff source file, suitable for formatting with groff
28 -man for man pages
29
30 --filter, -f
31 Remove backspace-overstrikes from the intermediate form gener‐
32 ated by groff(1).
33
34 --pass, -P
35 The argument of the pass option is added to the command-line op‐
36 tions handed to groff(1).
37
38 --blanks=n, -b
39 Set the limit of continuous blank lines for generating the out‐
40 put document. The default limit is 3. if 0 (zero) is specified,
41 the result have many continuous blank lines.
42
43 file The SGML source file, named either file or file.sgml
44
46 Many files and executables in /usr/share/linuxdoc-tools are used.
47
49 None known.
50
52 Originally written by Greg Hankins <greg.hankins@cc.gatech.edu>, based
53 on scripts by Tom Gordon and Alexander Horz, and later rewritten by
54 Cees de Groot <cg@cdegroot.com> for SGML-Tools (v1). Currently main‐
55 tained by Taketoshi Sano <sano@debian.org> for Linuxdoc-Tools.
56
58 linuxdoc(1), sgml2html(1), sgml2info(1), sgml2latex(1), sgml2lyx(1),
59 sgml2rtf(1), sgmlcheck(1).
60
61
62
63 16 May 2000 SGML2TXT(1)