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.
- data/README.markdown +1 -1
- data/Rakefile +14 -2
- data/asciidoc/BUGS +11 -6
- data/asciidoc/BUGS.txt +7 -3
- data/asciidoc/CHANGELOG +313 -151
- data/asciidoc/CHANGELOG.txt +177 -12
- data/asciidoc/INSTALL +30 -36
- data/asciidoc/INSTALL.txt +20 -20
- data/asciidoc/Makefile.in +145 -0
- data/asciidoc/README +11 -11
- data/asciidoc/README.txt +9 -9
- data/asciidoc/a2x +40 -7
- data/asciidoc/asciidoc.conf +180 -126
- data/asciidoc/asciidoc.py +1667 -977
- data/asciidoc/common.aap +2 -2
- data/asciidoc/configure +2840 -0
- data/asciidoc/configure.ac +11 -0
- data/asciidoc/dblatex/asciidoc-dblatex.sty +2 -0
- data/asciidoc/dblatex/asciidoc-dblatex.xsl +15 -0
- data/asciidoc/dblatex/dblatex-readme.txt +19 -2
- data/asciidoc/doc/a2x.1 +77 -67
- data/asciidoc/doc/a2x.1.txt +11 -2
- data/asciidoc/doc/article.css-embedded.html +85 -63
- data/asciidoc/doc/article.html +644 -62
- data/asciidoc/doc/article.pdf +0 -0
- data/asciidoc/doc/article.txt +15 -17
- data/asciidoc/doc/asciidoc.1 +34 -40
- data/asciidoc/doc/asciidoc.1.css-embedded.html +67 -32
- data/asciidoc/doc/asciidoc.1.css.html +28 -28
- data/asciidoc/doc/asciidoc.1.html +33 -33
- data/asciidoc/doc/asciidoc.css-embedded.html +2234 -2348
- data/asciidoc/doc/asciidoc.css.html +2203 -2352
- data/asciidoc/doc/asciidoc.dict +52 -1
- data/asciidoc/doc/asciidoc.html +980 -1160
- data/asciidoc/doc/asciidoc.txt +941 -738
- data/asciidoc/doc/asciimathml.txt +63 -0
- data/asciidoc/doc/book-multi.html +26 -43
- data/asciidoc/doc/book-multi.txt +19 -23
- data/asciidoc/doc/book.css-embedded.html +92 -71
- data/asciidoc/doc/book.html +24 -41
- data/asciidoc/doc/book.txt +19 -21
- data/asciidoc/doc/docbook-xsl.css +1 -0
- data/asciidoc/doc/faq.txt +288 -60
- data/asciidoc/doc/images +1 -0
- data/asciidoc/doc/latex-backend.html +16 -123
- data/asciidoc/doc/latex-backend.txt +17 -19
- data/asciidoc/doc/latexmath.txt +233 -24
- data/asciidoc/doc/latexmathml.txt +41 -0
- data/asciidoc/doc/main.aap +9 -5
- data/asciidoc/doc/music-filter.pdf +0 -0
- data/asciidoc/doc/music-filter.txt +2 -2
- data/asciidoc/doc/source-highlight-filter.html +476 -105
- data/asciidoc/doc/source-highlight-filter.pdf +0 -0
- data/asciidoc/doc/source-highlight-filter.txt +39 -10
- data/asciidoc/docbook-xsl/asciidoc-docbook-xsl.txt +1 -29
- data/asciidoc/docbook-xsl/fo.xsl +35 -3
- data/asciidoc/docbook-xsl/manpage.xsl +3 -0
- data/asciidoc/docbook-xsl/text.xsl +50 -0
- data/asciidoc/docbook.conf +182 -73
- data/asciidoc/examples/website/ASCIIMathML.js +1 -0
- data/asciidoc/examples/website/CHANGELOG.html +618 -182
- data/asciidoc/examples/website/CHANGELOG.txt +1 -0
- data/asciidoc/examples/website/INSTALL.html +34 -36
- data/asciidoc/examples/website/INSTALL.txt +1 -0
- data/asciidoc/examples/website/LaTeXMathML.js +1 -0
- data/asciidoc/examples/website/README-website.html +26 -37
- data/asciidoc/examples/website/README-website.txt +6 -6
- data/asciidoc/examples/website/README.html +15 -15
- data/asciidoc/examples/website/README.txt +1 -0
- data/asciidoc/examples/website/a2x.1.html +74 -50
- data/asciidoc/examples/website/a2x.1.txt +1 -0
- data/asciidoc/examples/website/asciidoc-docbook-xsl.html +13 -48
- data/asciidoc/examples/website/asciidoc-docbook-xsl.txt +1 -0
- data/asciidoc/examples/website/asciimathml.txt +1 -0
- data/asciidoc/examples/website/customers.csv +1 -0
- data/asciidoc/examples/website/downloads.html +69 -31
- data/asciidoc/examples/website/downloads.txt +28 -5
- data/asciidoc/examples/website/faq.html +370 -124
- data/asciidoc/examples/website/faq.txt +1 -0
- data/asciidoc/examples/website/images +1 -0
- data/asciidoc/examples/website/index.html +64 -64
- data/asciidoc/examples/website/index.txt +22 -15
- data/asciidoc/examples/website/latex-backend.html +152 -257
- data/asciidoc/examples/website/latex-backend.txt +1 -0
- data/asciidoc/examples/website/latexmathml.txt +1 -0
- data/asciidoc/examples/website/manpage.html +27 -27
- data/asciidoc/examples/website/manpage.txt +1 -0
- data/asciidoc/examples/website/music-filter.html +18 -18
- data/asciidoc/examples/website/music-filter.txt +1 -0
- data/asciidoc/examples/website/music1.abc +1 -1
- data/asciidoc/examples/website/music1.png +0 -0
- data/asciidoc/examples/website/music2.ly +1 -1
- data/asciidoc/examples/website/music2.png +0 -0
- data/asciidoc/examples/website/newlists.txt +40 -0
- data/asciidoc/examples/website/newtables.txt +397 -0
- data/asciidoc/examples/website/source-highlight-filter.html +67 -32
- data/asciidoc/examples/website/source-highlight-filter.txt +1 -0
- data/asciidoc/examples/website/support.html +4 -4
- data/asciidoc/examples/website/toc.js +1 -0
- data/asciidoc/examples/website/userguide.html +2190 -2339
- data/asciidoc/examples/website/userguide.txt +1 -0
- data/asciidoc/examples/website/version83.txt +37 -0
- data/asciidoc/examples/website/version9.html +13 -13
- data/asciidoc/examples/website/xhtml11-manpage.css +1 -0
- data/asciidoc/examples/website/xhtml11-quirks.css +1 -0
- data/asciidoc/examples/website/xhtml11.css +1 -0
- data/asciidoc/filters/code-filter-readme.txt +3 -3
- data/asciidoc/filters/code-filter-test.txt +6 -6
- data/asciidoc/filters/source-highlight-filter.conf +12 -5
- data/asciidoc/html4.conf +152 -58
- data/asciidoc/install-sh +201 -0
- data/asciidoc/latex.conf +41 -41
- data/asciidoc/stylesheets/docbook-xsl.css +1 -0
- data/asciidoc/stylesheets/xhtml11.css +39 -4
- data/asciidoc/text.conf +4 -4
- data/asciidoc/vim/syntax/asciidoc.vim +58 -32
- data/asciidoc/wordpress.conf +48 -0
- data/asciidoc/xhtml11-quirks.conf +1 -1
- data/asciidoc/xhtml11.conf +198 -70
- data/bin/mizuho +5 -2
- data/lib/mizuho/generator.rb +48 -19
- data/mizuho.gemspec +16 -6
- metadata +58 -15
- data/asciidoc/doc/asciimath.txt +0 -47
- data/asciidoc/docbook-xsl/shaded-literallayout.patch +0 -32
- data/asciidoc/examples/website/asciimath.html +0 -157
- data/asciidoc/examples/website/latexmath.html +0 -119
- data/asciidoc/filters/code-filter-test-c++.txt +0 -7
- data/asciidoc/install.sh +0 -55
- data/asciidoc/linuxdoc.conf +0 -285
- data/asciidoc/math.conf +0 -50
- data/asciidoc/stylesheets/xhtml-deprecated-manpage.css +0 -21
- data/asciidoc/stylesheets/xhtml-deprecated.css +0 -247
- data/asciidoc/t.conf +0 -20
- data/asciidoc/xhtml-deprecated-css.conf +0 -235
- data/asciidoc/xhtml-deprecated.conf +0 -351
data/asciidoc/install-sh
ADDED
@@ -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
|
-
|
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=
|
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@{
|
446
|
-
footdata=\{\bfseries\{\}%|\} {colnumber@{
|
447
|
-
bodydata=%| {colnumber@{
|
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:{
|
456
|
-
{eval:{
|
457
|
-
{eval:{
|
458
|
-
{eval:{
|
459
|
-
{eval:{
|
460
|
-
{eval:{
|
461
|
-
{eval:{
|
462
|
-
{eval:{
|
463
|
-
{eval:{
|
464
|
-
{eval:{
|
465
|
-
{eval:{
|
466
|
-
{eval:{
|
467
|
-
{eval:{
|
468
|
-
{eval:{
|
469
|
-
{eval:{
|
470
|
-
{eval:{
|
471
|
-
{eval:{
|
472
|
-
{eval:{
|
473
|
-
{eval:{
|
474
|
-
{eval:{
|
475
|
-
{eval:{
|
476
|
-
{eval:{
|
477
|
-
{eval:{
|
478
|
-
{eval:{
|
479
|
-
{eval:{
|
480
|
-
{eval:{
|
481
|
-
{eval:{
|
482
|
-
{eval:{
|
483
|
-
{eval:{
|
484
|
-
{eval:{
|
485
|
-
{eval:{
|
486
|
-
{eval:{
|
487
|
-
{eval:{
|
488
|
-
{eval:{
|
489
|
-
{eval:{
|
490
|
-
{eval:{
|
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[]
|
@@ -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
|
-
|
266
|
+
|
267
|
+
div.hdlist {
|
241
268
|
margin-top: 0.8em;
|
242
269
|
margin-bottom: 0.8em;
|
243
270
|
}
|
244
|
-
div.
|
271
|
+
div.hdlist tr {
|
245
272
|
padding-bottom: 15px;
|
246
273
|
}
|
247
|
-
td.
|
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.
|
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 /^'\{
|
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
|
32
|
-
syn match asciidocListNumber /^\s*\(\(\d\+\.\)\|\.\{1,2}\|\(\l\.\)\)\s\+/
|
33
|
-
syn match asciidocURL /\\\@<!\<\(http\|https\|ftp\|file\)
|
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
|
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
|
43
|
-
syn
|
44
|
-
syn
|
45
|
-
syn
|
46
|
-
syn
|
47
|
-
syn
|
48
|
-
syn
|
49
|
-
syn
|
50
|
-
syn
|
51
|
-
syn
|
52
|
-
syn
|
53
|
-
|
54
|
-
syn
|
55
|
-
syn
|
56
|
-
|
57
|
-
|
58
|
-
syn
|
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
|
79
|
-
syn region asciidocMacroAttributes matchgroup=asciidocAnchorMacro start
|
80
|
-
syn region asciidocMacroAttributes matchgroup=asciidocAnchorMacro start
|
81
|
-
syn region asciidocMacroAttributes matchgroup=asciidocMacro start
|
82
|
-
syn region asciidocMacroAttributes matchgroup=asciidocIndexTerm start
|
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
|
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
|
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"
|