FooBarWidget-mizuho 0.9.1 → 0.9.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (136) hide show
  1. data/README.markdown +1 -1
  2. data/Rakefile +14 -2
  3. data/asciidoc/BUGS +11 -6
  4. data/asciidoc/BUGS.txt +7 -3
  5. data/asciidoc/CHANGELOG +313 -151
  6. data/asciidoc/CHANGELOG.txt +177 -12
  7. data/asciidoc/INSTALL +30 -36
  8. data/asciidoc/INSTALL.txt +20 -20
  9. data/asciidoc/Makefile.in +145 -0
  10. data/asciidoc/README +11 -11
  11. data/asciidoc/README.txt +9 -9
  12. data/asciidoc/a2x +40 -7
  13. data/asciidoc/asciidoc.conf +180 -126
  14. data/asciidoc/asciidoc.py +1667 -977
  15. data/asciidoc/common.aap +2 -2
  16. data/asciidoc/configure +2840 -0
  17. data/asciidoc/configure.ac +11 -0
  18. data/asciidoc/dblatex/asciidoc-dblatex.sty +2 -0
  19. data/asciidoc/dblatex/asciidoc-dblatex.xsl +15 -0
  20. data/asciidoc/dblatex/dblatex-readme.txt +19 -2
  21. data/asciidoc/doc/a2x.1 +77 -67
  22. data/asciidoc/doc/a2x.1.txt +11 -2
  23. data/asciidoc/doc/article.css-embedded.html +85 -63
  24. data/asciidoc/doc/article.html +644 -62
  25. data/asciidoc/doc/article.pdf +0 -0
  26. data/asciidoc/doc/article.txt +15 -17
  27. data/asciidoc/doc/asciidoc.1 +34 -40
  28. data/asciidoc/doc/asciidoc.1.css-embedded.html +67 -32
  29. data/asciidoc/doc/asciidoc.1.css.html +28 -28
  30. data/asciidoc/doc/asciidoc.1.html +33 -33
  31. data/asciidoc/doc/asciidoc.css-embedded.html +2234 -2348
  32. data/asciidoc/doc/asciidoc.css.html +2203 -2352
  33. data/asciidoc/doc/asciidoc.dict +52 -1
  34. data/asciidoc/doc/asciidoc.html +980 -1160
  35. data/asciidoc/doc/asciidoc.txt +941 -738
  36. data/asciidoc/doc/asciimathml.txt +63 -0
  37. data/asciidoc/doc/book-multi.html +26 -43
  38. data/asciidoc/doc/book-multi.txt +19 -23
  39. data/asciidoc/doc/book.css-embedded.html +92 -71
  40. data/asciidoc/doc/book.html +24 -41
  41. data/asciidoc/doc/book.txt +19 -21
  42. data/asciidoc/doc/docbook-xsl.css +1 -0
  43. data/asciidoc/doc/faq.txt +288 -60
  44. data/asciidoc/doc/images +1 -0
  45. data/asciidoc/doc/latex-backend.html +16 -123
  46. data/asciidoc/doc/latex-backend.txt +17 -19
  47. data/asciidoc/doc/latexmath.txt +233 -24
  48. data/asciidoc/doc/latexmathml.txt +41 -0
  49. data/asciidoc/doc/main.aap +9 -5
  50. data/asciidoc/doc/music-filter.pdf +0 -0
  51. data/asciidoc/doc/music-filter.txt +2 -2
  52. data/asciidoc/doc/source-highlight-filter.html +476 -105
  53. data/asciidoc/doc/source-highlight-filter.pdf +0 -0
  54. data/asciidoc/doc/source-highlight-filter.txt +39 -10
  55. data/asciidoc/docbook-xsl/asciidoc-docbook-xsl.txt +1 -29
  56. data/asciidoc/docbook-xsl/fo.xsl +35 -3
  57. data/asciidoc/docbook-xsl/manpage.xsl +3 -0
  58. data/asciidoc/docbook-xsl/text.xsl +50 -0
  59. data/asciidoc/docbook.conf +182 -73
  60. data/asciidoc/examples/website/ASCIIMathML.js +1 -0
  61. data/asciidoc/examples/website/CHANGELOG.html +618 -182
  62. data/asciidoc/examples/website/CHANGELOG.txt +1 -0
  63. data/asciidoc/examples/website/INSTALL.html +34 -36
  64. data/asciidoc/examples/website/INSTALL.txt +1 -0
  65. data/asciidoc/examples/website/LaTeXMathML.js +1 -0
  66. data/asciidoc/examples/website/README-website.html +26 -37
  67. data/asciidoc/examples/website/README-website.txt +6 -6
  68. data/asciidoc/examples/website/README.html +15 -15
  69. data/asciidoc/examples/website/README.txt +1 -0
  70. data/asciidoc/examples/website/a2x.1.html +74 -50
  71. data/asciidoc/examples/website/a2x.1.txt +1 -0
  72. data/asciidoc/examples/website/asciidoc-docbook-xsl.html +13 -48
  73. data/asciidoc/examples/website/asciidoc-docbook-xsl.txt +1 -0
  74. data/asciidoc/examples/website/asciimathml.txt +1 -0
  75. data/asciidoc/examples/website/customers.csv +1 -0
  76. data/asciidoc/examples/website/downloads.html +69 -31
  77. data/asciidoc/examples/website/downloads.txt +28 -5
  78. data/asciidoc/examples/website/faq.html +370 -124
  79. data/asciidoc/examples/website/faq.txt +1 -0
  80. data/asciidoc/examples/website/images +1 -0
  81. data/asciidoc/examples/website/index.html +64 -64
  82. data/asciidoc/examples/website/index.txt +22 -15
  83. data/asciidoc/examples/website/latex-backend.html +152 -257
  84. data/asciidoc/examples/website/latex-backend.txt +1 -0
  85. data/asciidoc/examples/website/latexmathml.txt +1 -0
  86. data/asciidoc/examples/website/manpage.html +27 -27
  87. data/asciidoc/examples/website/manpage.txt +1 -0
  88. data/asciidoc/examples/website/music-filter.html +18 -18
  89. data/asciidoc/examples/website/music-filter.txt +1 -0
  90. data/asciidoc/examples/website/music1.abc +1 -1
  91. data/asciidoc/examples/website/music1.png +0 -0
  92. data/asciidoc/examples/website/music2.ly +1 -1
  93. data/asciidoc/examples/website/music2.png +0 -0
  94. data/asciidoc/examples/website/newlists.txt +40 -0
  95. data/asciidoc/examples/website/newtables.txt +397 -0
  96. data/asciidoc/examples/website/source-highlight-filter.html +67 -32
  97. data/asciidoc/examples/website/source-highlight-filter.txt +1 -0
  98. data/asciidoc/examples/website/support.html +4 -4
  99. data/asciidoc/examples/website/toc.js +1 -0
  100. data/asciidoc/examples/website/userguide.html +2190 -2339
  101. data/asciidoc/examples/website/userguide.txt +1 -0
  102. data/asciidoc/examples/website/version83.txt +37 -0
  103. data/asciidoc/examples/website/version9.html +13 -13
  104. data/asciidoc/examples/website/xhtml11-manpage.css +1 -0
  105. data/asciidoc/examples/website/xhtml11-quirks.css +1 -0
  106. data/asciidoc/examples/website/xhtml11.css +1 -0
  107. data/asciidoc/filters/code-filter-readme.txt +3 -3
  108. data/asciidoc/filters/code-filter-test.txt +6 -6
  109. data/asciidoc/filters/source-highlight-filter.conf +12 -5
  110. data/asciidoc/html4.conf +152 -58
  111. data/asciidoc/install-sh +201 -0
  112. data/asciidoc/latex.conf +41 -41
  113. data/asciidoc/stylesheets/docbook-xsl.css +1 -0
  114. data/asciidoc/stylesheets/xhtml11.css +39 -4
  115. data/asciidoc/text.conf +4 -4
  116. data/asciidoc/vim/syntax/asciidoc.vim +58 -32
  117. data/asciidoc/wordpress.conf +48 -0
  118. data/asciidoc/xhtml11-quirks.conf +1 -1
  119. data/asciidoc/xhtml11.conf +198 -70
  120. data/bin/mizuho +5 -2
  121. data/lib/mizuho/generator.rb +48 -19
  122. data/mizuho.gemspec +16 -6
  123. metadata +58 -15
  124. data/asciidoc/doc/asciimath.txt +0 -47
  125. data/asciidoc/docbook-xsl/shaded-literallayout.patch +0 -32
  126. data/asciidoc/examples/website/asciimath.html +0 -157
  127. data/asciidoc/examples/website/latexmath.html +0 -119
  128. data/asciidoc/filters/code-filter-test-c++.txt +0 -7
  129. data/asciidoc/install.sh +0 -55
  130. data/asciidoc/linuxdoc.conf +0 -285
  131. data/asciidoc/math.conf +0 -50
  132. data/asciidoc/stylesheets/xhtml-deprecated-manpage.css +0 -21
  133. data/asciidoc/stylesheets/xhtml-deprecated.css +0 -247
  134. data/asciidoc/t.conf +0 -20
  135. data/asciidoc/xhtml-deprecated-css.conf +0 -235
  136. data/asciidoc/xhtml-deprecated.conf +0 -351
