1SGML2HTML(1)                General Commands Manual               SGML2HTML(1)
2
3
4

NAME

6       sgml2html - create HTML output from a LinuxDoc DTD SGML source file
7

SYNOPSIS

9       sgml2html  [generic-option...]  [--split 0|1|2 ] [--toc 0|1|2 ] [--dos‐
10       names] [--imagebuttons] file[.sgml]
11

DESCRIPTION

13       sgml2html is an old and obsoleted form of the html converter command of
14       LinuxDoc-Tools.   It  is recommended to switch the new form linuxdoc -B
15       html now.  This converts a LinuxDoc DTD SGML source file to  HTML  out‐
16       put.   Output  will  appear  in  the top level file file.html and file-
17       n.html for each section, where file is the name of the SGML source file
18       and n is the section name.
19
20       The attribute/value pair "output=html" is set for conditionals.
21

OPTIONS

23       sgml2html accepts all the generic options described in linuxdoc(1), and
24       the following specific options:
25
26       --split, -s
27              What level to split source documents.  0  =  don't  split,  1  =
28              split by major sections, 2 = split by subsections.
29
30       --toc, -T
31              What level to generate toc.
32                0 = don't generate toc at all,
33                1 = includes major sections(/chapters/parts),
34                2 = includes subsections.
35
36       --dosnames, -h
37              Use ".htm" rather than ".html" as the extension of
38
39       --imagebuttons, -I
40              Use  the  "next",  "previous",  and "contents" arrow image icons
41              included in /usr/share/linuxdoc-tools as navigation buttons.
42
43       --footer, -F
44              Use the specified file as the footer in each resulted html file.
45              Default footer is just plain
46
47               </BODY>\n </HTML>\n
48
49       --header, -H
50              Use the specified file as the top part of the header in each re‐
51              sulted html file. Note this is not the full part of the header.
52              (i.e. the title and the links (next,previous,contents) in the
53              default header are retained. Default is
54
55               <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">\n
56               <HTML>\n <HEAD>\n
57
58       file   The SGML source file, named either file or file.sgml.
59

FILES

61       Many files and executables in /usr/share/linuxdoc-tools and /usr/bin
62       are used.
63

BUGS

65       None known.
66

AUTHOR

68       Originally written by Greg Hankins <greg.hankins@cc.gatech.edu>, and
69       Cees de Groot <cg@cdegroot.com> for SGML-Tools (v1).  Currently main‐
70       tained by Taketoshi Sano <sano@debian.org> for Linuxdoc-Tools.
71

SEE ALSO

73       linuxdoc(1), sgml2info(1), sgml2latex(1), sgml2lyx(1), sgml2rtf(1),
74       sgml2txt(1), sgmlcheck(1).
75
76
77
78                                  16 May 2000                     SGML2HTML(1)
Impressum