FooBarWidget-mizuho 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (175) hide show
  1. data/LICENSE.txt +20 -0
  2. data/README.markdown +68 -0
  3. data/Rakefile +9 -0
  4. data/asciidoc/BUGS +34 -0
  5. data/asciidoc/BUGS.txt +28 -0
  6. data/asciidoc/CHANGELOG +1585 -0
  7. data/asciidoc/CHANGELOG.txt +1595 -0
  8. data/asciidoc/COPYING +339 -0
  9. data/asciidoc/COPYRIGHT +18 -0
  10. data/asciidoc/INSTALL +82 -0
  11. data/asciidoc/INSTALL.txt +71 -0
  12. data/asciidoc/README +46 -0
  13. data/asciidoc/README.txt +36 -0
  14. data/asciidoc/a2x +641 -0
  15. data/asciidoc/asciidoc.conf +404 -0
  16. data/asciidoc/asciidoc.py +4255 -0
  17. data/asciidoc/common.aap +9 -0
  18. data/asciidoc/dblatex/asciidoc-dblatex.sty +18 -0
  19. data/asciidoc/dblatex/asciidoc-dblatex.xsl +17 -0
  20. data/asciidoc/dblatex/dblatex-readme.txt +22 -0
  21. data/asciidoc/doc/a2x.1 +246 -0
  22. data/asciidoc/doc/a2x.1.txt +195 -0
  23. data/asciidoc/doc/article.css-embedded.html +579 -0
  24. data/asciidoc/doc/article.html +62 -0
  25. data/asciidoc/doc/article.pdf +0 -0
  26. data/asciidoc/doc/article.txt +124 -0
  27. data/asciidoc/doc/asciidoc-revhistory.xml +27 -0
  28. data/asciidoc/doc/asciidoc.1 +161 -0
  29. data/asciidoc/doc/asciidoc.1.css-embedded.html +562 -0
  30. data/asciidoc/doc/asciidoc.1.css.html +212 -0
  31. data/asciidoc/doc/asciidoc.1.html +190 -0
  32. data/asciidoc/doc/asciidoc.1.txt +118 -0
  33. data/asciidoc/doc/asciidoc.conf +8 -0
  34. data/asciidoc/doc/asciidoc.css-embedded.html +7954 -0
  35. data/asciidoc/doc/asciidoc.css.html +7553 -0
  36. data/asciidoc/doc/asciidoc.dict +673 -0
  37. data/asciidoc/doc/asciidoc.html +3502 -0
  38. data/asciidoc/doc/asciidoc.txt +4757 -0
  39. data/asciidoc/doc/asciimath.txt +47 -0
  40. data/asciidoc/doc/book-multi.css-embedded.html +575 -0
  41. data/asciidoc/doc/book-multi.html +72 -0
  42. data/asciidoc/doc/book-multi.txt +159 -0
  43. data/asciidoc/doc/book.css-embedded.html +585 -0
  44. data/asciidoc/doc/book.html +60 -0
  45. data/asciidoc/doc/book.txt +133 -0
  46. data/asciidoc/doc/customers.csv +18 -0
  47. data/asciidoc/doc/faq.txt +262 -0
  48. data/asciidoc/doc/latex-backend.html +224 -0
  49. data/asciidoc/doc/latex-backend.txt +193 -0
  50. data/asciidoc/doc/latexmath.txt +35 -0
  51. data/asciidoc/doc/main.aap +293 -0
  52. data/asciidoc/doc/music-filter.html +513 -0
  53. data/asciidoc/doc/music-filter.pdf +0 -0
  54. data/asciidoc/doc/music-filter.txt +158 -0
  55. data/asciidoc/doc/source-highlight-filter.html +183 -0
  56. data/asciidoc/doc/source-highlight-filter.pdf +0 -0
  57. data/asciidoc/doc/source-highlight-filter.txt +174 -0
  58. data/asciidoc/docbook-xsl/asciidoc-docbook-xsl.txt +71 -0
  59. data/asciidoc/docbook-xsl/chunked.xsl +19 -0
  60. data/asciidoc/docbook-xsl/common.xsl +67 -0
  61. data/asciidoc/docbook-xsl/fo.xsl +117 -0
  62. data/asciidoc/docbook-xsl/htmlhelp.xsl +17 -0
  63. data/asciidoc/docbook-xsl/manpage.xsl +28 -0
  64. data/asciidoc/docbook-xsl/shaded-literallayout.patch +32 -0
  65. data/asciidoc/docbook-xsl/xhtml.xsl +14 -0
  66. data/asciidoc/docbook.conf +606 -0
  67. data/asciidoc/examples/website/CHANGELOG.html +3828 -0
  68. data/asciidoc/examples/website/INSTALL.html +163 -0
  69. data/asciidoc/examples/website/README-website.html +129 -0
  70. data/asciidoc/examples/website/README-website.txt +29 -0
  71. data/asciidoc/examples/website/README.html +125 -0
  72. data/asciidoc/examples/website/a2x.1.html +395 -0
  73. data/asciidoc/examples/website/asciidoc-docbook-xsl.html +165 -0
  74. data/asciidoc/examples/website/asciimath.html +157 -0
  75. data/asciidoc/examples/website/build-website.sh +25 -0
  76. data/asciidoc/examples/website/downloads.html +219 -0
  77. data/asciidoc/examples/website/downloads.txt +98 -0
  78. data/asciidoc/examples/website/faq.html +372 -0
  79. data/asciidoc/examples/website/index.html +398 -0
  80. data/asciidoc/examples/website/index.txt +222 -0
  81. data/asciidoc/examples/website/latex-backend.html +640 -0
  82. data/asciidoc/examples/website/latexmath.html +119 -0
  83. data/asciidoc/examples/website/layout1.conf +161 -0
  84. data/asciidoc/examples/website/layout1.css +65 -0
  85. data/asciidoc/examples/website/layout2.conf +158 -0
  86. data/asciidoc/examples/website/layout2.css +93 -0
  87. data/asciidoc/examples/website/manpage.html +266 -0
  88. data/asciidoc/examples/website/music-filter.html +242 -0
  89. data/asciidoc/examples/website/music1.abc +12 -0
  90. data/asciidoc/examples/website/music1.png +0 -0
  91. data/asciidoc/examples/website/music2.ly +9 -0
  92. data/asciidoc/examples/website/music2.png +0 -0
  93. data/asciidoc/examples/website/source-highlight-filter.html +251 -0
  94. data/asciidoc/examples/website/support.html +78 -0
  95. data/asciidoc/examples/website/support.txt +5 -0
  96. data/asciidoc/examples/website/userguide.html +7597 -0
  97. data/asciidoc/examples/website/version9.html +143 -0
  98. data/asciidoc/examples/website/version9.txt +48 -0
  99. data/asciidoc/filters/code-filter-readme.txt +37 -0
  100. data/asciidoc/filters/code-filter-test-c++.txt +7 -0
  101. data/asciidoc/filters/code-filter-test.txt +15 -0
  102. data/asciidoc/filters/code-filter.conf +8 -0
  103. data/asciidoc/filters/code-filter.py +239 -0
  104. data/asciidoc/filters/music-filter-test.txt +40 -0
  105. data/asciidoc/filters/music-filter.conf +40 -0
  106. data/asciidoc/filters/music2png.py +189 -0
  107. data/asciidoc/filters/source-highlight-filter-test.txt +19 -0
  108. data/asciidoc/filters/source-highlight-filter.conf +100 -0
  109. data/asciidoc/help.conf +213 -0
  110. data/asciidoc/html4.conf +363 -0
  111. data/asciidoc/images/highlighter.png +0 -0
  112. data/asciidoc/images/icons/README +5 -0
  113. data/asciidoc/images/icons/callouts/1.png +0 -0
  114. data/asciidoc/images/icons/callouts/10.png +0 -0
  115. data/asciidoc/images/icons/callouts/11.png +0 -0
  116. data/asciidoc/images/icons/callouts/12.png +0 -0
  117. data/asciidoc/images/icons/callouts/13.png +0 -0
  118. data/asciidoc/images/icons/callouts/14.png +0 -0
  119. data/asciidoc/images/icons/callouts/15.png +0 -0
  120. data/asciidoc/images/icons/callouts/2.png +0 -0
  121. data/asciidoc/images/icons/callouts/3.png +0 -0
  122. data/asciidoc/images/icons/callouts/4.png +0 -0
  123. data/asciidoc/images/icons/callouts/5.png +0 -0
  124. data/asciidoc/images/icons/callouts/6.png +0 -0
  125. data/asciidoc/images/icons/callouts/7.png +0 -0
  126. data/asciidoc/images/icons/callouts/8.png +0 -0
  127. data/asciidoc/images/icons/callouts/9.png +0 -0
  128. data/asciidoc/images/icons/caution.png +0 -0
  129. data/asciidoc/images/icons/example.png +0 -0
  130. data/asciidoc/images/icons/home.png +0 -0
  131. data/asciidoc/images/icons/important.png +0 -0
  132. data/asciidoc/images/icons/next.png +0 -0
  133. data/asciidoc/images/icons/note.png +0 -0
  134. data/asciidoc/images/icons/prev.png +0 -0
  135. data/asciidoc/images/icons/tip.png +0 -0
  136. data/asciidoc/images/icons/up.png +0 -0
  137. data/asciidoc/images/icons/warning.png +0 -0
  138. data/asciidoc/images/smallnew.png +0 -0
  139. data/asciidoc/images/tiger.png +0 -0
  140. data/asciidoc/install.sh +55 -0
  141. data/asciidoc/javascripts/ASCIIMathML.js +938 -0
  142. data/asciidoc/javascripts/LaTeXMathML.js +1223 -0
  143. data/asciidoc/javascripts/toc.js +69 -0
  144. data/asciidoc/lang-es.conf +15 -0
  145. data/asciidoc/latex.conf +663 -0
  146. data/asciidoc/linuxdoc.conf +285 -0
  147. data/asciidoc/math.conf +50 -0
  148. data/asciidoc/stylesheets/docbook-xsl.css +271 -0
  149. data/asciidoc/stylesheets/xhtml-deprecated-manpage.css +21 -0
  150. data/asciidoc/stylesheets/xhtml-deprecated.css +247 -0
  151. data/asciidoc/stylesheets/xhtml11-manpage.css +18 -0
  152. data/asciidoc/stylesheets/xhtml11-quirks.css +49 -0
  153. data/asciidoc/stylesheets/xhtml11.css +284 -0
  154. data/asciidoc/t.conf +20 -0
  155. data/asciidoc/text.conf +16 -0
  156. data/asciidoc/vim/ftdetect/asciidoc_filetype.vim +53 -0
  157. data/asciidoc/vim/syntax/asciidoc.vim +139 -0
  158. data/asciidoc/xhtml-deprecated-css.conf +235 -0
  159. data/asciidoc/xhtml-deprecated.conf +351 -0
  160. data/asciidoc/xhtml11-quirks.conf +57 -0
  161. data/asciidoc/xhtml11.conf +514 -0
  162. data/bin/mizuho +40 -0
  163. data/lib/mizuho/chapter.rb +54 -0
  164. data/lib/mizuho/generator.rb +106 -0
  165. data/lib/mizuho/heading.rb +46 -0
  166. data/lib/mizuho/parser.rb +99 -0
  167. data/lib/mizuho/template.rb +50 -0
  168. data/mizuho.gemspec +34 -0
  169. data/templates/asciidoc.css +358 -0
  170. data/templates/asciidoc.html.erb +86 -0
  171. data/templates/manualsonrails.css +165 -0
  172. data/templates/manualsonrails.html.erb +97 -0
  173. data/test/parser_spec.rb +190 -0
  174. data/test/spec_helper.rb +43 -0
  175. metadata +234 -0
