Debian Codegraph @

upstream/fedora-44/man1/sgml2txt.1

raw
1 .\" Process this file with
2 .\" groff -man -Tascii sgml2txt.1
3 .\"
4 .TH SGML2TXT 1 "16 May 2000"
5 .SH NAME
6 sgml2txt \- create plain text output from a LinuxDoc DTD SGML source file
7 .SH SYNOPSIS
8 .B sgml2txt [generic-option...] [--manpage] [--filter] [--blanks=\fIn\fB]
9 .IR file [.sgml]
10 .SH DESCRIPTION
11 .B sgml2txt
12 is an old and obsoleted form of the text converter command
13 of LinuxDoc-Tools. It is recommended to switch the new form
14 .B linuxdoc -B text
15 now.
16 It converts a LinuxDoc DTD SGML source file to ASCII, ISO-8859-1, or EUC-JP
17 output. Output will appear in
18 .I file.txt
19 where
20 .I file
21 is the name of the SGML source file.
22 .LP
23 The attribute/value pair "output=txt" is set for conditionals.
24 .SH OPTIONS
25 .B sgml2txt accepts all the generic options described in
26 .BR linuxdoc (1),
27 and the following specific options:
28 .IP "--manpage, -m"
29 Outputs a groff source file, suitable for formatting with
30 .B groff -man
31 for man pages
32 .IP "--filter, -f"
33 Remove backspace-overstrikes from the intermediate form generated by
34 \fBgroff\fR(1).
35 .IP "--pass, -P"
36 The argument of the pass option is added to the command-line options
37 handed to
38 .BR groff (1).
39 .IP "--blanks=\fIn\fR, -b"
40 Set the limit of continuous blank lines for generating the output
41 document. The default limit is 3. if 0 (zero) is specified,
42 the result have many continuous blank lines.
43 .IP file
44 The SGML source file, named either
45 .I file
46 or
47 .I file.sgml
48 .SH FILES
49 Many files and executables in /usr/share/linuxdoc-tools are used.
50 .SH BUGS
51 None known.
52 .SH AUTHOR
53 Originally written by Greg Hankins <[email protected]>,
54 based on scripts by Tom Gordon and Alexander Horz, and later
55 rewritten by Cees de Groot <[email protected]> for SGML-Tools (v1).
56 Currently maintained by Taketoshi Sano <[email protected]> for Linuxdoc-Tools.
57 .SH "SEE ALSO"
58 .BR linuxdoc (1),
59 .BR sgml2html (1),
60 .BR sgml2info (1),
61 .BR sgml2latex (1),
62 .BR sgml2lyx (1),
63 .BR sgml2rtf (1),
64 .BR sgmlcheck (1).