tag.
.PP
Example:
.PP
Before convertion
.PP
-------- begin of example --------
.br
.br
Sample Table
.br
.br
name | function |
.br
printf | print strings by a format. |
.br
.br
.PP
.br
.br
.br
.br
Sample Figure
.br
.PP
.br
.br
Sample List
.PP
int main()
.br
{
.br
int i;
.br
for (i = 0; i < 10; i++)
.br
printf("%d\\n", i);
.br
exit (0);
.br
}
.br
.PP
.br
See .
.br
See .
.br
See .
.br
-------- end of example --------
.PP
After convertion by htmlsection
.PP
-------- begin of example --------
.br
.br
table1: Sample Table
.br
.br
name | function |
.br
printf | print strings by a format. |
.br
.br
.PP
.br
.br
.br
.br
figure1: Sample Figure
.br
.PP
.br
.br
list1: Sample List
.PP
int main()
.br
{
.br
int i;
.br
for (i = 0; i < 10; i++)
.br
printf("%d\\n", i);
.br
exit (0);
.br
}
.br
.PP
.br
See table1.
.br
See figure1.
.br
See list1.
.br
-------- end of example --------
.PP
.TP 8
.B * Make the index of tables, figures, and program-lists.
.PP
htmlsection inserts the index of table, figure, and list at
, , and
tag.
.TP 8
.B * Insert reference, term, and note number. And make links.
.PP
htmlsention makes reference, term, and note index.
.PP
Example:
.PP
Before convertion
.PP
-------- begin of example --------
.br
The C is a programming
language[.
I always use C.
But, htmlsection is
written by
perl][.
Perl is a very convenient
language][ and I always use
perl too.
.PP
.br
And make many programs.
.br
All of htmlsection are written by perl.
.br
If you want to write other notes,
you can write them after here.
.br
Sometimes, I use Tcl/Tk, Java, C++, ...
.br
.PP
.br
A programming language.
.br
This program.
.br
A programming language.
.br
If you want to write other terms,
you can write them after here.
.br
A programming language.
.br
A programming language.
.br
.PP
.br
Brian W. Kernighan and Dennis M. Ritchie,
"The C Programming Language", Prentice-Hall, 1978.
.br
Brian W. Kernighan and Dennis M. Ritchie,
"The C Programming Language", Second Edition, Prentice Hall, 1988.
.br
Randal L. Schwartz and Tom Phoenix,
"Learning Perl", Oreilly & Associates Inc.
.br
If you want to write other references,
you can write them after here.
.br
Larry Wall, Tom Christiansen, and Jon Orwant,
"Programming Perl", Oreilly & Associates.
.br
William H. Press, Saul A. Teukolsky,
William T. Vetterling, and Brian P.Flannery,
"Numerical Recipes in C", Second Edition, Cambridge University Press, 1992.
.br
.br
-------- end of example --------
.PP
After convertion by htmlsection
.PP
-------- begin of example --------
.br
The (1)C is a programming
language[1][2].
I always use (1)C(*1).
But, (2)htmlsection is
(*2)written by
(3)perl[3].
(3)Perl is a very convenient
language[3] and I always use
(3)perl too(*1).
.PP
]Notes
.PP
.br
- (*1) And make many programs.
.br
- (*2) All of htmlsection are written by perl.
.br
- (*3) If you want to write other notes,
you can write them after here.
.br
- (*4) Sometimes, I use Tcl/Tk, Java, C++, ...
.br
.PP
Terms
.PP
.br
- (1)C A programming language.
.br
- (2)htmlsection This program.
.br
- (3)perl A programming language.
.br
- (4) If you want to write other terms,
you can write them after here.
.br
- (5)Tcl/Tk A programming language.
.br
- (6)Java A programming language.
.br
.PP
References
.PP
.br
- [1] Brian W. Kernighan and Dennis M. Ritchie,
"The C Programming Language", Prentice-Hall, 1978.
.br
- [2] Brian W. Kernighan and Dennis M. Ritchie,
"The C Programming Language", Second Edition, Prentice Hall, 1988.
.br
- [3] Randal L. Schwartz and Tom Phoenix,
"Learning Perl", Oreilly & Associates Inc.
.br
- [4] If you want to write other references,
you can write them after here.
.br
- [5] Larry Wall, Tom Christiansen, and Jon Orwant,
"Programming Perl", Oreilly & Associates.
.br
- [6] William H. Press, Saul A. Teukolsky,
William T. Vetterling, and Brian P.Flannery,
"Numerical Recipes in C", Second Edition, Cambridge University Press, 1992.
.br
.br
-------- end of example --------
.PP
You can use reference, term, and note index to repeat every section
and use name option as same name.
.PP
Example:
.PP
Before convertion
.PP
-------- begin of example --------
.br
The C Programming Language
.PP
The C is a programming
language[.
.PP
.br
A programming language.
.br
.PP
.br
It is a programming language.
.br
.PP
.br
Brian W. Kernighan and Dennis M. Ritchie,
"The C Programming Language", Prentice-Hall, 1978.
.br
.PP
The Perl Programming Language
.PP
The Perl is a programming
language][.
.PP
.br
A programming language.
.br
.PP
.br
It is a programming language.
.br
.PP
.br
Randal L. Schwartz and Tom Phoenix,
"Learning Perl", Oreilly & Associates Inc.
.br
.br
-------- end of example --------
.PP
After convertion by htmlsection
.PP
-------- begin of example --------
.br
.PP
The (1)C is a programming
language[1].(*1)
.PP
]Notes
.PP
.br
- (*1) A programming language.
.br
.PP
Terms
.PP
.br
- (1)C It is a programming language.
.br
.PP
References
.PP
.br
- [1] Brian W. Kernighan and Dennis M. Ritchie,
"The C Programming Language", Prentice-Hall, 1978.
.br
.PP
.PP
The (1)Perl is a programming
language[1].(*1)
.PP
Notes
.PP
.br
- (*1) A programming language.
.br
.PP
Terms
.PP
.br
- (1)Perl It is a programming language.
.br
.PP
References
.PP
.br
- [1] Randal L. Schwartz and Tom Phoenix,
"Learning Perl", Oreilly & Associates Inc.
.br
.br
-------- end of example --------
.PP
.SH OPTIONS
.TP 8
.B -h, -help
Output help messages.
.TP 8
.B -max-depth [depth]
Specify the max depth of subsection of section tag. If you specify
-max-depth 10, you can use tag.
.TP 8
.B -spacer
Spacing , and tag.
.TP 8
.B -no-spacer
No spacing.
.TP 8
.B -english, -japanese
Specify the language. If you don't specify these options, htmlsection
sees environment variable LANG.
.TP 8
.B -start-section [section]
Specify the section number at start. For example, if you specify
-start-section 3.5.6, htmlsection sets the section number to it at start.
.TP 8
.B -toc-section [section]
Specify the section depth to make the table of contents. If you
specify -toc-section 2, htmlsection makes the table of contents
by section and subsection only.
If you specify -toc-section 0, htmlsection makes the table of contents
by all of sections, subsections, subsubsections, ...
.TP 8
.B -table-section [section]
Specify the section number at beginning of table number.
If you specify -table-section 2, format of table number is
[section_number].[subsection_number].[table_number].
If you specify -table-section 0, format of table number is
[table_number] only.
.TP 8
.B -figure-section [section], -list-section [section]
Same as -table-section option.
.TP 8
.B -start-table [number]
Specify the table number at start.
.TP 8
.B -start-figure [number], -start-list [number]
Same as -start-table option.
.TP 8
.B -start-ref [number], -start-term [number], -start-note [number]
Same as -start-table option.
.TP 8
.B -ref-number
Numbering of references are available as default.
.TP 8
.B -term-number, -note-number
Same as -ref-number option.
.TP 8
.B -no-ref-number, -no-term-number, -no-note-number
No numbering as default.
.TP 8
.B -toc-file [filename]
If you specify -toc-file, output the table of contents to the file.
.TP 8
.B -table-file [filename]
If you specify -table-file, output the table index to the file.
.TP 8
.B -figure-file [filename], -list-file [filename]
Same as -table-file option.
.TP 8
.B -ref-file [filename], -term-file [filename], -note-file [filename]
Same as -table-file option.
.TP 8
.B -o [filename]
Specify the output file. If you don't specify the filename, htmlsection
outputs HTML to the standard output.
.SH "ENVIRONMENT VARIABLES"
.TP 8
.B LANG
Specify the language.
.SH TAGS
.TP 8
.B , Title, ...
.PP
options:
.br
name="section_name"
.br
number=yes or no
.TP 8
.B , , ...
.PP
options:
.br
name="section_name"
.br
title=yes or no
.TP 8
.B Title
.PP
options:
.br
name="table_name"
.br
number=yes or no
.TP 8
.B Title
.PP
options:
.br
name="figure_name"
.br
number=yes or no
.TP 8
.B Title
.PP
options:
.br
name="list_name"
.br
number=yes or no
.TP 8
.B
.PP
options:
.br
name="table_name"
.br
title=yes or no
.TP 8
.B
.PP
options:
.br
name="figure_name"
.br
title=yes or no
.TP 8
.B
.PP
options:
.br
name="list_name"
.br
title=yes or no
.TP 8
.B
.PP
no options.
.TP 8
.B
.PP
options:
.br
name="reference_name"
.br
title=yes or no
.br
number=yes or no
.TP 8
.B
.PP
no options.
.TP 8
.B
.PP
options:
.br
name="term_name"
.br
word="term_word"
.br
title=yes or no
.br
number=yes or no
.TP 8
.B
.PP
no options.
.TP 8
.B
.PP
options:
.br
name="note_name"
.br
title=yes or no
.br
number=yes or no
.TP 8
.B [
.PP
options:
.br
name="reference_name"
.br
title=yes or no
.br
number=yes or no
.TP 8
.B Word
.PP
options:
.br
name="term_name"
.br
title=yes or no
.br
number=yes or no
.TP 8
.B
.PP
options:
.br
name="note_name"
.br
title=yes or no
.br
number=yes or no
.TP 8
.B
.PP
no options.
.TP 8
.B
.PP
no options.
.TP 8
.B
.PP
no options.
.TP 8
.B
.PP
no options.
.SH "SEE ALSO"
perl(1),
.br
Comments at the head of htmlsection script,
.br
http://web.ffn.ne.jp/~hsakai/myfreesoft/htmlsection.html
.br
http://web.ffn.ne.jp/~hsakai/myfreesoft/htmlsection-j.html
.SH "FILES"
/usr/local/share/doc/htmlsection - Documents.
.br
/usr/local/share/doc/htmlsection/README - Readme file.
.br
/usr/local/share/doc/ja/htmlsection/README-j - Readme file (Japanese).
.br
/usr/local/share/doc/htmlsection/htmlsection.html
- Sample HTML file and description about htmlsection.
.br
/usr/local/share/doc/ja/htmlsection/htmlsection-j.html
- Sample HTML file and description about htmlsection (Japanese).
.SH VERSION
This man page is from htmlsection-1.1.
.SH AUTHOR
Programmed by SAKAI Hiroaki.
.br
E-Mail: hsakai@m8.ffn.ne.jp
.br
Web site:
.br
http://web.ffn.ne.jp/~hsakai/myfreesoft/index.html
.br
Mirror site:
.br
http://hp.vector.co.jp/authors/VA014157/myfreesoft/index.html
.SH COPYRIGHT
htmlsection Copyright (C) 2001-2003 SAKAI Hiroaki.
.br
All Rights Reserved.
.PP
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
]