If files are specified, htmlsection reads HTML from these files. But, if
files are not specified, htmlsection reads HTML from
Synopsis:
htmlsection [-options] [files ...]
> makesearch path to
> cat htmlsection_orig.html | ./htmlsection > htmlsection.html
If you want to see japanese sample file, see htmlsection-j.html and
htmlsection-j_orig.html. htmlsection-j.html was created from
htmlsection-j_orig.html by htmlsection such as
And execute,
After convertion by htmlsection, See
After convertion by htmlsection, See
Before convertion, See
After convertion by htmlsection, See
E-Mail:
hsakai@m8.ffn.ne.jp
Web site:
http://web.ffn.ne.jp/~hsakai/myfreesoft/index.html
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.
> cat htmlsection-j_orig.html | ./htmlsection -japanese > htmlsection-j.html
> su
Password:
# make install
htmlsection,
> su
Password:
# make uninstall
htmlsection, manual page, and documents are deleted from your system.
> man htmlsection
or> nroff -man htmlsection.1
<section name="intro" number=no>Introduction</section>
This is introduction.
<section name="howto">How to use htmlsection</section>
<subsection name="howtouse">Let's use htmlsection!</subsection>
If you want to know about htmlsection, see
<sectionref name="howto">, and
<subsectionref name="howtouse" title=no>.
<section number=no>Ending</section>
> cat example.html | htmlsection -no-spacer
htmlsection will output as Introduction
This is introduction.
1 How to use htmlsection
1.1 Let's use htmlsection!
If you want to know about htmlsection, see
1 How to use htmlsection, and
1.1.
Ending
<center>
<tablereference name="sample_table">Sample Table</tablereference>
<table border=1>
<tr><td align=center>name</td><td align=center>function</td></tr>
<tr><td>printf</td><td>print strings by a format.</td></tr>
</table>
</center>
<p>
<center>
<img src="picture/sample.jpg">
<br>
<figurereference name="sample_figure">Sample Figure</figurereference>
</center>
<p>
<pre>
<listreference name="sample_list">Sample List</listreference>
int main()
{
int i;
for (i = 0; i < 10; i++)
printf("%d\n", i);
exit (0);
}
</pre>
<p>
See <tableref name="sample_table">.
See <figureref name="sample_figure">.
See <listref name="sample_list">.
The <termref name="CLang">C</termref> is a programming
language<ref name="KandR"><ref name="KandR2">.
I always use <termref name="CLang">C</termref><noteref name="AboutMe">.
But, <termref name="htmlsection">htmlsection</termref> is
<noteref name="htmlsection">written by
<termref name="PerlLang">perl</termref><ref name="LamaBook">.
<termref name="PerlLang">Perl</termref> is a very convenient
language<ref name="LamaBook"> and I always use
<termref name="PerlLang">perl</termref> too<noteref name="AboutMe">.
<notes>
<note name="AboutMe">And make many programs.
<note name="htmlsection">All of htmlsection are written by perl.
<note>If you want to write other notes,
you can write them after here.
<note>Sometimes, I use Tcl/Tk, Java, C++, ...
</notes>
<terms>
<term name="CLang">A programming language.
<term name="htmlsection">This program.
<term name="PerlLang">A programming language.
<term>If you want to write other terms,
you can write them after here.
<term word="Tcl/Tk">A programming language.
<term word="Java">A programming language.
</terms>
<references>
<reference name="KandR">Brian W. Kernighan and Dennis M. Ritchie,
"The C Programming Language", Prentice-Hall, 1978.
<reference name="KandR2">Brian W. Kernighan and Dennis M. Ritchie,
"The C Programming Language", Second Edition, Prentice Hall, 1988.
<reference name="LamaBook">Randal L. Schwartz and Tom Phoenix,
"Learning Perl", Oreilly & Associates Inc.
<reference>If you want to write other references,
you can write them after here.
<reference name="CamelBook">Larry Wall, Tom Christiansen, and Jon Orwant,
"Programming Perl", Oreilly & Associates.
<reference name="NumericalRecipe">William H. Press, Saul A. Teukolsky,
William T. Vetterling, and Brian P.Flannery,
"Numerical Recipes in C", Second Edition, Cambridge University Press, 1992.
</references>
Notes
Terms
References
<section>The C Programming Language</section>
The <termref name="Lang">C</termref> is a programming
language<ref name="Book">.<noteref name="About">
<notes>
<note name="About">A programming language.
</notes>
<terms>
<term name="Lang">It is a programming language.
</terms>
<references>
<reference name="Book">Brian W. Kernighan and Dennis M. Ritchie,
"The C Programming Language", Prentice-Hall, 1978.
</references>
<section>The Perl Programming Language</section>
The <termref name="Lang">Perl</termref> is a programming
language<ref name="Book">.<noteref name="About">
<notes>
<note name="About">A programming language.
</notes>
<terms>
<term name="Lang">It is a programming language.
</terms>
<references>
<reference name="Book">Randal L. Schwartz and Tom Phoenix,
"Learning Perl", Oreilly & Associates Inc.
</references>
1 The C Programming Language
The (1)C is a programming
language[1].(*1)
Notes
Terms
References
2 The Perl Programming Language
The (1)Perl is a programming
language[1].(*1)
Notes
Terms
References
-japanese
Specify the language. If you don't specify these options, htmlsection
sees environment variable LANG.
-list-section [section]
Same as -table-section option.
-start-list [number]
Same as -start-table option.
-start-term [number],
-start-note [number]
Same as -start-table option.
-list-file [filename]
Same as -table-file option.
<subsection>Title</subsection>,
...
name="section_name"
number=yes or no
<subsectionref>,
...
name="section_name"
title=yes or no
number=yes or no
number=yes or no
number=yes or no
title=yes or no
title=yes or no
title=yes or no
title=yes or no
number=yes or no
word="term_word"
title=yes or no
number=yes or no
title=yes or no
number=yes or no
title=yes or no
number=yes or no
title=yes or no
number=yes or no
title=yes or no
number=yes or no
Mirror site:
http://hp.vector.co.jp/authors/VA014157/myfreesoft/index.html
All Rights Reserved.
- Readme file.
- Sample HTML file and description about htmlsection.
- Sample HTML file and description about htmlsection before convertion by htmlsection.