@@ -0,0 +1,285 @@
1
+ # linuxdoc.conf
2
+ #
3
+ # Asciidoc configuration file.
4
+ # linuxdoc backend, article document type.
5
+ #
6
+ # NOTE:
7
+ # - The Linuxdoc format only supports article documents.
8
+ # - Linuxdoc does not support a number of AsciiDoc elements, for
9
+ # example table.
10
+ # - The AsciiDoc linuxdoc backend is no longer being actively
11
+ # developed or tested with new AsciiDoc releases.
12
+ #
13
+
14
+ [attributes]
15
+ basebackend=linuxdoc
16
+ basebackend-linuxdoc=
17
+
18
+ [miscellaneous]
19
+ outfilesuffix=.sgml
20
+
21
+ [replacements]
22
+ (?m)^(.*)\s\+$=\1<newline>
23
+
24
+ # To allow the AsciiDoc User Guide to be processed.
25
+ {amp}\#960;=pi
26
+
27
+ # Small 'NEW' image.
28
+ (?<!\\)#NEW#=New!
29
+ \\#NEW#=#NEW#
30
+
31
+ # (C) Copyright (entity reference &copy;)
32
+ (?<!\\)\(C\)=&#169;
33
+ \\\(C\)=(C)
34
+
35
+ # (R) registered trade mark (entity reference &reg;
36
+ (?<!\\)\(R\)=&reg;
37
+ \\\(R\)=(R)
38
+
39
+ # (TM) Trademark (entity reference &trade;)
40
+ (?<!\\)\(TM\)=&trade;
41
+ \\\(TM\)=(TM)
42
+
43
+ # -- Spaced and unspaced em dashes (entity reference &mdash;)
44
+ (^|[^-\\])--($|[^-])=\1&mdash;\2
45
+ \\--(?!-)=--
46
+
47
+ # ... Ellipsis (entity reference &hellip;)
48
+ (?<!\\)\.\.\.=&hellip;
49
+ \\\.\.\.=...
50
+
51
+ [header]
52
+ <!doctype linuxdoc system>
53
+ <article>
54
+ <title>{doctitle}</title>
55
+ <author>
56
+ by {author}
57
+ <tt>&lt;<url url="mailto:{email}" name="{email}">&gt;</tt>
58
+ </author>
59
+ {date#}<date>
60
+ {date#} v{revision}{date?,}
61
+ {date#} {date}
62
+ {date#}</date>
63
+
64
+ [footer]
65
+ </article>
66
+
67
+ [indexterm-inlinemacro]
68
+ # Inline index term.
69
+ {2%}<nidx>{1}</nidx>
70
+ {2#}{3%}<nidx>{2}</nidx>
71
+ <nidx>{3}</nidx>
72
+
73
+ [indexterm2-inlinemacro]
74
+ # Inline index term.
75
+ # Single entry index term that is visible in the primary text flow.
76
+ <nidx>{1}</nidx>
77
+ {1}
78
+
79
+ [footnote-inlinemacro]
80
+ # Inline footnote.
81
+ <newline>[{0}]<newline>
82
+
83
+ [tags]
84
+ # Bulleted, numbered and labeled list tags.
85
+ ilist={title?<p><bf>{title}</bf>}<itemize>|</itemize>
86
+ ilistitem=<item>|</item>
87
+ ilisttext=|
88
+ olist={title?<p><bf>{title}</bf>}<enum>|</enum>
89
+ olist2=<enum>|</enum>
90
+ olistitem=<item>|</item>
91
+ olisttext=|
92
+ vlist={title?<p><bf>{title}</bf>}<descrip>|</descrip>
93
+ vlistitem=|
94
+ vlisttext=|
95
+ vlistentry=|
96
+ vlistterm=<tag>|</tag>
97
+ # Same as vertical labeled list.
98
+ hlist={title?<p><bf>{title}</bf>}<descrip>|</descrip>
99
+ hlistitem=|
100
+ hlisttext=|
101
+ hlistentry=|
102
+ hlistterm=<tag>|</tag>
103
+ # Question and Answer list.
104
+ qlist=<enum>|</enum>
105
+ qlistentry=<item>|</item>
106
+ qlistterm=|
107
+ qlistitem=|
108
+ qlisttext=<p>|
109
+ # Callout list (same as numbered list).
110
+ colist={title?<p><bf>{title}</bf>}<enum>|</enum>
111
+ colistitem=<item>|</item>
112
+ colisttext=|
113
+
114
+ # Quoted text
115
+ emphasis=<em>|</em>
116
+ strong=<bf>|</bf>
117
+ monospaced=<tt>|</tt>
118
+ quoted=``|''
119
+
120
+ [specialsections]
121
+ ^Abstract$=sect-abstract
122
+
123
+ [sect-abstract]
124
+ <abstract>
125
+ |
126
+ </abstract>
127
+ <toc>
128
+
129
+ [preamble]
130
+ <abstract>
131
+ |
132
+ </abstract>
133
+ <toc>
134
+
135
+ [sect1]
136
+ <sect>{title}
137
+ <p>
138
+ |
139
+
140
+ [sect2]
141
+ <sect1>{title}
142
+ <p>
143
+ |
144
+
145
+ [sect3]
146
+ <sect2>{title}
147
+ <p>
148
+ |
149
+
150
+ [sect4]
151
+ <p><bf>{title}</bf>
152
+ <p>
153
+ |
154
+
155
+ # Inline macros
156
+ [http-inlinemacro]
157
+ <url url="{name}:{target}" name="{0={name}:{target}}">
158
+ [https-inlinemacro]
159
+ <url url="{name}:{target}" name="{0={name}:{target}}">
160
+ [ftp-inlinemacro]
161
+ <url url="{name}:{target}" name="{0={name}:{target}}">
162
+ [file-inlinemacro]
163
+ <url url="{name}:{target}" name="{0={name}:{target}}">
164
+ [mailto-inlinemacro]
165
+ <url url="{name}:{target}" name="{0={target}}">
166
+ [link-inlinemacro]
167
+ <url url="{target}" name="{0={target}}">
168
+ # LinuxDoc does not have anchors or anchor reference elements but we include
169
+ # the macros so the anchor is hidden and the reference text displayed.
170
+ # Anchor: [[id,xreflabel]]
171
+ [anchor-inlinemacro]
172
+ #&lsqb;{target}&rsqb;
173
+ [anchor2-inlinemacro]
174
+ # [[id,text]]
175
+ #&lsqb;{1}&rsqb;
176
+ [xref-inlinemacro]
177
+ #{1} &lsqb;{target}&rsqb;
178
+ {1={target}}
179
+ [xref2-inlinemacro]
180
+ # <<id,text>>
181
+ #{2} &lsqb;{1}&rsqb;
182
+ {2=1}
183
+
184
+ # Special word macros
185
+ [emphasizedwords]
186
+ <em>{words}</em>
187
+ [monospacedwords]
188
+ <tt>{words}</tt>
189
+ [strongwords]
190
+ <bf>{words}</bf>
191
+
192
+ # Paragraph substitution.
193
+ [paragraph]
194
+ <p><bf>{title}</bf><newline>
195
+ |
196
+ {empty}
197
+ {empty}
198
+
199
+ [literalparagraph]
200
+ <p><bf>Example:</bf> {title}
201
+ <verb>|</verb>
202
+ {empty}
203
+
204
+ [admonitionparagraph]
205
+ <p><bf>{style}:</bf> |
206
+ {empty}
207
+ {empty}
208
+
209
+ [verseparagraph]
210
+ template::[paragraph]
211
+
212
+ [image-inlinemacro]
213
+ {1={target}}
214
+
215
+ [ruler-blockmacro]
216
+ # Only applies to HTML so don't output anything.
217
+
218
+ [image-blockmacro]
219
+ <p><bf>Figure:</bf> {title}
220
+ <p>{1}
221
+ {1%}<p>Image file: {target}
222
+
223
+ [literalblock]
224
+ <p><bf>Example:</bf> {title}
225
+ <verb>
226
+ |
227
+ </verb>
228
+ {empty}
229
+
230
+ [listingblock]
231
+ <p><bf>Example:</bf> {title}
232
+ <tscreen><verb>
233
+ |
234
+ </verb></tscreen>
235
+ {empty}
236
+
237
+ [sidebarblock]
238
+ <p><bf>{title}</bf>
239
+ |
240
+ {empty}
241
+ {empty}
242
+
243
+ [exampleblock]
244
+ <p><bf>{title}</bf>
245
+ |
246
+ {empty}
247
+ {empty}
248
+
249
+ [admonitionblock]
250
+ <p><bf>{style}</bf>
251
+ |
252
+ {empty}
253
+ {empty}
254
+
255
+ [passthroughblock]
256
+ |
257
+
258
+ [quoteblock]
259
+ <p><bf>{title}</bf>
260
+ |
261
+ <p>
262
+ &mdash; {1={attribution}}
263
+ <em>{2={citetitle}}</em>
264
+ {empty}
265
+
266
+ [verseblock]
267
+ |
268
+ {empty}
269
+ {empty}
270
+
271
+ # Bibliography list.
272
+ # Same as numbered list.
273
+ [listdef-bibliography]
274
+ listtag=olist
275
+ itemtag=olistitem
276
+ texttag=olisttext
277
+
278
+ # Glossary list.
279
+ # Same as variable list.
280
+ [listdef-glossary]
281
+ listtag=vlist
282
+ itemtag=vlistitem
283
+ texttag=vlisttext
284
+ entrytag=vlistentry
285
+ labeltag=vlistterm
@@ -0,0 +1,50 @@
1
+ #
2
+ # AsciiDoc configuration for math inline macro and math style listing block.
3
+ #
4
+ # Used to embed LaTeX math formulas in DocBook output that is intended
5
+ # for processing using dblatex.
6
+ #
7
+ # See DBTeXMath (http://ricardo.ecn.wfu.edu/~cottrell/dbtexmath/)
8
+ # The 'Short Math Guide for LaTeX' (http://www.ams.org/tex/amslatex.html)
9
+ #
10
+
11
+ [math-inlinemacro]
12
+ <inlineequation>
13
+ <alt><![CDATA[{0}]]></alt>
14
+ <inlinemediaobject><textobject><phrase></phrase></textobject></inlinemediaobject>
15
+ </inlineequation>
16
+
17
+ ifdef::backend-xhtml11[]
18
+ [math-inlinemacro]
19
+ {0}
20
+ endif::backend-xhtml11[]
21
+
22
+ # Using the <alt> tag is an undocumented way to embed arbitrary LaTeX.
23
+ [tex-inlinemacro]
24
+ template::[math-inlinemacro]
25
+
26
+ # math style listing block for formal and informal equation blocks.
27
+ # There is one oddity though: dblatex displays <informalequation> elements
28
+ # inline instead of as block, a workaround is to use a stand-alone inline
29
+ # macro.
30
+ [blockdef-listing]
31
+ math-style=template="mathblock",subs="none"
32
+ tex-style=template="mathblock",subs="none"
33
+
34
+ ifdef::backend-docbook[]
35
+ [mathblock]
36
+ <equation{id? id="{id}"}><title>{title}</title>
37
+ {title%}<informalequation{id? id="{id}"}>
38
+ <alt><![CDATA[|]]></alt>
39
+ <mediaobject><textobject><phrase></phrase></textobject></mediaobject>
40
+ {title#}</equation>
41
+ {title%}</informalequation>
42
+ endif::backend-docbook[]
43
+
44
+ ifdef::backend-xhtml11[]
45
+ [mathblock]
46
+ <div{id? id="{id}"}>
47
+ |
48
+ </div>
49
+ endif::backend-xhtml11[]
50
+
@@ -0,0 +1,271 @@
1
+ /*
2
+ CSS stylesheet for XHTML produced by DocBook XSL stylesheets.
3
+ Tested with XSL stylesheets 1.61.2, 1.67.2
4
+ */
5
+
6
+ span.strong {
7
+ font-weight: bold;
8
+ }
9
+
10
+ body blockquote {
11
+ margin-top: .75em;
12
+ line-height: 1.5;
13
+ margin-bottom: .75em;
14
+ }
15
+
16
+ html body {
17
+ margin: 1em 5% 1em 5%;
18
+ line-height: 1.2;
19
+ }
20
+
21
+ body div {
22
+ margin: 0;
23
+ }
24
+
25
+ h1, h2, h3, h4, h5, h6,
26
+ div.toc p b,
27
+ div.list-of-figures p b,
28
+ div.list-of-tables p b,
29
+ div.abstract p.title
30
+ {
31
+ color: #527bbd;
32
+ font-family: tahoma, verdana, sans-serif;
33
+ }
34
+
35
+ div.toc p:first-child,
36
+ div.list-of-figures p:first-child,
37
+ div.list-of-tables p:first-child,
38
+ div.example p.title
39
+ {
40
+ margin-bottom: 0.2em;
41
+ }
42
+
43
+ body h1 {
44
+ margin: .0em 0 0 -4%;
45
+ line-height: 1.3;
46
+ border-bottom: 2px solid silver;
47
+ }
48
+
49
+ body h2 {
50
+ margin: 0.5em 0 0 -4%;
51
+ line-height: 1.3;
52
+ border-bottom: 2px solid silver;
53
+ }
54
+
55
+ body h3 {
56
+ margin: .8em 0 0 -3%;
57
+ line-height: 1.3;
58
+ }
59
+
60
+ body h4 {
61
+ margin: .8em 0 0 -3%;
62
+ line-height: 1.3;
63
+ }
64
+
65
+ body h5 {
66
+ margin: .8em 0 0 -2%;
67
+ line-height: 1.3;
68
+ }
69
+
70
+ body h6 {
71
+ margin: .8em 0 0 -1%;
72
+ line-height: 1.3;
73
+ }
74
+
75
+ body hr {
76
+ border: none; /* Broken on IE6 */
77
+ }
78
+ div.footnotes hr {
79
+ border: 1px solid silver;
80
+ }
81
+
82
+ div.navheader th, div.navheader td, div.navfooter td {
83
+ font-family: sans-serif;
84
+ font-size: 0.9em;
85
+ font-weight: bold;
86
+ color: #527bbd;
87
+ }
88
+ div.navheader img, div.navfooter img {
89
+ border-style: none;
90
+ }
91
+ div.navheader a, div.navfooter a {
92
+ font-weight: normal;
93
+ }
94
+ div.navfooter hr {
95
+ border: 1px solid silver;
96
+ }
97
+
98
+ body td {
99
+ line-height: 1.2
100
+ }
101
+
102
+ body th {
103
+ line-height: 1.2;
104
+ }
105
+
106
+ ol {
107
+ line-height: 1.2;
108
+ }
109
+
110
+ ul, body dir, body menu {
111
+ line-height: 1.2;
112
+ }
113
+
114
+ html {
115
+ margin: 0;
116
+ padding: 0;
117
+ }
118
+
119
+ body h1, body h2, body h3, body h4, body h5, body h6 {
120
+ margin-left: 0
121
+ }
122
+
123
+ body pre {
124
+ margin: 0.5em 10% 0.5em 1em;
125
+ line-height: 1.0;
126
+ color: navy;
127
+ }
128
+
129
+ tt.literal, code.literal {
130
+ color: navy;
131
+ }
132
+
133
+ .programlisting, .screen {
134
+ border: 1px solid silver;
135
+ background: #f4f4f4;
136
+ margin: 0.5em 10% 0.5em 0;
137
+ padding: 0.5em 1em;
138
+ }
139
+
140
+ div.sidebar {
141
+ background: #ffffee;
142
+ margin: 1.0em 10% 0.5em 0;
143
+ padding: 0.5em 1em;
144
+ border: 1px solid silver;
145
+ }
146
+ div.sidebar * { padding: 0; }
147
+ div.sidebar div { margin: 0; }
148
+ div.sidebar p.title {
149
+ font-family: sans-serif;
150
+ margin-top: 0.5em;
151
+ margin-bottom: 0.2em;
152
+ }
153
+
154
+ div.bibliomixed {
155
+ margin: 0.5em 5% 0.5em 1em;
156
+ }
157
+
158
+ div.glossary dt {
159
+ font-weight: bold;
160
+ }
161
+ div.glossary dd p {
162
+ margin-top: 0.2em;
163
+ }
164
+
165
+ dl {
166
+ margin: .8em 0;
167
+ line-height: 1.2;
168
+ }
169
+
170
+ dt {
171
+ margin-top: 0.5em;
172
+ }
173
+
174
+ dt span.term {
175
+ font-style: normal;
176
+ }
177
+
178
+ div.variablelist dd p {
179
+ margin-top: 0;
180
+ }
181
+
182
+ div.itemizedlist li, div.orderedlist li {
183
+ margin-left: -0.8em;
184
+ margin-top: 0.5em;
185
+ }
186
+
187
+ ul, ol {
188
+ list-style-position: outside;
189
+ }
190
+
191
+ div.sidebar ul, div.sidebar ol {
192
+ margin-left: 2.8em;
193
+ }
194
+
195
+ div.itemizedlist p.title,
196
+ div.orderedlist p.title,
197
+ div.variablelist p.title
198
+ {
199
+ margin-bottom: -0.8em;
200
+ }
201
+
202
+ div.revhistory table {
203
+ border-collapse: collapse;
204
+ border: none;
205
+ }
206
+ div.revhistory th {
207
+ border: none;
208
+ color: #527bbd;
209
+ font-family: tahoma, verdana, sans-serif;
210
+ }
211
+ div.revhistory td {
212
+ border: 1px solid silver;
213
+ }
214
+
215
+ /* Keep TOC and index lines close together. */
216
+ div.toc dl, div.toc dt,
217
+ div.list-of-figures dl, div.list-of-figures dt,
218
+ div.list-of-tables dl, div.list-of-tables dt,
219
+ div.indexdiv dl, div.indexdiv dt
220
+ {
221
+ line-height: normal;
222
+ margin-top: 0;
223
+ margin-bottom: 0;
224
+ }
225
+
226
+ /*
227
+ Table styling does not work because of overriding attributes in
228
+ generated HTML.
229
+ */
230
+ div.table table,
231
+ div.informaltable table
232
+ {
233
+ margin-left: 0;
234
+ margin-right: 5%;
235
+ margin-bottom: 0.8em;
236
+ }
237
+ div.informaltable table
238
+ {
239
+ margin-top: 0.4em
240
+ }
241
+ div.table thead,
242
+ div.table tfoot,
243
+ div.table tbody,
244
+ div.informaltable thead,
245
+ div.informaltable tfoot,
246
+ div.informaltable tbody
247
+ {
248
+ /* No effect in IE6. */
249
+ border-top: 2px solid #527bbd;
250
+ border-bottom: 2px solid #527bbd;
251
+ }
252
+ div.table thead, div.table tfoot,
253
+ div.informaltable thead, div.informaltable tfoot
254
+ {
255
+ font-weight: bold;
256
+ }
257
+
258
+ div.mediaobject img {
259
+ border: 1px solid silver;
260
+ margin-bottom: 0.8em;
261
+ }
262
+ div.figure p.title,
263
+ div.table p.title
264
+ {
265
+ margin-top: 1em;
266
+ margin-bottom: 0.4em;
267
+ }
268
+
269
+ @media print {
270
+ div.navheader, div.navfooter { display: none; }
271
+ }