@@ -0,0 +1,201 @@
1
+ #!/bin/sh
2
+ #
3
+ # install - install a program, script, or datafile
4
+ # This comes from X11R5 (mit/util/scripts/install.sh).
5
+ #
6
+ # Copyright 1991 by the Massachusetts Institute of Technology
7
+ #
8
+ # Permission to use, copy, modify, distribute, and sell this software and its
9
+ # documentation for any purpose is hereby granted without fee, provided that
10
+ # the above copyright notice appear in all copies and that both that
11
+ # copyright notice and this permission notice appear in supporting
12
+ # documentation, and that the name of M.I.T. not be used in advertising or
13
+ # publicity pertaining to distribution of the software without specific,
14
+ # written prior permission. M.I.T. makes no representations about the
15
+ # suitability of this software for any purpose. It is provided "as is"
16
+ # without express or implied warranty.
17
+ #
18
+ # Calling this script install-sh is preferred over install.sh, to prevent
19
+ # `make' implicit rules from creating a file called install from it
20
+ # when there is no Makefile.
21
+ #
22
+ # This script is compatible with the BSD install script, but was written
23
+ # from scratch. It can only install one file at a time, a restriction
24
+ # shared with many OS's install programs.
25
+ # set DOITPROG to echo to test this script
26
+ # Don't use :- since 4.3BSD and earlier shells don't like it.
27
+ doit="${DOITPROG-}"
28
+ # put in absolute paths if you don't have them in your path; or use env. vars.
29
+ mvprog="${MVPROG-mv}"
30
+ cpprog="${CPPROG-cp}"
31
+ chmodprog="${CHMODPROG-chmod}"
32
+ chownprog="${CHOWNPROG-chown}"
33
+ chgrpprog="${CHGRPPROG-chgrp}"
34
+ stripprog="${STRIPPROG-strip}"
35
+ rmprog="${RMPROG-rm}"
36
+ mkdirprog="${MKDIRPROG-mkdir}"
37
+ transformbasename=""
38
+ transform_arg=""
39
+ instcmd="$mvprog"
40
+ chmodcmd="$chmodprog 0755"
41
+ chowncmd=""
42
+ chgrpcmd=""
43
+ stripcmd=""
44
+ rmcmd="$rmprog -f"
45
+ mvcmd="$mvprog"
46
+ src=""
47
+ dst=""
48
+ dir_arg=""
49
+ while [ x"$1" != x ]; do
50
+ case $1 in
51
+ -c) instcmd="$cpprog"
52
+ shift
53
+ continue;;
54
+ -d) dir_arg=true
55
+ shift
56
+ continue;;
57
+ -m) chmodcmd="$chmodprog $2"
58
+ shift
59
+ shift
60
+ continue;;
61
+ -o) chowncmd="$chownprog $2"
62
+ shift
63
+ shift
64
+ continue;;
65
+ -g) chgrpcmd="$chgrpprog $2"
66
+ shift
67
+ shift
68
+ continue;;
69
+ -s) stripcmd="$stripprog"
70
+ shift
71
+ continue;;
72
+ -t=*) transformarg=`echo $1 | sed 's/-t=//'`
73
+ shift
74
+ continue;;
75
+ -b=*) transformbasename=`echo $1 | sed 's/-b=//'`
76
+ shift
77
+ continue;;
78
+ *) if [ x"$src" = x ]
79
+ then
80
+ src=$1
81
+ else
82
+ # this colon is to work around a 386BSD /bin/sh bug
83
+ :
84
+ dst=$1
85
+ fi
86
+ shift
87
+ continue;;
88
+ esac
89
+ done
90
+ if [ x"$src" = x ]
91
+ then
92
+ echo "install: no input file specified"
93
+ exit 1
94
+ else
95
+ true
96
+ fi
97
+ if [ x"$dir_arg" != x ]; then
98
+ dst=$src
99
+ src=""
100
+
101
+ if [ -d $dst ]; then
102
+ instcmd=:
103
+ else
104
+ instcmd=mkdir
105
+ fi
106
+ else
107
+ # Waiting for this to be detected by the "$instcmd $src $dsttmp" command
108
+ # might cause directories to be created, which would be especially bad
109
+ # if $src (and thus $dsttmp) contains '*'.
110
+ if [ -f $src -o -d $src ]
111
+ then
112
+ true
113
+ else
114
+ echo "install: $src does not exist"
115
+ exit 1
116
+ fi
117
+
118
+ if [ x"$dst" = x ]
119
+ then
120
+ echo "install: no destination specified"
121
+ exit 1
122
+ else
123
+ true
124
+ fi
125
+ # If destination is a directory, append the input filename; if your system
126
+ # does not like double slashes in filenames, you may need to add some logic
127
+ if [ -d $dst ]
128
+ then
129
+ dst="$dst"/`basename $src`
130
+ else
131
+ true
132
+ fi
133
+ fi
134
+ ## this sed command emulates the dirname command
135
+ dstdir=`echo $dst | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'`
136
+ # Make sure that the destination directory exists.
137
+ # this part is taken from Noah Friedman's mkinstalldirs script
138
+ # Skip lots of stat calls in the usual case.
139
+ if [ ! -d "$dstdir" ]; then
140
+ defaultIFS='
141
+ '
142
+ IFS="${IFS-${defaultIFS}}"
143
+ oIFS="${IFS}"
144
+ # Some sh's can't handle IFS=/ for some reason.
145
+ IFS='%'
146
+ set - `echo ${dstdir} | sed -e 's@/@%@g' -e 's@^%@/@'`
147
+ IFS="${oIFS}"
148
+ pathcomp=''
149
+ while [ $# -ne 0 ] ; do
150
+ pathcomp="${pathcomp}${1}"
151
+ shift
152
+ if [ ! -d "${pathcomp}" ] ;
153
+ then
154
+ $mkdirprog "${pathcomp}"
155
+ else
156
+ true
157
+ fi
158
+ pathcomp="${pathcomp}/"
159
+ done
160
+ fi
161
+ if [ x"$dir_arg" != x ]
162
+ then
163
+ $doit $instcmd $dst &&
164
+ if [ x"$chowncmd" != x ]; then $doit $chowncmd $dst; else true ; fi &&
165
+ if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dst; else true ; fi &&
166
+ if [ x"$stripcmd" != x ]; then $doit $stripcmd $dst; else true ; fi &&
167
+ if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dst; else true ; fi
168
+ else
169
+ # If we're going to rename the final executable, determine the name now.
170
+ if [ x"$transformarg" = x ]
171
+ then
172
+ dstfile=`basename $dst`
173
+ else
174
+ dstfile=`basename $dst $transformbasename |
175
+ sed $transformarg`$transformbasename
176
+ fi
177
+ # don't allow the sed command to completely eliminate the filename
178
+ if [ x"$dstfile" = x ]
179
+ then
180
+ dstfile=`basename $dst`
181
+ else
182
+ true
183
+ fi
184
+ # Make a temp file name in the proper directory.
185
+ dsttmp=$dstdir/#inst.$$#
186
+ # Move or copy the file name to the temp name
187
+ $doit $instcmd $src $dsttmp &&
188
+ trap "rm -f ${dsttmp}" 0 &&
189
+ # and set any options; do chmod last to preserve setuid bits
190
+ # If any of these fail, we abort the whole thing. If we want to
191
+ # ignore errors from any of these, just make sure not to ignore
192
+ # errors from the above "$doit $instcmd $src $dsttmp" command.
193
+ if [ x"$chowncmd" != x ]; then $doit $chowncmd $dsttmp; else true;fi &&
194
+ if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dsttmp; else true;fi &&
195
+ if [ x"$stripcmd" != x ]; then $doit $stripcmd $dsttmp; else true;fi &&
196
+ if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dsttmp; else true;fi &&
197
+ # Now rename the file to the real destination.
198
+ $doit $rmcmd -f $dstdir/$dstfile &&
199
+ $doit $mvcmd $dsttmp $dstdir/$dstfile
200
+ fi &&
201
+ exit 0
data/asciidoc/latex.conf CHANGED
@@ -245,7 +245,7 @@ subscript=!..backslash..!textsubscript!..braceleft..!|!..braceright..!
245
245
  emphasis=!..backslash..!emph!..braceleft..!|!..braceright..!
246
246
  strong=!..backslash..!textbf!..braceleft..!|!..braceright..!
247
247
  monospaced=!..backslash..!texttt!..braceleft..!|!..braceright..!
248
- quoted=!..backslash..!{language!textquotedblleft}{language?{language@.german:glqq}}{language?{language@english:textquotedblleft}}!..braceleft..!!..braceright..!|!..backslash..!{language?{language@.german:grqq}}{language?{language@english:textquotedblright}}{language!textquotedblright}!..braceleft..!!..braceright..!
248
+ doublequoted=!..backslash..!{language!textquotedblleft}{language?{language@.german:glqq}}{language?{language@english:textquotedblleft}}!..braceleft..!!..braceright..!|!..backslash..!{language?{language@.german:grqq}}{language?{language@english:textquotedblright}}{language!textquotedblright}!..braceleft..!!..braceright..!
249
249
  unquoted=|
250
250
 
251
251
  # $$ inline passthrough.
@@ -400,7 +400,7 @@ endif::latex-use-colored-sidebar-blocks[]
400
400
  \end\{flushright\}
401
401
 
402
402
  [exampleblock]
403
- \minisec\{{caption=Example: }{title}\}
403
+ \minisec\{{caption=}{title}\}
404
404
  \label\{{id}\}\hypertarget\{{id}\}\{\}
405
405
  \begin\{quotation\}
406
406
 
@@ -442,9 +442,9 @@ labeltag=vlistterm
442
442
  template=table
443
443
  colspec=>\{{colalign@left:\\raggedright}{colalign@center:\\centering}{colalign@right:\\raggedleft}\}p\{ {colwidth}pt \}
444
444
  bodyrow=%| \tabularnewline
445
- headdata=\{\bfseries\{\}%|\} {colnumber@{cols}::&}
446
- footdata=\{\bfseries\{\}%|\} {colnumber@{cols}::&}
447
- bodydata=%| {colnumber@{cols}:%:&}
445
+ headdata=\{\bfseries\{\}%|\} {colnumber@{colcount}::&}
446
+ footdata=\{\bfseries\{\}%|\} {colnumber@{colcount}::&}
447
+ bodydata=%| {colnumber@{colcount}:%:&}
448
448
 
449
449
  [table]
450
450
  ifdef::latex-use-colored-tables[]
@@ -452,42 +452,42 @@ ifdef::latex-use-colored-tables[]
452
452
  \setlength\arrayrulewidth\{1.5pt\}
453
453
  \arrayrulecolor\{TableBorderColor\}
454
454
  endif::latex-use-colored-tables[]
455
- {eval:{rows}{gt}{latex-table-rowlimit}} \begin\{longtable\}\{
456
- {eval:{rows}{gt}{latex-table-rowlimit}} {frame$all|sides:|}
457
- {eval:{rows}{gt}{latex-table-rowlimit}} {colspecs}
458
- {eval:{rows}{gt}{latex-table-rowlimit}} {frame$all|sides:|}
459
- {eval:{rows}{gt}{latex-table-rowlimit}} \}
460
- {eval:{rows}{gt}{latex-table-rowlimit}} \hypertarget\{{id}\}\{\}
461
- {eval:{rows}{gt}{latex-table-rowlimit}} \caption\{{title}\}
462
- {eval:{rows}{gt}{latex-table-rowlimit}} {frame$all|topbot:\hline}
463
- {eval:{rows}{gt}{latex-table-rowlimit}} {headrows}
464
- {eval:{rows}{gt}{latex-table-rowlimit}} {headrows#} \endhead
465
- {eval:{rows}{gt}{latex-table-rowlimit}} {footrows}
466
- {eval:{rows}{gt}{latex-table-rowlimit}} {footrows#} \endlastfoot
467
- {eval:{rows}{gt}{latex-table-rowlimit}}
468
- {eval:{rows}{gt}{latex-table-rowlimit}} {bodyrows}
469
- {eval:{rows}{gt}{latex-table-rowlimit}} {frame$all|topbot:\hline}
470
- {eval:{rows}{gt}{latex-table-rowlimit}} \label\{{id}\}
471
- {eval:{rows}{gt}{latex-table-rowlimit}} \end\{longtable\}
472
- {eval:{rows}{lt}={latex-table-rowlimit}} {title%} \par{latex-indent-paragraphs!\noindent}
473
- {eval:{rows}{lt}={latex-table-rowlimit}} {title#} \begin\{table\}
474
- {eval:{rows}{lt}={latex-table-rowlimit}} {title#} \begin\{center\}
475
- {eval:{rows}{lt}={latex-table-rowlimit}} \hypertarget\{{id}\}\{\}
476
- {eval:{rows}{lt}={latex-table-rowlimit}} \caption\{{title}\}
477
- {eval:{rows}{lt}={latex-table-rowlimit}} \begin\{tabular\}\{
478
- {eval:{rows}{lt}={latex-table-rowlimit}} {frame$all|sides:|}
479
- {eval:{rows}{lt}={latex-table-rowlimit}} {colspecs}
480
- {eval:{rows}{lt}={latex-table-rowlimit}} {frame$all|sides:|}
481
- {eval:{rows}{lt}={latex-table-rowlimit}} \}
482
- {eval:{rows}{lt}={latex-table-rowlimit}} {frame$all|topbot:\hline}
483
- {eval:{rows}{lt}={latex-table-rowlimit}} {headrows}
484
- {eval:{rows}{lt}={latex-table-rowlimit}} {bodyrows}
485
- {eval:{rows}{lt}={latex-table-rowlimit}} {footrows}
486
- {eval:{rows}{lt}={latex-table-rowlimit}} {frame$all|topbot:\hline}
487
- {eval:{rows}{lt}={latex-table-rowlimit}} \end\{tabular\}
488
- {eval:{rows}{lt}={latex-table-rowlimit}} {title#} \end\{center\}
489
- {eval:{rows}{lt}={latex-table-rowlimit}} \label\{{id}\}
490
- {eval:{rows}{lt}={latex-table-rowlimit}} {title#} \end\{table\}
455
+ {eval:{rowcount}{gt}{latex-table-rowlimit}} \begin\{longtable\}\{
456
+ {eval:{rowcount}{gt}{latex-table-rowlimit}} {frame$all|sides:|}
457
+ {eval:{rowcount}{gt}{latex-table-rowlimit}} {colspecs}
458
+ {eval:{rowcount}{gt}{latex-table-rowlimit}} {frame$all|sides:|}
459
+ {eval:{rowcount}{gt}{latex-table-rowlimit}} \}
460
+ {eval:{rowcount}{gt}{latex-table-rowlimit}} \hypertarget\{{id}\}\{\}
461
+ {eval:{rowcount}{gt}{latex-table-rowlimit}} \caption\{{title}\}
462
+ {eval:{rowcount}{gt}{latex-table-rowlimit}} {frame$all|topbot:\hline}
463
+ {eval:{rowcount}{gt}{latex-table-rowlimit}} {headrows}
464
+ {eval:{rowcount}{gt}{latex-table-rowlimit}} {headrows#} \endhead
465
+ {eval:{rowcount}{gt}{latex-table-rowlimit}} {footrows}
466
+ {eval:{rowcount}{gt}{latex-table-rowlimit}} {footrows#} \endlastfoot
467
+ {eval:{rowcount}{gt}{latex-table-rowlimit}}
468
+ {eval:{rowcount}{gt}{latex-table-rowlimit}} {bodyrows}
469
+ {eval:{rowcount}{gt}{latex-table-rowlimit}} {frame$all|topbot:\hline}
470
+ {eval:{rowcount}{gt}{latex-table-rowlimit}} \label\{{id}\}
471
+ {eval:{rowcount}{gt}{latex-table-rowlimit}} \end\{longtable\}
472
+ {eval:{rowcount}{lt}={latex-table-rowlimit}} {title%} \par{latex-indent-paragraphs!\noindent}
473
+ {eval:{rowcount}{lt}={latex-table-rowlimit}} {title#} \begin\{table\}
474
+ {eval:{rowcount}{lt}={latex-table-rowlimit}} {title#} \begin\{center\}
475
+ {eval:{rowcount}{lt}={latex-table-rowlimit}} \hypertarget\{{id}\}\{\}
476
+ {eval:{rowcount}{lt}={latex-table-rowlimit}} \caption\{{title}\}
477
+ {eval:{rowcount}{lt}={latex-table-rowlimit}} \begin\{tabular\}\{
478
+ {eval:{rowcount}{lt}={latex-table-rowlimit}} {frame$all|sides:|}
479
+ {eval:{rowcount}{lt}={latex-table-rowlimit}} {colspecs}
480
+ {eval:{rowcount}{lt}={latex-table-rowlimit}} {frame$all|sides:|}
481
+ {eval:{rowcount}{lt}={latex-table-rowlimit}} \}
482
+ {eval:{rowcount}{lt}={latex-table-rowlimit}} {frame$all|topbot:\hline}
483
+ {eval:{rowcount}{lt}={latex-table-rowlimit}} {headrows}
484
+ {eval:{rowcount}{lt}={latex-table-rowlimit}} {bodyrows}
485
+ {eval:{rowcount}{lt}={latex-table-rowlimit}} {footrows}
486
+ {eval:{rowcount}{lt}={latex-table-rowlimit}} {frame$all|topbot:\hline}
487
+ {eval:{rowcount}{lt}={latex-table-rowlimit}} \end\{tabular\}
488
+ {eval:{rowcount}{lt}={latex-table-rowlimit}} {title#} \end\{center\}
489
+ {eval:{rowcount}{lt}={latex-table-rowlimit}} \label\{{id}\}
490
+ {eval:{rowcount}{lt}={latex-table-rowlimit}} {title#} \end\{table\}
491
491
 
492
492
  [specialsections]
493
493
  ifdef::doctype-article[]
@@ -173,6 +173,7 @@ dt {
173
173
 
174
174
  dt span.term {
175
175
  font-style: normal;
176
+ color: navy;
176
177
  }
177
178
 
178
179
  div.variablelist dd p {
@@ -211,6 +211,7 @@ dt {
211
211
  margin-top: 0.5em;
212
212
  margin-bottom: 0;
213
213
  font-style: normal;
214
+ color: navy;
214
215
  }
215
216
  dd > *:first-child {
216
217
  margin-top: 0.1em;
@@ -226,6 +227,13 @@ div.olist2 > ol {
226
227
  list-style-type: lower-alpha;
227
228
  }
228
229
 
230
+ div.compact ul, div.compact ol,
231
+ div.compact p, div.compact p,
232
+ div.compact div, div.compact div {
233
+ margin-top: 0.1em;
234
+ margin-bottom: 0.1em;
235
+ }
236
+
229
237
  div.tableblock > table {
230
238
  border: 3px solid #527bbd;
231
239
  }
@@ -236,22 +244,49 @@ thead {
236
244
  tfoot {
237
245
  font-weight: bold;
238
246
  }
247
+ td > div.verse {
248
+ white-space: pre;
249
+ }
250
+ p.table {
251
+ margin-top: 0;
252
+ }
253
+ /* Because the table frame attribute is overriden by CSS in most browsers. */
254
+ div.tableblock > table[frame="void"] {
255
+ border-style: none;
256
+ }
257
+ div.tableblock > table[frame="hsides"] {
258
+ border-left-style: none;
259
+ border-right-style: none;
260
+ }
261
+ div.tableblock > table[frame="vsides"] {
262
+ border-top-style: none;
263
+ border-bottom-style: none;
264
+ }
239
265
 
240
- div.hlist {
266
+
267
+ div.hdlist {
241
268
  margin-top: 0.8em;
242
269
  margin-bottom: 0.8em;
243
270
  }
244
- div.hlist td {
271
+ div.hdlist tr {
245
272
  padding-bottom: 15px;
246
273
  }
247
- td.hlist1 {
274
+ dt.hdlist1.strong, td.hdlist1.strong {
275
+ font-weight: bold;
276
+ }
277
+ td.hdlist1 {
248
278
  vertical-align: top;
249
279
  font-style: normal;
250
280
  padding-right: 0.8em;
281
+ color: navy;
251
282
  }
252
- td.hlist2 {
283
+ td.hdlist2 {
253
284
  vertical-align: top;
254
285
  }
286
+ div.hdlist.compact tr {
287
+ margin: 0;
288
+ padding-bottom: 0;
289
+ }
255
290
 
256
291
  @media print {
257
292
  div#footer-badges { display: none; }
data/asciidoc/text.conf CHANGED
@@ -4,13 +4,13 @@
4
4
  # block elements so lynx(1) generated text output looks nicer.
5
5
 
6
6
  [paradef-default]
7
- verse-style=template="verseparagraph",filter="echo; echo; sed 's/^/ /'"
7
+ verse-style=template="verseparagraph",filter="echo; echo; sed 's/^/ /'"
8
8
 
9
9
  [paradef-literal]
10
- filter=echo; echo; sed 's/^/ /'
10
+ filter=echo; echo; sed 's/^/ /'
11
11
 
12
12
  [blockdef-listing]
13
- filter=echo; sed 's/^/ /'
13
+ filter=echo; sed 's/^/ /'
14
14
 
15
15
  [blockdef-literal]
16
- filter=echo; sed 's/^/ /'
16
+ filter=echo; sed 's/^/ /'
@@ -23,39 +23,41 @@ syn region asciidocIdMarker start=/^\$Id:\s/ end=/\s\$$/
23
23
  syn match asciidocCallout /\\\@<!<\d\{1,2}>/
24
24
  syn match asciidocListBlockDelimiter /^--$/
25
25
  syn match asciidocLineBreak /[ \t]+$/
26
- syn match asciidocRuler /^'\{4,}$/
26
+ syn match asciidocRuler /^'\{3,}$/
27
+ syn match asciidocPagebreak /^<\{3,}$/
28
+ syn match asciidocEntityRef /\\\@<!&[#a-zA-Z]\S\{-};/
27
29
  " The tricky part is not triggering on indented list items that are also
28
30
  " preceeded by blank line, handles only bulleted items (see 'Limitations' above
29
31
  " for workarounds).
30
32
  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\|\/\)/
33
+ syn match asciidocListBullet /^\s*\zs[-*]\ze\s/
34
+ syn match asciidocListNumber /^\s*\zs\(\(\d\+\.\)\|\.\{1,2}\|\(\l\.\)\)\ze\s\+/
35
+ syn match asciidocURL /\\\@<!\<\(http\|https\|ftp\|file\|irc\):\/\/[^| \t]*\(\w\|\/\)/
34
36
  syn match asciidocEmail /\\\@<!\(\<\|<\)\w\(\w\|[.-]\)*@\(\w\|[.-]\)*\w>\?[0-9A-Za-z_.]\@!/
35
- syn match asciidocAttributeRef /{\(\w\|-\)\+}/
37
+ syn match asciidocAttributeRef /\\\@<!{\w\(\w\|-\)*\([=!@#$%?:].*\)\?}/
36
38
  syn match asciidocAdmonition /^\u\{3,15}:\(\s\+.*\)\@=/
37
- syn region asciidocAttributeEntry start=/^:\w/ end=/:\(\s\|$\)/ oneline
38
- syn match asciidocCommentLine "^//\([^/].*\|\)$" contains=asciidocToDo
39
39
 
40
40
  " As a damage control measure quoted patterns always terminate at a blank
41
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=/^$/
42
+ syn match asciidocQuotedSubscript /\\\@<!\~\S\_.\{-}\(\~\|\n\s*\n\)/
43
+ syn match asciidocQuotedSuperscript /\\\@<!\^\S\_.\{-}\(\^\|\n\s*\n\)/
44
+ syn match asciidocQuotedMonospaced /\(^\|[| \t([.,=]\)\@<=+\([ )\n]\)\@!\_.\{-}\S\(+\([| \t)[\],.?!;:=]\|$\)\@=\|\n\s*\n\)/
45
+ syn match asciidocQuotedMonospaced2 /\(^\|[| \t([.,=]\)\@<=`\([ )\n]\)\@!\_.\{-}\S\(`\([| \t)[\],.?!;:=]\|$\)\@=\|\n\s*\n\)/
46
+ syn match asciidocQuotedUnconstrainedMonospaced /\\\@<!++\S\_.\{-}\(++\|\n\s*\n\)/
47
+ syn match asciidocQuotedEmphasized /\(^\|[| \t([.,=]\)\@<=_\([ )\n]\)\@!\_.\{-}\S\(_\([| \t)[\],.?!;:=]\|$\)\@=\|\n\s*\n\)/
48
+ syn match asciidocQuotedEmphasized2 /\(^\|[| \t([.,=]\)\@<='\([ )\n]\)\@!\_.\{-}\S\('\([| \t)[\],.?!;:=]\|$\)\@=\|\n\s*\n\)/
49
+ syn match asciidocQuotedUnconstrainedEmphasized /\\\@<!__\S\_.\{-}\(__\|\n\s*\n\)/
50
+ syn match asciidocQuotedBold /\(^\|[| \t([.,=]\)\@<=\*\([ )\n]\)\@!\_.\{-}\S\(\*\([| \t)[\],.?!;:=]\|$\)\@=\|\n\s*\n\)/
51
+ syn match asciidocQuotedUnconstrainedBold /\\\@<!\*\*\S\_.\{-}\(\*\*\|\n\s*\n\)/
52
+ "syn match asciidocQuotedSingleQuoted /\(^\|[| \t([.,=]\)\@<=`\([ )\n]\)\@!\_.\{-}\S\('\([| \t)[\],.?!;:=]\|$\)\@=\|\n\s*\n\)/
53
+ " Don't allow ` in single quoted (a kludge to stop confusion with `monospaced`).
54
+ syn match asciidocQuotedSingleQuoted /\(^\|[| \t([.,=]\)\@<=`\([ )\n]\)\@!\([^`]\|\n\)\{-}[^`\s]\('\([| \t)[\],.?!;:=]\|$\)\@=\|\n\s*\n\)/
55
+ syn match asciidocQuotedDoubleQuoted /\(^\|[| \t([.,=]\)\@<=``\([ )\n]\)\@!\_.\{-}\S\(''\([| \t)[\],.?!;:=]\|$\)\@=\|\n\s*\n\)/
56
+
57
+ syn match asciidocDoubleDollarPassthrough /\\\@<!\(^\|[^0-9a-zA-Z$]\)\@<=\$\$..\{-}\(\$\$\([^0-9a-zA-Z$]\|$\)\@=\|^$\)/
58
+ syn match asciidocTriplePlusPassthrough /\\\@<!\(^\|[^0-9a-zA-Z$]\)\@<=+++..\{-}\(+++\([^0-9a-zA-Z$]\|$\)\@=\|^$\)/
59
+
60
+ syn region asciidocTable_OLD start=/^\([`.']\d*[-~_]*\)\+[-~_]\+\d*$/ end=/^$/
59
61
  syn match asciidocBlockTitle /^\.[^. \t].*[^-~_]$/ contains=asciidocQuoted.*,asciidocAttributeRef
60
62
  syn match asciidocOneLineTitle /^=\{1,5}\s\+\S.*$/ contains=asciidocQuoted.*,asciidocAttributeRef
61
63
 
@@ -66,22 +68,37 @@ syn match asciidocAttributeList /^\[[^[ \t].*\]$/
66
68
  syn match asciidocQuoteBlockDelimiter /^_\{4,}$/
67
69
  syn match asciidocExampleBlockDelimiter /^=\{4,}$/
68
70
  syn match asciidocSidebarDelimiter /^*\{4,}$/
71
+
72
+ "See http://vimdoc.sourceforge.net/htmldoc/usr_44.html for excluding region
73
+ "contents from highlighting.
74
+ syn match asciidocTablePrefix /\(\d\+\*\)\?|/ containedin=asciidocTableBlock contained
75
+ syn region asciidocTableBlock matchgroup=asciidocTableDelimiter start=/^|=\{3,}$/ end=/^|=\{3,}$/ keepend contains=ALL
76
+ syn match asciidocTablePrefix2 /\(\d\+\*\)\?!/ containedin=asciidocTableBlock2 contained
77
+ syn region asciidocTableBlock2 matchgroup=asciidocTableDelimiter2 start=/^!=\{3,}$/ end=/^!=\{3,}$/ keepend contains=ALL
78
+
69
79
  syn match asciidocListContinuation /^+$/
70
80
  syn region asciidocLiteralBlock start=/^\.\{4,}$/ end=/^\.\{4,}$/ contains=asciidocCallout keepend
71
81
  syn region asciidocListingBlock start=/^-\{4,}$/ end=/^-\{4,}$/ contains=asciidocCallout keepend
72
- syn region asciidocCommentBlock start="^/\{4,}$" end="^/\{4,}$"
82
+ syn region asciidocCommentBlock start="^/\{4,}$" end="^/\{4,}$" contains=asciidocToDo
73
83
  syn region asciidocPassthroughBlock start="^+\{4,}$" end="^+\{4,}$"
74
84
  " Allowing leading \w characters in the filter delimiter is to accomodate
75
85
  " the pre version 8.2.7 syntax and may be removed in future releases.
76
86
  syn region asciidocFilterBlock start=/^\w*\~\{4,}$/ end=/^\w*\~\{4,}$/
77
87
 
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
88
+ syn region asciidocMacroAttributes matchgroup=asciidocRefMacro start=/\\\@<!<<"\{-}\w\(\w\|-\)*"\?,\?/ end=/\(>>\)\|^$/ contains=asciidocQuoted.* keepend
89
+ syn region asciidocMacroAttributes matchgroup=asciidocAnchorMacro start=/\\\@<!\[\{2}\(\w\|-\)\+,\?/ end=/\]\{2}/ keepend
90
+ syn region asciidocMacroAttributes matchgroup=asciidocAnchorMacro start=/\\\@<!\[\{3}\(\w\|-\)\+/ end=/\]\{3}/ keepend
91
+ syn region asciidocMacroAttributes matchgroup=asciidocMacro start=/[\\0-9a-zA-Z]\@<!\w\(\w\|-\)*:\S\{-}\[/ skip=/\\\]/ end=/\]\|^$/ contains=asciidocQuoted.* keepend
92
+ syn region asciidocMacroAttributes matchgroup=asciidocIndexTerm start=/\\\@<!(\{2,3}/ end=/)\{2,3}/ contains=asciidocQuoted.* keepend
83
93
  syn region asciidocMacroAttributes matchgroup=asciidocAttributeMacro start=/\({\(\w\|-\)\+}\)\@<=\[/ skip=/\\\]/ end=/\]/ keepend
84
94
 
95
+ syn match asciidocCommentLine "^//\([^/].*\|\)$" contains=asciidocToDo
96
+
97
+ syn region asciidocVLabel start=/^\s*/ end=/\(::\|;;\)$/ oneline contains=asciidocQuoted.*,asciidocMacroAttributes keepend
98
+ syn region asciidocHLabel start=/^\s*/ end=/\(::\|;;\)\(\s\+\|\\$\)/ oneline contains=asciidocQuoted.*,asciidocMacroAttributes keepend
99
+
100
+ syn region asciidocAttributeEntry start=/^:\w/ end=/:\(\s\|$\)/ oneline
101
+
85
102
  highlight link asciidocMacroAttributes Label
86
103
  highlight link asciidocIdMarker Special
87
104
  highlight link asciidocDoubleDollarPassthrough Special
@@ -101,7 +118,13 @@ highlight link asciidocListBullet Label
101
118
  highlight link asciidocListNumber Label
102
119
  highlight link asciidocVLabel Label
103
120
  highlight link asciidocHLabel Label
104
- highlight link asciidocTable Type
121
+ highlight link asciidocTable_OLD Type
122
+ highlight link asciidocTableDelimiter Label
123
+ highlight link asciidocTableBlock NONE
124
+ highlight link asciidocTablePrefix Label
125
+ highlight link asciidocTableDelimiter2 Label
126
+ highlight link asciidocTableBlock2 NONE
127
+ highlight link asciidocTablePrefix2 Label
105
128
  highlight link asciidocListBlockDelimiter Label
106
129
  highlight link asciidocListContinuation Label
107
130
  highlight link asciidocLiteralParagraph Identifier
@@ -121,7 +144,8 @@ highlight link asciidocQuotedUnconstrainedEmphasized Type
121
144
  highlight link asciidocQuotedMonospaced Identifier
122
145
  highlight link asciidocQuotedMonospaced2 Identifier
123
146
  highlight link asciidocQuotedUnconstrainedMonospaced Identifier
124
- highlight link asciidocQuotedQuoted Label
147
+ highlight link asciidocQuotedSingleQuoted Label
148
+ highlight link asciidocQuotedDoubleQuoted Label
125
149
  highlight link asciidocToDo Todo
126
150
  highlight link asciidocCommentLine Comment
127
151
  highlight link asciidocAdmonition Special
@@ -129,9 +153,11 @@ highlight link asciidocAttributeRef Special
129
153
  highlight link asciidocAttributeList Special
130
154
  highlight link asciidocAttributeEntry Special
131
155
  highlight link asciidocBackslash Special
156
+ highlight link asciidocEntityRef Special
132
157
  highlight link asciidocCallout Label
133
158
  highlight link asciidocLineBreak Special
134
159
  highlight link asciidocRuler Type
160
+ highlight link asciidocPagebreak Type
135
161
  highlight link asciidocURL Macro
136
162
 
137
163
  let b:current_syntax = "asciidoc"