1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73
|
[name]
Automatic navbar and table of contents
[options]
navbar 1
contents 1
[input]
=encoding utf-8
=head1 NAME
foo - Some description of foo
=head1 DESCRIPTION
Some scription.
=head1 SECTION AND SECTION
Another — section.
=head1 YET ANOTHER SECTION
More stuff.
=head2 Subsection
With some subsection.
=head1 LONG SECTION NAME
[output]
\heading[foo][]
\h1[foo]
\class(subhead)[(Some description of foo)]
\class(navbar)[
\link[#S1][Description]
| \link[#S2][Section and Section]
| \link[#S3][Yet Another Section]
\break
\link[#S4][Long Section Name]
]
\h2[Table of Contents]
\number(packed)[\link[#S1][DESCRIPTION]]
\number(packed)[\link[#S2][SECTION AND SECTION]]
\number(packed)[\link[#S3][YET ANOTHER SECTION]]
\number(packed)[\link[#S4][LONG SECTION NAME]]
\h2(#S1)[DESCRIPTION]
Some scription.
\h2(#S2)[SECTION AND SECTION]
Another — section.
\h2(#S3)[YET ANOTHER SECTION]
More stuff.
\h3[Subsection]
With some subsection.
\h2(#S4)[LONG SECTION NAME]
\signature
|