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
data/asciidoc/t.conf ADDED
@@ -0,0 +1,20 @@
1
+ [math-inlinemacro]
2
+ <inlineequation>
3
+ <alt>{0}</alt>
4
+ <mathphrase>equation</mathphrase>
5
+ </inlineequation>
6
+
7
+ # math style for listing block.
8
+ [blockdef-listing]
9
+ style=template="mathblock",subs=()
10
+
11
+ ifdef::backend-docbook[]
12
+ [mathblock]
13
+ <equation{id? id="{id}"}><title>{title}</title>
14
+ {title%}<informalequation{id? id="{id}"}>
15
+ <equation>
16
+ <alt>|</alt>
17
+ <mathphrase>equation</mathphrase>
18
+ {title#}</equation>
19
+ {title%}</informalequation>
20
+ endif::backend-docbook[]
@@ -0,0 +1,16 @@
1
+ # text.conf
2
+ # Used by the AsciiDoc a2x(1) toolchain wrapper utility.
3
+ # Filters to add leading blank line and margin indent to verbatim
4
+ # block elements so lynx(1) generated text output looks nicer.
5
+
6
+ [paradef-default]
7
+ verse-style=template="verseparagraph",filter="echo; echo; sed 's/^/ /'"
8
+
9
+ [paradef-literal]
10
+ filter=echo; echo; sed 's/^/ /'
11
+
12
+ [blockdef-listing]
13
+ filter=echo; sed 's/^/ /'
14
+
15
+ [blockdef-literal]
16
+ filter=echo; sed 's/^/ /'
@@ -0,0 +1,53 @@
1
+ " Vim filetype detection file
2
+ " Language: AsciiDoc
3
+ " Author: Stuart Rackham <srackham@gmail.com>
4
+ " Last Change: AsciiDoc 8.2.0
5
+ " URL: http://www.methods.co.nz/asciidoc/
6
+ " Licence: GPL (http://www.gnu.org)
7
+ " Remarks: Vim 6 or greater
8
+
9
+ " COMMENT OUT ONE OF THE TWO FOLLOWING COMMANDS
10
+ " The first sets asciidoc syntax highlighting on all .txt files, the second
11
+ " only existing files *.txt that appear to be AsciiDoc files.
12
+
13
+ au BufNewFile,BufRead *.txt,README,TODO,CHANGELOG,NOTES setfiletype asciidoc
14
+ "au BufRead *.txt,README,TODO,CHANGELOG,NOTES call s:FTasciidoc()
15
+
16
+ " This function checks for a valid AsciiDoc document title after first
17
+ " skipping any leading comments.
18
+ function! s:FTasciidoc()
19
+ let in_comment_block = 0
20
+ let n = 1
21
+ while n < 50
22
+ let line = getline(n)
23
+ let n = n + 1
24
+ if line =~ '^/\{4,}$'
25
+ if ! in_comment_block
26
+ let in_comment_block = 1
27
+ else
28
+ let in_comment_block = 0
29
+ endif
30
+ continue
31
+ endif
32
+ if in_comment_block
33
+ continue
34
+ endif
35
+ if line !~ '\(^//\)\|\(^\s*$\)'
36
+ break
37
+ endif
38
+ endwhile
39
+ if line !~ '.\{3,}'
40
+ return
41
+ endif
42
+ let len = len(line)
43
+ let line = getline(n)
44
+ if line !~ '[-=]\{3,}'
45
+ return
46
+ endif
47
+ if len < len(line) - 3 || len > len(line) + 3
48
+ return
49
+ endif
50
+ setfiletype asciidoc
51
+ endfunction
52
+
53
+ " vim: et sw=2 ts=2 sts=2:
@@ -0,0 +1,139 @@
1
+ " Vim syntax file
2
+ " Language: AsciiDoc
3
+ " Author: Stuart Rackham <srackham@gmail.com> (inspired by Felix
4
+ " Obenhuber's original asciidoc.vim script).
5
+ " URL: http://www.methods.co.nz/asciidoc/
6
+ " Licence: GPL (http://www.gnu.org)
7
+ " Remarks: Vim 6 or greater
8
+ " Limitations: See 'Appendix J: Vim Syntax Highlighter' in the AsciiDoc 'User
9
+ " Guide'.
10
+
11
+ if exists("b:current_syntax")
12
+ finish
13
+ endif
14
+
15
+ syn clear
16
+ syn sync fromstart
17
+ syn sync linebreaks=1
18
+
19
+ " Run :help syn-priority to review syntax matching priority.
20
+ syn keyword asciidocToDo TODO FIXME XXX ZZZ
21
+ syn match asciidocBackslash /\\/
22
+ syn region asciidocIdMarker start=/^\$Id:\s/ end=/\s\$$/
23
+ syn match asciidocCallout /\\\@<!<\d\{1,2}>/
24
+ syn match asciidocListBlockDelimiter /^--$/
25
+ syn match asciidocLineBreak /[ \t]+$/
26
+ syn match asciidocRuler /^'\{4,}$/
27
+ " The tricky part is not triggering on indented list items that are also
28
+ " preceeded by blank line, handles only bulleted items (see 'Limitations' above
29
+ " for workarounds).
30
+ syn region asciidocLiteralParagraph start=/^\n[ \t]\+\(\([^-*. \t] \)\|\(\S\S\)\)/ end=/\(^+\?\s*$\)\@=/
31
+ syn match asciidocListBullet /^\s*[-*+]\s/
32
+ syn match asciidocListNumber /^\s*\(\(\d\+\.\)\|\.\{1,2}\|\(\l\.\)\)\s\+/
33
+ syn match asciidocURL /\\\@<!\<\(http\|https\|ftp\|file\):\/\/\S*\(\w\|\/\)/
34
+ syn match asciidocEmail /\\\@<!\(\<\|<\)\w\(\w\|[.-]\)*@\(\w\|[.-]\)*\w>\?[0-9A-Za-z_.]\@!/
35
+ syn match asciidocAttributeRef /{\(\w\|-\)\+}/
36
+ syn match asciidocAdmonition /^\u\{3,15}:\(\s\+.*\)\@=/
37
+ syn region asciidocAttributeEntry start=/^:\w/ end=/:\(\s\|$\)/ oneline
38
+ syn match asciidocCommentLine "^//\([^/].*\|\)$" contains=asciidocToDo
39
+
40
+ " As a damage control measure quoted patterns always terminate at a blank
41
+ " line (see 'Limitations' above).
42
+ syn region asciidocQuotedSubscript start=/\~\S/ end=/\(\~\|^$\)/
43
+ syn region asciidocQuotedSuperscript start=/\^\S/ end=/\(\^\|^$\)/
44
+ syn region asciidocQuotedMonospaced start=/\(^\|[ \t(\[.,=]\)\@<=+\([ )]\)\@!/ end=/\(+\([ \t)[\],.?!;:=]\|$\)\@=\|^$\)/
45
+ syn region asciidocQuotedMonospaced2 start=/\(^\|[ \t(\[.,=]\)\@<=`\([ )]\)\@!/ end=/\(`\([ \t)[\],.?!;:=]\|$\)\@=\|^$\)/
46
+ syn region asciidocQuotedUnconstrainedMonospaced start=/++\S/ end=/\(++\|^$\)/
47
+ syn region asciidocQuotedEmphasized start=/\(^\|[ \t(\[.,=]\)\@<=_\([ )]\)\@!/ end=/\(_\([ \t)[\],.?!;:=]\|$\)\@=\|^$\)/
48
+ syn region asciidocQuotedEmphasized2 start=/\(^\|[ \t(\[.,=]\)\@<='\([ )]\)\@!/ end=/\('\([ \t)[\],.?!;:=]\|$\)\@=\|^$\)/
49
+ syn region asciidocQuotedUnconstrainedEmphasized start=/__\S/ end=/\(__\|^$\)/
50
+ syn region asciidocQuotedBold start=/\(^\|[ \t(\[.,=]\)\@<=\*\([ )]\)\@!/ end=/\(\*\([ \t)[\],.?!;:=]\|$\)\@=\|^$\)/
51
+ syn region asciidocQuotedUnconstrainedBold start=/\*\*\S/ end=/\(\*\*\|^$\)/
52
+ syn region asciidocQuotedQuoted start=/\(^\|[ \t(\[.,=]\)\@<=``\([ )]\)\@!/ end=/\(''\([ \t)[\],.?!;:=]\|$\)\@=\|^$\)/
53
+ syn region asciidocDoubleDollarPassthrough start=/\(^\|\W\)\@<=\$\{2,3}\S/ end=/\(\$\{2,3}\(\W\|$\)\@=\|^$\)/
54
+ syn region asciidocTriplePlusPassthrough start=/\(^\|\W\)\@<=+++\S/ end=/\(+++\(\W\|$\)\@=\|^$\)/
55
+ syn region asciidocVLabel start=/^\s*/ end=/\(::\|;;\|:-\|??\)$/ oneline contains=asciidocQuoted.* keepend
56
+ syn region asciidocHLabel start=/^\s*/ end=/\(::\|;;\)\(\s\+\|\\$\)/ oneline contains=asciidocQuoted.* keepend
57
+
58
+ syn region asciidocTable start=/^\([`.']\d*[-~_]*\)\+[-~_]\+\d*$/ end=/^$/
59
+ syn match asciidocBlockTitle /^\.[^. \t].*[^-~_]$/ contains=asciidocQuoted.*,asciidocAttributeRef
60
+ syn match asciidocOneLineTitle /^=\{1,5}\s\+\S.*$/ contains=asciidocQuoted.*,asciidocAttributeRef
61
+
62
+ syn match asciidocTitleUnderline /[-=~^+]\{2,}$/ transparent contained contains=NONE
63
+ syn match asciidocTwoLineTitle /^[^. +/].*[^.:]\n[-=~^+]\{2,}$/ contains=asciidocQuoted.*,asciidocAttributeRef,asciidocTitleUnderline
64
+
65
+ syn match asciidocAttributeList /^\[[^[ \t].*\]$/
66
+ syn match asciidocQuoteBlockDelimiter /^_\{4,}$/
67
+ syn match asciidocExampleBlockDelimiter /^=\{4,}$/
68
+ syn match asciidocSidebarDelimiter /^*\{4,}$/
69
+ syn match asciidocListContinuation /^+$/
70
+ syn region asciidocLiteralBlock start=/^\.\{4,}$/ end=/^\.\{4,}$/ contains=asciidocCallout keepend
71
+ syn region asciidocListingBlock start=/^-\{4,}$/ end=/^-\{4,}$/ contains=asciidocCallout keepend
72
+ syn region asciidocCommentBlock start="^/\{4,}$" end="^/\{4,}$"
73
+ syn region asciidocPassthroughBlock start="^+\{4,}$" end="^+\{4,}$"
74
+ " Allowing leading \w characters in the filter delimiter is to accomodate
75
+ " the pre version 8.2.7 syntax and may be removed in future releases.
76
+ syn region asciidocFilterBlock start=/^\w*\~\{4,}$/ end=/^\w*\~\{4,}$/
77
+
78
+ syn region asciidocMacroAttributes matchgroup=asciidocRefMacro start=/<<"\{-}\w\(\w\|-\)*"\?,\?/ end=/\(>>\)\|^$/ contains=asciidocQuoted.* keepend
79
+ syn region asciidocMacroAttributes matchgroup=asciidocAnchorMacro start=/\[\{2}\(\w\|-\)\+,\?/ end=/\]\{2}/ keepend
80
+ syn region asciidocMacroAttributes matchgroup=asciidocAnchorMacro start=/\[\{3}\(\w\|-\)\+/ end=/\]\{3}/ keepend
81
+ syn region asciidocMacroAttributes matchgroup=asciidocMacro start=/\w\(\w\|-\)*:\S\{-}\[/ skip=/\\\]/ end=/\]\|^$/ contains=asciidocQuoted.* keepend
82
+ syn region asciidocMacroAttributes matchgroup=asciidocIndexTerm start=/(\{2,3}/ end=/)\{2,3}/ contains=asciidocQuoted.* keepend
83
+ syn region asciidocMacroAttributes matchgroup=asciidocAttributeMacro start=/\({\(\w\|-\)\+}\)\@<=\[/ skip=/\\\]/ end=/\]/ keepend
84
+
85
+ highlight link asciidocMacroAttributes Label
86
+ highlight link asciidocIdMarker Special
87
+ highlight link asciidocDoubleDollarPassthrough Special
88
+ highlight link asciidocTriplePlusPassthrough Special
89
+ highlight link asciidocQuotedSubscript Type
90
+ highlight link asciidocQuotedSuperscript Type
91
+ highlight link asciidocOneLineTitle Title
92
+ highlight link asciidocTwoLineTitle Title
93
+ highlight link asciidocBlockTitle Title
94
+ highlight link asciidocRefMacro Macro
95
+ highlight link asciidocIndexTerm Macro
96
+ highlight link asciidocMacro Macro
97
+ highlight link asciidocAttributeMacro Macro
98
+ highlight link asciidocAnchorMacro Macro
99
+ highlight link asciidocEmail Macro
100
+ highlight link asciidocListBullet Label
101
+ highlight link asciidocListNumber Label
102
+ highlight link asciidocVLabel Label
103
+ highlight link asciidocHLabel Label
104
+ highlight link asciidocTable Type
105
+ highlight link asciidocListBlockDelimiter Label
106
+ highlight link asciidocListContinuation Label
107
+ highlight link asciidocLiteralParagraph Identifier
108
+ highlight link asciidocQuoteBlockDelimiter Type
109
+ highlight link asciidocExampleBlockDelimiter Type
110
+ highlight link asciidocSidebarDelimiter Type
111
+ highlight link asciidocLiteralBlock Identifier
112
+ highlight link asciidocListingBlock Identifier
113
+ highlight link asciidocPassthroughBlock Identifier
114
+ highlight link asciidocCommentBlock Comment
115
+ highlight link asciidocFilterBlock Type
116
+ highlight link asciidocQuotedBold Special
117
+ highlight link asciidocQuotedUnconstrainedBold Special
118
+ highlight link asciidocQuotedEmphasized Type
119
+ highlight link asciidocQuotedEmphasized2 Type
120
+ highlight link asciidocQuotedUnconstrainedEmphasized Type
121
+ highlight link asciidocQuotedMonospaced Identifier
122
+ highlight link asciidocQuotedMonospaced2 Identifier
123
+ highlight link asciidocQuotedUnconstrainedMonospaced Identifier
124
+ highlight link asciidocQuotedQuoted Label
125
+ highlight link asciidocToDo Todo
126
+ highlight link asciidocCommentLine Comment
127
+ highlight link asciidocAdmonition Special
128
+ highlight link asciidocAttributeRef Special
129
+ highlight link asciidocAttributeList Special
130
+ highlight link asciidocAttributeEntry Special
131
+ highlight link asciidocBackslash Special
132
+ highlight link asciidocCallout Label
133
+ highlight link asciidocLineBreak Special
134
+ highlight link asciidocRuler Type
135
+ highlight link asciidocURL Macro
136
+
137
+ let b:current_syntax = "asciidoc"
138
+
139
+ " vim: wrap et sw=2 sts=2:
@@ -0,0 +1,235 @@
1
+ #
2
+ # xhtml-deprecated-css.conf
3
+ #
4
+ # DEPRECATED: Asciidoc 6 xhtml backend.
5
+ # Included in xhtml-deprecated.conf
6
+ #
7
+
8
+ [tags]
9
+ # Add title class.
10
+ ilist={id?<a name="{id}"></a>}{title?<p class="listtitle"><b>{title}</b></p>}<ul>|</ul>
11
+ olist={id?<a name="{id}"></a>}{title?<p class="listtitle"><b>{title}</b></p>}<ol>|</ol>
12
+ vlist={id?<a name="{id}"></a>}{title?<p class="listtitle"><b>{title}</b></p>}<dl>|</dl>
13
+ hlist={id?<a name="{id}"></a>}{title?<p class="listtitle"><b>{title}</b></p>}<table class="hlist">|</table>
14
+ qlist={id?<a name="{id}"></a>}{title?<p class="listtitle"><b>{title}</b></p>}<ol>|</ol>
15
+ colist={id?<a name="{id}"></a>}{title?<p class="listtitle"><b>{title}</b></p>}<ol>|</ol>
16
+
17
+ [image-inlinemacro]
18
+ <a class="imagelink" href="{link}">
19
+ # border="0" so broken IE6 does not put border round linked image.
20
+ <img src="{target}" alt="{1={target}}"{1? title="{1}"}{width? width="{width}"}{height? height="{height}"} border="0"/>
21
+ {link#}</a>
22
+
23
+ [image-blockmacro]
24
+ <div class="image">
25
+ <a name="{id}"></a>
26
+ <p>{link?<a class="imagelink" href="{link}">}
27
+ # border="0" so broken IE6 does not put border round linked image.
28
+ <img src="{target}" alt="{1={target}}"{1? title="{1}"}{width? width="{width}"}{height? height="{height}"} border="0"/>
29
+ {link?</a>}</p>
30
+ <p class="imagetitle"><b>Figure:</b> {title}</p>
31
+ </div>
32
+
33
+ # Paragraph substitution.
34
+ [literalparagraph]
35
+ <a name="{id}"></a>
36
+ <p class="blocktitle"><b>Example:</b> {title}</p>
37
+ <div class="literalparagraph"><pre>|</pre></div>
38
+
39
+ # Admonition paragraphs.
40
+ [admonitionparagraph]
41
+ <div class="admonition">
42
+ <a name="{id}"></a>
43
+ # For backward compatibility still accept deprecated imagesdir attribute.
44
+ {icons#}<div class="icon"><img src="{imagesdir={iconsdir}}/{name}.png" alt="{caption}" /></div>
45
+ <div class="text"><p><b>{style}:</b> |</p></div>
46
+ <div class="clear"></div>
47
+ </div>
48
+
49
+ # Delimited block substitution.
50
+ [literalblock]
51
+ <a name="{id}"></a>
52
+ <p class="blocktitle"><b>Example:</b> {title}</p>
53
+ <div class="literalblock"><pre>
54
+ |
55
+ </pre></div>
56
+
57
+ [listingblock]
58
+ <a name="{id}"></a>
59
+ <p class="blocktitle"><b>Example:</b> {title}</p>
60
+ <div class="listingblock"><pre>
61
+ |
62
+ </pre></div>
63
+
64
+ [sidebarblock]
65
+ <div class="sidebarblock">
66
+ <a name="{id}"></a>
67
+ <p class="sidebartitle">{title}</p>
68
+ |
69
+ </div>
70
+
71
+ [passthroughblock]
72
+ |
73
+
74
+ [exampleblock]
75
+ <a name="{id}"></a>
76
+ <p class="blocktitle"><b>Example:</b> {title}</p>
77
+ <div class="exampleblock">
78
+ |
79
+ </div>
80
+
81
+ # Admonition blocks.
82
+ [admonitionblock]
83
+ <div class="admonition">
84
+ <a name="{id}"></a>
85
+ # For backward compatibility still accept deprecated imagesdir attribute.
86
+ {icons#}<div class="icon"><img src="{imagesdir={iconsdir}}/{name}.png" alt="{caption}" /></div>
87
+ <div class="text">
88
+ <p><b>{title={style}}</b></p>
89
+ |</div>
90
+ <div class="clear"></div>
91
+ </div>
92
+
93
+ [verseblock]
94
+ <p class="verseblock">{id?<a name="{id}"></a>}{title?<b>{title}</b><br />}
95
+ |
96
+ </p>
97
+
98
+ [table]
99
+ # Table captions not used because IE6 is broken.
100
+ <p class="tabletitle"><b>Table:</b> {title}</p>
101
+ # If you want styled table borders in IE use the following table tag:
102
+ # 1. Border style specified here rather than in CSS because IE6 is broken.
103
+ # 2. bordercolor attribute is IE specific and not valid XHTML 1.0.
104
+ #<table rules="groups" border="2" bordercolor="green" frame="hsides"
105
+ # cellspacing="0" cellpadding="4">
106
+ #
107
+ # Use this in preference to be strictly XHTML 1.0 conformant.
108
+ <a name="{id}"></a>
109
+ <table class="tableblock" rules="{grid=none}"
110
+ frame="{frame%hsides}"
111
+ frame="{frame@topbot:hsides}{frame@all:border}{frame@none:void}{frame@sides:vsides}"
112
+ cellspacing="0" cellpadding="4">
113
+ {headrows#}<thead{noborders? style="border-width: 0;"}>
114
+ {headrows}
115
+ {headrows#}</thead>
116
+ {footrows#}<tfoot{noborders? style="border-width: 0;"}>
117
+ {footrows}
118
+ {footrows#}</tfoot>
119
+ <tbody{noborders? style="border-width: 0;"}>
120
+ {bodyrows}
121
+ </tbody>
122
+ </table>
123
+
124
+ [preamble]
125
+ # Untitled elements between header and first section title.
126
+ <div id="preamble">
127
+ <a name="{id}"></a>
128
+ |
129
+ </div>
130
+
131
+ [sect0]
132
+ <h2 class="sect0">{id?<a name="{id}"></a>}{title}</h2>
133
+ |
134
+
135
+ [sect1]
136
+ <h2>{id?<a name="{id}"></a>}{numbered?{sectnum} }{title}</h2>
137
+ |
138
+
139
+ [sect2]
140
+ <h3>{id?<a name="{id}"></a>}{numbered?{sectnum} }{title}</h3>
141
+ |
142
+
143
+ [sect3]
144
+ <h4>{id?<a name="{id}"></a>}{numbered?{sectnum} }{title}</h4>
145
+ |
146
+
147
+ [sect4]
148
+ <h5>{id?<a name="{id}"></a>}{title}</h5>
149
+ |
150
+
151
+ [footer]
152
+ <div id="footer">
153
+ <p>
154
+ Version {revision}<br />
155
+ Last updated {localdate} {localtime}
156
+ </p>
157
+ </div>
158
+ </div>
159
+ </body>
160
+ </html>
161
+
162
+ #-------------------------
163
+ # article and book document types
164
+ # Both use the article.css stylesheet
165
+ #-------------------------
166
+ ifndef::doctype-manpage[]
167
+
168
+ [header]
169
+ <!DOCTYPE html {dtddecl}>
170
+ <html>
171
+ <head>
172
+ <meta http-equiv="Content-Type" content="text/html; charset={encoding=ISO-8859-1}" />
173
+ <meta name="generator" content="AsciiDoc {asciidoc-version}" />
174
+ ifdef::linkcss[]
175
+ <link rel="stylesheet" href="{stylesdir=.}/{theme={backend}}.css" type="text/css" />
176
+ endif::linkcss[]
177
+ ifndef::linkcss[]
178
+ <style type="text/css">
179
+ include1::./stylesheets/{theme={backend}}.css[]
180
+ </style>
181
+ endif::linkcss[]
182
+ <title>{doctitle}</title>
183
+ </head>
184
+ <body>
185
+ <div id="content">
186
+ <h1>{doctitle}</h1>
187
+ <p>
188
+ <span id="author">by {author}</span><br />
189
+ <tt>&lt;<a href="mailto:{email}">{email}</a>&gt;</tt><br />
190
+ v{revision}{date?,}
191
+ {date}
192
+ </p>
193
+
194
+ endif::doctype-manpage[]
195
+
196
+ #-------------------------
197
+ # manpage document type
198
+ #-------------------------
199
+ ifdef::doctype-manpage[]
200
+
201
+ [header]
202
+ <!DOCTYPE html {dtddecl}>
203
+ <html>
204
+ <head>
205
+ <meta http-equiv="Content-Type" content="text/html; charset={encoding=ISO-8859-1}" />
206
+ <meta name="generator" content="AsciiDoc {asciidoc-version}" />
207
+ ifdef::linkcss[]
208
+ <link rel="stylesheet" href="{stylesdir=.}/{theme={backend}}.css" type="text/css" />
209
+ <link rel="stylesheet" href="{stylesdir=.}/{backend}-manpage.css" type="text/css" />
210
+ endif::linkcss[]
211
+ ifndef::linkcss[]
212
+ <style type="text/css">
213
+ include1::./stylesheets/{theme={backend}}.css[]
214
+ include1::./stylesheets/{theme={backend}}-manpage.css[]
215
+ </style>
216
+ endif::linkcss[]
217
+ <title>{mantitle}</title>
218
+ </head>
219
+ <body>
220
+ <div id="content">
221
+ <h1>{doctitle} Manual Page</h1>
222
+ <h2>NAME</h2>
223
+ <p>{manname} -
224
+ {manpurpose}
225
+ </p>
226
+
227
+ # Section macros
228
+ [sect-synopsis]
229
+ <div id="synopsis">
230
+ <a name="{id}"></a>
231
+ <h2>SYNOPSIS</h2>
232
+ |
233
+ </div>
234
+
235
+ endif::doctype-manpage[]