FooBarWidget-mizuho 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE.txt +20 -0
- data/README.markdown +68 -0
- data/Rakefile +9 -0
- data/asciidoc/BUGS +34 -0
- data/asciidoc/BUGS.txt +28 -0
- data/asciidoc/CHANGELOG +1585 -0
- data/asciidoc/CHANGELOG.txt +1595 -0
- data/asciidoc/COPYING +339 -0
- data/asciidoc/COPYRIGHT +18 -0
- data/asciidoc/INSTALL +82 -0
- data/asciidoc/INSTALL.txt +71 -0
- data/asciidoc/README +46 -0
- data/asciidoc/README.txt +36 -0
- data/asciidoc/a2x +641 -0
- data/asciidoc/asciidoc.conf +404 -0
- data/asciidoc/asciidoc.py +4255 -0
- data/asciidoc/common.aap +9 -0
- data/asciidoc/dblatex/asciidoc-dblatex.sty +18 -0
- data/asciidoc/dblatex/asciidoc-dblatex.xsl +17 -0
- data/asciidoc/dblatex/dblatex-readme.txt +22 -0
- data/asciidoc/doc/a2x.1 +246 -0
- data/asciidoc/doc/a2x.1.txt +195 -0
- data/asciidoc/doc/article.css-embedded.html +579 -0
- data/asciidoc/doc/article.html +62 -0
- data/asciidoc/doc/article.pdf +0 -0
- data/asciidoc/doc/article.txt +124 -0
- data/asciidoc/doc/asciidoc-revhistory.xml +27 -0
- data/asciidoc/doc/asciidoc.1 +161 -0
- data/asciidoc/doc/asciidoc.1.css-embedded.html +562 -0
- data/asciidoc/doc/asciidoc.1.css.html +212 -0
- data/asciidoc/doc/asciidoc.1.html +190 -0
- data/asciidoc/doc/asciidoc.1.txt +118 -0
- data/asciidoc/doc/asciidoc.conf +8 -0
- data/asciidoc/doc/asciidoc.css-embedded.html +7954 -0
- data/asciidoc/doc/asciidoc.css.html +7553 -0
- data/asciidoc/doc/asciidoc.dict +673 -0
- data/asciidoc/doc/asciidoc.html +3502 -0
- data/asciidoc/doc/asciidoc.txt +4757 -0
- data/asciidoc/doc/asciimath.txt +47 -0
- data/asciidoc/doc/book-multi.css-embedded.html +575 -0
- data/asciidoc/doc/book-multi.html +72 -0
- data/asciidoc/doc/book-multi.txt +159 -0
- data/asciidoc/doc/book.css-embedded.html +585 -0
- data/asciidoc/doc/book.html +60 -0
- data/asciidoc/doc/book.txt +133 -0
- data/asciidoc/doc/customers.csv +18 -0
- data/asciidoc/doc/faq.txt +262 -0
- data/asciidoc/doc/latex-backend.html +224 -0
- data/asciidoc/doc/latex-backend.txt +193 -0
- data/asciidoc/doc/latexmath.txt +35 -0
- data/asciidoc/doc/main.aap +293 -0
- data/asciidoc/doc/music-filter.html +513 -0
- data/asciidoc/doc/music-filter.pdf +0 -0
- data/asciidoc/doc/music-filter.txt +158 -0
- data/asciidoc/doc/source-highlight-filter.html +183 -0
- data/asciidoc/doc/source-highlight-filter.pdf +0 -0
- data/asciidoc/doc/source-highlight-filter.txt +174 -0
- data/asciidoc/docbook-xsl/asciidoc-docbook-xsl.txt +71 -0
- data/asciidoc/docbook-xsl/chunked.xsl +19 -0
- data/asciidoc/docbook-xsl/common.xsl +67 -0
- data/asciidoc/docbook-xsl/fo.xsl +117 -0
- data/asciidoc/docbook-xsl/htmlhelp.xsl +17 -0
- data/asciidoc/docbook-xsl/manpage.xsl +28 -0
- data/asciidoc/docbook-xsl/shaded-literallayout.patch +32 -0
- data/asciidoc/docbook-xsl/xhtml.xsl +14 -0
- data/asciidoc/docbook.conf +606 -0
- data/asciidoc/examples/website/CHANGELOG.html +3828 -0
- data/asciidoc/examples/website/INSTALL.html +163 -0
- data/asciidoc/examples/website/README-website.html +129 -0
- data/asciidoc/examples/website/README-website.txt +29 -0
- data/asciidoc/examples/website/README.html +125 -0
- data/asciidoc/examples/website/a2x.1.html +395 -0
- data/asciidoc/examples/website/asciidoc-docbook-xsl.html +165 -0
- data/asciidoc/examples/website/asciimath.html +157 -0
- data/asciidoc/examples/website/build-website.sh +25 -0
- data/asciidoc/examples/website/downloads.html +219 -0
- data/asciidoc/examples/website/downloads.txt +98 -0
- data/asciidoc/examples/website/faq.html +372 -0
- data/asciidoc/examples/website/index.html +398 -0
- data/asciidoc/examples/website/index.txt +222 -0
- data/asciidoc/examples/website/latex-backend.html +640 -0
- data/asciidoc/examples/website/latexmath.html +119 -0
- data/asciidoc/examples/website/layout1.conf +161 -0
- data/asciidoc/examples/website/layout1.css +65 -0
- data/asciidoc/examples/website/layout2.conf +158 -0
- data/asciidoc/examples/website/layout2.css +93 -0
- data/asciidoc/examples/website/manpage.html +266 -0
- data/asciidoc/examples/website/music-filter.html +242 -0
- data/asciidoc/examples/website/music1.abc +12 -0
- data/asciidoc/examples/website/music1.png +0 -0
- data/asciidoc/examples/website/music2.ly +9 -0
- data/asciidoc/examples/website/music2.png +0 -0
- data/asciidoc/examples/website/source-highlight-filter.html +251 -0
- data/asciidoc/examples/website/support.html +78 -0
- data/asciidoc/examples/website/support.txt +5 -0
- data/asciidoc/examples/website/userguide.html +7597 -0
- data/asciidoc/examples/website/version9.html +143 -0
- data/asciidoc/examples/website/version9.txt +48 -0
- data/asciidoc/filters/code-filter-readme.txt +37 -0
- data/asciidoc/filters/code-filter-test-c++.txt +7 -0
- data/asciidoc/filters/code-filter-test.txt +15 -0
- data/asciidoc/filters/code-filter.conf +8 -0
- data/asciidoc/filters/code-filter.py +239 -0
- data/asciidoc/filters/music-filter-test.txt +40 -0
- data/asciidoc/filters/music-filter.conf +40 -0
- data/asciidoc/filters/music2png.py +189 -0
- data/asciidoc/filters/source-highlight-filter-test.txt +19 -0
- data/asciidoc/filters/source-highlight-filter.conf +100 -0
- data/asciidoc/help.conf +213 -0
- data/asciidoc/html4.conf +363 -0
- data/asciidoc/images/highlighter.png +0 -0
- data/asciidoc/images/icons/README +5 -0
- data/asciidoc/images/icons/callouts/1.png +0 -0
- data/asciidoc/images/icons/callouts/10.png +0 -0
- data/asciidoc/images/icons/callouts/11.png +0 -0
- data/asciidoc/images/icons/callouts/12.png +0 -0
- data/asciidoc/images/icons/callouts/13.png +0 -0
- data/asciidoc/images/icons/callouts/14.png +0 -0
- data/asciidoc/images/icons/callouts/15.png +0 -0
- data/asciidoc/images/icons/callouts/2.png +0 -0
- data/asciidoc/images/icons/callouts/3.png +0 -0
- data/asciidoc/images/icons/callouts/4.png +0 -0
- data/asciidoc/images/icons/callouts/5.png +0 -0
- data/asciidoc/images/icons/callouts/6.png +0 -0
- data/asciidoc/images/icons/callouts/7.png +0 -0
- data/asciidoc/images/icons/callouts/8.png +0 -0
- data/asciidoc/images/icons/callouts/9.png +0 -0
- data/asciidoc/images/icons/caution.png +0 -0
- data/asciidoc/images/icons/example.png +0 -0
- data/asciidoc/images/icons/home.png +0 -0
- data/asciidoc/images/icons/important.png +0 -0
- data/asciidoc/images/icons/next.png +0 -0
- data/asciidoc/images/icons/note.png +0 -0
- data/asciidoc/images/icons/prev.png +0 -0
- data/asciidoc/images/icons/tip.png +0 -0
- data/asciidoc/images/icons/up.png +0 -0
- data/asciidoc/images/icons/warning.png +0 -0
- data/asciidoc/images/smallnew.png +0 -0
- data/asciidoc/images/tiger.png +0 -0
- data/asciidoc/install.sh +55 -0
- data/asciidoc/javascripts/ASCIIMathML.js +938 -0
- data/asciidoc/javascripts/LaTeXMathML.js +1223 -0
- data/asciidoc/javascripts/toc.js +69 -0
- data/asciidoc/lang-es.conf +15 -0
- data/asciidoc/latex.conf +663 -0
- data/asciidoc/linuxdoc.conf +285 -0
- data/asciidoc/math.conf +50 -0
- data/asciidoc/stylesheets/docbook-xsl.css +271 -0
- data/asciidoc/stylesheets/xhtml-deprecated-manpage.css +21 -0
- data/asciidoc/stylesheets/xhtml-deprecated.css +247 -0
- data/asciidoc/stylesheets/xhtml11-manpage.css +18 -0
- data/asciidoc/stylesheets/xhtml11-quirks.css +49 -0
- data/asciidoc/stylesheets/xhtml11.css +284 -0
- data/asciidoc/t.conf +20 -0
- data/asciidoc/text.conf +16 -0
- data/asciidoc/vim/ftdetect/asciidoc_filetype.vim +53 -0
- data/asciidoc/vim/syntax/asciidoc.vim +139 -0
- data/asciidoc/xhtml-deprecated-css.conf +235 -0
- data/asciidoc/xhtml-deprecated.conf +351 -0
- data/asciidoc/xhtml11-quirks.conf +57 -0
- data/asciidoc/xhtml11.conf +514 -0
- data/bin/mizuho +40 -0
- data/lib/mizuho/chapter.rb +54 -0
- data/lib/mizuho/generator.rb +106 -0
- data/lib/mizuho/heading.rb +46 -0
- data/lib/mizuho/parser.rb +99 -0
- data/lib/mizuho/template.rb +50 -0
- data/mizuho.gemspec +34 -0
- data/templates/asciidoc.css +358 -0
- data/templates/asciidoc.html.erb +86 -0
- data/templates/manualsonrails.css +165 -0
- data/templates/manualsonrails.html.erb +97 -0
- data/test/parser_spec.rb +190 -0
- data/test/spec_helper.rb +43 -0
- metadata +234 -0
@@ -0,0 +1,69 @@
|
|
1
|
+
/* Author: Mihai Bazon, September 2002
|
2
|
+
* http://students.infoiasi.ro/~mishoo
|
3
|
+
*
|
4
|
+
* Table Of Content generator
|
5
|
+
* Version: 0.4
|
6
|
+
*
|
7
|
+
* Feel free to use this script under the terms of the GNU General Public
|
8
|
+
* License, as long as you do not remove or alter this notice.
|
9
|
+
*/
|
10
|
+
|
11
|
+
/* modified by Troy D. Hanson, September 2006. License: GPL */
|
12
|
+
/* modified by Stuart Rackham, October 2006. License: GPL */
|
13
|
+
|
14
|
+
function getText(el) {
|
15
|
+
var text = "";
|
16
|
+
for (var i = el.firstChild; i != null; i = i.nextSibling) {
|
17
|
+
if (i.nodeType == 3 /* Node.TEXT_NODE */) // IE doesn't speak constants.
|
18
|
+
text += i.data;
|
19
|
+
else if (i.firstChild != null)
|
20
|
+
text += getText(i);
|
21
|
+
}
|
22
|
+
return text;
|
23
|
+
}
|
24
|
+
|
25
|
+
function TocEntry(el, text, toclevel) {
|
26
|
+
this.element = el;
|
27
|
+
this.text = text;
|
28
|
+
this.toclevel = toclevel;
|
29
|
+
}
|
30
|
+
|
31
|
+
function tocEntries(el, toclevels) {
|
32
|
+
var result = new Array;
|
33
|
+
var re = new RegExp('[hH]([2-'+(toclevels+1)+'])');
|
34
|
+
// Function that scans the DOM tree for header elements (the DOM2
|
35
|
+
// nodeIterator API would be a better technique but not supported by all
|
36
|
+
// browsers).
|
37
|
+
var iterate = function (el) {
|
38
|
+
for (var i = el.firstChild; i != null; i = i.nextSibling) {
|
39
|
+
if (i.nodeType == 1 /* Node.ELEMENT_NODE */) {
|
40
|
+
var mo = re.exec(i.tagName)
|
41
|
+
if (mo)
|
42
|
+
result[result.length] = new TocEntry(i, getText(i), mo[1]-1);
|
43
|
+
iterate(i);
|
44
|
+
}
|
45
|
+
}
|
46
|
+
}
|
47
|
+
iterate(el);
|
48
|
+
return result;
|
49
|
+
}
|
50
|
+
|
51
|
+
// This function does the work. toclevels = 1..4.
|
52
|
+
function generateToc(toclevels) {
|
53
|
+
var toc = document.getElementById("toc");
|
54
|
+
var entries = tocEntries(document.getElementsByTagName("body")[0], toclevels);
|
55
|
+
for (var i = 0; i < entries.length; ++i) {
|
56
|
+
var entry = entries[i];
|
57
|
+
if (entry.element.id == "")
|
58
|
+
entry.element.id = "toc" + i;
|
59
|
+
var a = document.createElement("a");
|
60
|
+
a.href = "#" + entry.element.id;
|
61
|
+
a.appendChild(document.createTextNode(entry.text));
|
62
|
+
var div = document.createElement("div");
|
63
|
+
div.appendChild(a);
|
64
|
+
div.className = "toclevel" + entry.toclevel;
|
65
|
+
toc.appendChild(div);
|
66
|
+
}
|
67
|
+
if (entries.length == 0)
|
68
|
+
document.getElementById("header").removeChild(toc);
|
69
|
+
}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
[attributes]
|
2
|
+
|
3
|
+
ifdef::basebackend-html[]
|
4
|
+
|
5
|
+
# Captions, used by HTML backends.
|
6
|
+
caution_caption=Atención
|
7
|
+
important_caption=Importante
|
8
|
+
note_caption=Nota
|
9
|
+
tip_caption=Sugerencia
|
10
|
+
warning_caption=Aviso
|
11
|
+
figure_caption="Figura: "
|
12
|
+
table_caption="Tabla: "
|
13
|
+
|
14
|
+
endif::basebackend-html[]
|
15
|
+
|
data/asciidoc/latex.conf
ADDED
@@ -0,0 +1,663 @@
|
|
1
|
+
#
|
2
|
+
# latex.conf
|
3
|
+
#
|
4
|
+
# Asciidoc configuration file.
|
5
|
+
# latex backend, generates LaTeX conformant markup.
|
6
|
+
#
|
7
|
+
|
8
|
+
[titles]
|
9
|
+
subs=quotes,replacements,attributes,macros,specialcharacters,replacements2
|
10
|
+
|
11
|
+
|
12
|
+
# The listing block uses a LaTeX verbatim environment where special characters don't need to be escaped.
|
13
|
+
# Hence only "callouts" substitution should be applied.
|
14
|
+
[blockdef-listing]
|
15
|
+
subs=callouts
|
16
|
+
|
17
|
+
|
18
|
+
[attributes]
|
19
|
+
basebackend=latex
|
20
|
+
basebackend-latex=
|
21
|
+
|
22
|
+
latex-table-rowlimit=20
|
23
|
+
latex-use-bibliography-environment!
|
24
|
+
latex-indent-paragraphs!
|
25
|
+
latex-recognize-escaped-unicode!
|
26
|
+
latex-use-custom-list-items!
|
27
|
+
latex-use-colored-tables!
|
28
|
+
latex-use-running-title-headings!
|
29
|
+
latex-use-colored-sidebar-blocks!
|
30
|
+
|
31
|
+
[miscellaneous]
|
32
|
+
subsnormal=quotes,specialwords,replacements,attributes,macros,passthroughs,specialcharacters,replacements2
|
33
|
+
subsverbatim=callouts,specialcharacters
|
34
|
+
outfilesuffix=.tex
|
35
|
+
# Screen width in pixels.
|
36
|
+
pagewidth=418
|
37
|
+
pageunits=pt
|
38
|
+
|
39
|
+
|
40
|
+
[specialcharacters]
|
41
|
+
{=\{{}
|
42
|
+
}=\}{}
|
43
|
+
\=\textbackslash{}
|
44
|
+
$=\${}
|
45
|
+
<=\textless{}
|
46
|
+
>=\textgreater{}
|
47
|
+
&=\&{}
|
48
|
+
_=\_{}
|
49
|
+
%=\%{}
|
50
|
+
\#=\#{}
|
51
|
+
^=\textasciicircum{}
|
52
|
+
~=\textasciitilde{}
|
53
|
+
|=\textbar{}
|
54
|
+
"=\textquotedbl{}
|
55
|
+
|
56
|
+
|
57
|
+
[macros]
|
58
|
+
# I needed to rewrite some regular expressions because '<' and '>' have not been escaped to '<' and '>'
|
59
|
+
|
60
|
+
# Callout
|
61
|
+
[\\]?<(?P<index>\d+)>=callout
|
62
|
+
|
63
|
+
# Link: <<id,text>>
|
64
|
+
(?su)[\\]?<<(?P<attrlist>[\w"].*?)>>=xref2
|
65
|
+
|
66
|
+
[replacements]
|
67
|
+
|
68
|
+
# Line break.
|
69
|
+
(?m)^(.*)\s\+$=\1 !..backslash..!newline!..braceleft..!!..braceright..!
|
70
|
+
|
71
|
+
# -- Spaced em dashes (entity reference —)
|
72
|
+
(^|[^-\\])--($|[^-])=\1--\2
|
73
|
+
|
74
|
+
|
75
|
+
# (C) Copyright (entity reference ©)
|
76
|
+
(?<!\\)\(C\)=!..backslash..!textcopyright!..braceleft..!!..braceright..!
|
77
|
+
\\\(C\)=(C)
|
78
|
+
|
79
|
+
# (R) registered trade mark (entity reference ®
|
80
|
+
(?<!\\)\(R\)=!..backslash..!textregistered!..braceleft..!!..braceright..!
|
81
|
+
\\\(R\)=(R)
|
82
|
+
|
83
|
+
# (TM) Trademark (entity reference ™)
|
84
|
+
(?<!\\)\(TM\)=!..backslash..!texttrademark!..braceleft..!!..braceright..!
|
85
|
+
\\\(TM\)=(TM)
|
86
|
+
|
87
|
+
# ... Ellipsis (entity reference …)
|
88
|
+
(?<!\\)\.\.\.=!..backslash..!dots!..braceleft..!!..braceright..!
|
89
|
+
\\\.\.\.=...
|
90
|
+
|
91
|
+
# Recognize escaped unicode characters
|
92
|
+
ifdef::latex-recognize-escaped-unicode[]
|
93
|
+
\{amp\}#([0-9]*);=!..backslash..!unichar!..braceleft..!\1!..braceright..!
|
94
|
+
\{amp\}#x([0123456789abcdefABCDEF]*);=!..backslash..!unichar!..braceleft..!{eval:0x\1}!..braceright..!
|
95
|
+
endif::latex-recognize-escaped-unicode[]
|
96
|
+
|
97
|
+
# -> right arrow
|
98
|
+
->=!..backslash..!textrightarrow!..braceleft..!!..braceright..!
|
99
|
+
# => right double arrow (have to enter math mode)
|
100
|
+
=>=!..dollar..!!..backslash..!Rightarrow!..braceleft..!!..braceright..!!..dollar..!
|
101
|
+
# <- left arrow
|
102
|
+
<-=!..backslash..!textleftarrow!..braceleft..!!..braceright..!
|
103
|
+
# <= left double arrow (have to enter math mode)
|
104
|
+
<\==!..dollar..!!..backslash..!Leftarrow!..braceleft..!!..braceright..!!..dollar..!
|
105
|
+
# --> long right arrow (have to enter math mode)
|
106
|
+
-->=!..backslash..!textrightarrow!..braceleft..!!..braceright..!
|
107
|
+
# ==> long right double arrow (have to enter math mode)
|
108
|
+
=\=>=!..dollar..!!..backslash..!Rightarrow!..braceleft..!!..braceright..!!..dollar..!
|
109
|
+
# <-- long left arrow (have to enter math mode)
|
110
|
+
<--=!..backslash..!textleftarrow!..braceleft..!!..braceright..!
|
111
|
+
# <== long left double arrow (have to enter math mode)
|
112
|
+
<\=\==!..dollar..!!..backslash..!Leftarrow!..braceleft..!!..braceright..!!..dollar..!
|
113
|
+
|
114
|
+
|
115
|
+
|
116
|
+
[replacements2]
|
117
|
+
!..braceleft..!={
|
118
|
+
!..braceright..!=}
|
119
|
+
!..backslash..!=\\
|
120
|
+
!..dollar..!=$
|
121
|
+
!..lessthan..!=<
|
122
|
+
!..greaterthan..!=>
|
123
|
+
!..amp..!=&
|
124
|
+
!..underline..!=_
|
125
|
+
!..percent..!=%
|
126
|
+
!..sharp..!=#
|
127
|
+
!..circum..!=^
|
128
|
+
!..tilde..!=~
|
129
|
+
!..bar..!=|
|
130
|
+
!..doublequote..!="
|
131
|
+
|
132
|
+
|
133
|
+
|
134
|
+
# Ruler is interpreted as a page break.
|
135
|
+
[ruler-blockmacro]
|
136
|
+
\clearpage
|
137
|
+
|
138
|
+
[image-inlinemacro]
|
139
|
+
!..backslash..!href!..braceleft..!{link}!..braceright..!!..braceleft..!!..percent..!
|
140
|
+
!..backslash..!includegraphics[{scale?scale={scale},}{width?width={width}pt,}{height? height={height}pt}]!..braceleft..!{target}!..braceright..!
|
141
|
+
{link#}!..braceright..!
|
142
|
+
|
143
|
+
|
144
|
+
[image-blockmacro]
|
145
|
+
\begin\{figure\}
|
146
|
+
\hypertarget\{{id}\}\{\}
|
147
|
+
\caption\{{title}\}
|
148
|
+
\href\{{link}\}\{%
|
149
|
+
\includegraphics[{scale?scale={scale},}{width?width={width}pt,}{height? height={height}pt}]\{{target}\}%
|
150
|
+
\label\{{id}\}
|
151
|
+
{link#}\}
|
152
|
+
\end\{figure\}
|
153
|
+
|
154
|
+
[indexterm-inlinemacro]
|
155
|
+
# Inline index term.
|
156
|
+
!..backslash..!index!..braceleft..!{1}{2?!{2}}{3?!{3}}!..braceright..!
|
157
|
+
|
158
|
+
[indexterm2-inlinemacro]
|
159
|
+
# Inline index term.
|
160
|
+
# Single entry index term that is visible in the primary text flow.
|
161
|
+
!..backslash..!index!..braceleft..!{1}!..braceright..!{1}
|
162
|
+
|
163
|
+
[footnote-inlinemacro]
|
164
|
+
# Inline footnote.
|
165
|
+
!..backslash..!footnote!..braceleft..!{0}!..braceright..!
|
166
|
+
|
167
|
+
[callout-inlinemacro]
|
168
|
+
# Inline callout.
|
169
|
+
<{index}>
|
170
|
+
|
171
|
+
[listdef-numbered2]
|
172
|
+
listtag=olist2
|
173
|
+
itemtag=olist2item
|
174
|
+
texttag=olist2text
|
175
|
+
|
176
|
+
[listdef-bulleted2]
|
177
|
+
listtag=ilist2
|
178
|
+
itemtag=ilist2item
|
179
|
+
texttag=ilist2text
|
180
|
+
|
181
|
+
[tags]
|
182
|
+
# Bulleted, numbered and labeled list tags.
|
183
|
+
ifdef::latex-use-custom-list-items[]
|
184
|
+
ilistitem=\item[\textendash] |
|
185
|
+
ilist2item=\item[\textbullet] |
|
186
|
+
olist={title?\minisec\{{title}\}} {id?\label\{{id}\}\hypertarget\{{id}\}\{\}} \begin\{enumerate\}[1)]|\end\{enumerate\}
|
187
|
+
olist2={title?\minisec\{{title}\}} {id?\label\{{id}\}\hypertarget\{{id}\}\{\}} \begin\{enumerate\}[a)]|\end\{enumerate\}
|
188
|
+
endif::latex-use-custom-list-items[]
|
189
|
+
|
190
|
+
ifndef::latex-use-custom-list-items[]
|
191
|
+
ilistitem=\item%|
|
192
|
+
ilist2item=\item%|
|
193
|
+
olist={title?\minisec\{{title}\}} {id?\label\{{id}\}\hypertarget\{{id}\}\{\}} \begin\{enumerate\}|\end\{enumerate\}
|
194
|
+
olist2={title?\minisec\{{title}\}} {id?\label\{{id}\}\hypertarget\{{id}\}\{\}} \begin\{enumerate\}|\end\{enumerate\}
|
195
|
+
endif::latex-use-custom-list-items[]
|
196
|
+
|
197
|
+
ilist={title?\minisec\{{title}\}} {id?\label\{{id}\}\hypertarget\{{id}\}\{\}} \begin\{itemize\}|\end\{itemize\}
|
198
|
+
ilisttext=|
|
199
|
+
ilist2={title?\minisec\{{title}\}} {id?\label\{{id}\}\hypertarget\{{id}\}\{\}} \begin\{itemize\}|\end\{itemize\}
|
200
|
+
ilist2text=|
|
201
|
+
olistitem=\item%|
|
202
|
+
olisttext=|
|
203
|
+
olist2item=\item%|
|
204
|
+
olist2text=|
|
205
|
+
vlist={title?\minisec\{{title}\}} \par{id?\label\{{id}\}\hypertarget\{{id}\}\{\}} |
|
206
|
+
vlistentry=|
|
207
|
+
vlistterm=\noindent\textbf\{%|\}
|
208
|
+
vlistitem=\begin\{quote\}|\end\{quote\}
|
209
|
+
vlisttext=|
|
210
|
+
# Horizontal labeled list.
|
211
|
+
hlist={title?\minisec\{{title}\}} {id?\label\{{id}\}\hypertarget\{{id}\}\{\}} \begin\{description\}|\end\{description\}
|
212
|
+
hlistentry=|
|
213
|
+
hlistterm=\item[%|]
|
214
|
+
hlistitem=|
|
215
|
+
hlisttext=|
|
216
|
+
# Question and Answer list.
|
217
|
+
qlist={title?\minisec\{{title}\}} {id?\label\{{id}\}\hypertarget\{{id}\}\{\}} \begin\{enumerate\}|\end\{enumerate\}
|
218
|
+
qlistentry=\item%|
|
219
|
+
qlistterm=|
|
220
|
+
qlistitem=\begin\{quotation\}|\end\{quotation\}
|
221
|
+
qlisttext=|
|
222
|
+
# Callout list.
|
223
|
+
colist={title?\minisec\{{title}\}} {id?\label\{{id}\}\hypertarget\{{id}\}\{\}} \begin\{enumerate\}|\end\{enumerate\}
|
224
|
+
colistitem=\item%|
|
225
|
+
colisttext=|
|
226
|
+
|
227
|
+
# Bibliography list.
|
228
|
+
ifdef::latex-use-bibliography-environment[]
|
229
|
+
biblist=|
|
230
|
+
endif::latex-use-bibliography-environment[]
|
231
|
+
|
232
|
+
ifndef::latex-use-bibliography-environment[]
|
233
|
+
biblist={title?\minisec\{{title}\}} {id?\label\{{id}\}\hypertarget\{{id}\}\{\}} \begin\{description\} | \end\{description\}
|
234
|
+
endif::latex-use-bibliography-environment[]
|
235
|
+
|
236
|
+
biblistitem=|
|
237
|
+
biblisttext=|
|
238
|
+
|
239
|
+
superscript=!..backslash..!textsuperscript!..braceleft..!|!..braceright..!
|
240
|
+
subscript=!..backslash..!textsubscript!..braceleft..!|!..braceright..!
|
241
|
+
|
242
|
+
|
243
|
+
|
244
|
+
# Quoted text.
|
245
|
+
emphasis=!..backslash..!emph!..braceleft..!|!..braceright..!
|
246
|
+
strong=!..backslash..!textbf!..braceleft..!|!..braceright..!
|
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..!
|
249
|
+
unquoted=|
|
250
|
+
|
251
|
+
# $$ inline passthrough.
|
252
|
+
$$passthrough=|
|
253
|
+
|
254
|
+
# Inline macros
|
255
|
+
[http-inlinemacro]
|
256
|
+
!..backslash..!href!..braceleft..!{name}:{target}!..braceright..!!..braceleft..!{0={name}:{target}}!..braceright..!
|
257
|
+
[https-inlinemacro]
|
258
|
+
!..backslash..!href!..braceleft..!{name}:{target}!..braceright..!!..braceleft..!{0={name}:{target}}!..braceright..!
|
259
|
+
[ftp-inlinemacro]
|
260
|
+
!..backslash..!href!..braceleft..!{name}:{target}!..braceright..!!..braceleft..!{0={name}:{target}}!..braceright..!
|
261
|
+
[file-inlinemacro]
|
262
|
+
!..backslash..!href!..braceleft..!{name}:{target}!..braceright..!!..braceleft..!{0={name}:{target}}!..braceright..!
|
263
|
+
[mailto-inlinemacro]
|
264
|
+
!..backslash..!href!..braceleft..!{name}:{target}!..braceright..!!..braceleft..!{0={target}}!..braceright..!
|
265
|
+
[callto-inlinemacro]
|
266
|
+
!..backslash..!href!..braceleft..!{name}:{target}!..braceright..!!..braceleft..!{0={target}}!..braceright..!
|
267
|
+
[link-inlinemacro]
|
268
|
+
!..backslash..!href!..braceleft..!{target}!..braceright..!!..braceleft..!{0={target}}!..braceright..!
|
269
|
+
# anchor:id[text]
|
270
|
+
[anchor-inlinemacro]
|
271
|
+
!..backslash..!label!..braceleft..!{target}!..braceright..!!..backslash..!hypertarget!..braceleft..!{target}!..braceright..!!..braceleft..!{0={target}}!..braceright..!
|
272
|
+
# [[id,text]]
|
273
|
+
[anchor2-inlinemacro]
|
274
|
+
!..backslash..!label!..braceleft..!{1}!..braceright..!!..backslash..!hypertarget!..braceleft..!{1}!..braceright..!!..braceleft..!{2={1}}!..braceright..!
|
275
|
+
# [[[id]]]
|
276
|
+
[anchor3-inlinemacro]
|
277
|
+
{latex-use-bibliography-environment?!..backslash..!bibitem!..braceleft..!{1}!..braceright..!} {latex-use-bibliography-environment!!..backslash..!item[{1}]} !..backslash..!label!..braceleft..!{1}!..braceright..!!..backslash..!hypertarget!..braceleft..!{1}!..braceright..!!..braceleft..!!..braceright..!
|
278
|
+
# xref:id[text]
|
279
|
+
[xref-inlinemacro]
|
280
|
+
{style#}{style$page:!..backslash..!pageref!..braceleft..!{target}!..braceright..!}
|
281
|
+
{style#}{style$autoref:!..backslash..!autoref!..braceleft..!{target}!..braceright..!}
|
282
|
+
{style#}{style$ref:!..backslash..!ref!..braceleft..!{target}!..braceright..!}
|
283
|
+
{style#}{latex-use-bibliography-environment#}{style$cite:!..backslash..!cite!..braceleft..!{target}!..braceright..!}
|
284
|
+
{style#}{latex-use-bibliography-environment%}{style$cite:!..backslash..!hyperlink!..braceleft..!{target}!..braceright..!!..braceleft..!{0=[{target}]}!..braceright..!}
|
285
|
+
{style%}!..backslash..!hyperlink!..braceleft..!{target}!..braceright..!!..braceleft..!{0=[{target}]}!..braceright..!
|
286
|
+
|
287
|
+
# <<id,text>>
|
288
|
+
[xref2-inlinemacro]
|
289
|
+
{3#}{3$page:!..backslash..!pageref!..braceleft..!{1}!..braceright..!}
|
290
|
+
{3#}{3$autoref:!..backslash..!autoref!..braceleft..!{1}!..braceright..!}
|
291
|
+
{3#}{3$ref:!..backslash..!ref!..braceleft..!{1}!..braceright..!}
|
292
|
+
{3#}{latex-use-bibliography-environment#}{3$cite:!..backslash..!cite!..braceleft..!{1}!..braceright..!}
|
293
|
+
{3#}{latex-use-bibliography-environment%}{3$cite:!..backslash..!hyperlink!..braceleft..!{1}!..braceright..!!..braceleft..!{2=[{1}]}!..braceright..!}
|
294
|
+
{3%}!..backslash..!hyperlink!..braceleft..!{1}!..braceright..!!..braceleft..!{2=[{1}]}!..braceright..!
|
295
|
+
|
296
|
+
|
297
|
+
# Special word substitution.
|
298
|
+
[emphasizedwords]
|
299
|
+
!..backslash..!emph!..braceleft..!{words}!..braceright..!
|
300
|
+
[monospacedwords]
|
301
|
+
!..backslash..!texttt!..braceleft..!{words}!..braceright..!
|
302
|
+
[strongwords]
|
303
|
+
!..backslash..!textbf!..braceleft..!{words}!..braceright..!
|
304
|
+
|
305
|
+
|
306
|
+
|
307
|
+
# Paragraph substitution.
|
308
|
+
[paragraph]
|
309
|
+
{title%} \par{latex-indent-paragraphs!\noindent}
|
310
|
+
{title#} \paragraph\{{title}\}
|
311
|
+
\label\{{id}\}\hypertarget\{{id}\}\{\}
|
312
|
+
|
313
|
+
|
|
314
|
+
|
315
|
+
[literalparagraph]
|
316
|
+
# The literal block employs the same markup.
|
317
|
+
template::[literalblock]
|
318
|
+
|
319
|
+
[verseparagraph]
|
320
|
+
# The verse block employs the same markup.
|
321
|
+
template::[verseblock]
|
322
|
+
|
323
|
+
[admonitionparagraph]
|
324
|
+
# The admonition block employs the same markup.
|
325
|
+
template::[admonitionblock]
|
326
|
+
|
327
|
+
# Delimited blocks.
|
328
|
+
[passthroughblock]
|
329
|
+
|
|
330
|
+
|
331
|
+
[listingblock]
|
332
|
+
\minisec\{{caption=Listing: }{title}\}
|
333
|
+
\label\{{id}\}\hypertarget\{{id}\}\{\}
|
334
|
+
\begin\{lstlisting\}[{title?name={title}}]
|
335
|
+
|
336
|
+
|
|
337
|
+
|
338
|
+
\end\{lstlisting\}
|
339
|
+
|
340
|
+
[literalblock]
|
341
|
+
\minisec\{{title}\}
|
342
|
+
\label\{{id}\}\hypertarget\{{id}\}\{\}
|
343
|
+
\begin\{alltt\}
|
344
|
+
|
345
|
+
|
|
346
|
+
|
347
|
+
\end\{alltt\}
|
348
|
+
|
349
|
+
[verseblock]
|
350
|
+
\minisec\{{title}\}
|
351
|
+
\label\{{id}\}\hypertarget\{{id}\}\{\}
|
352
|
+
\begin\{alltt\}
|
353
|
+
\normalfont\{\}
|
354
|
+
|
355
|
+
|
|
356
|
+
|
357
|
+
\end\{alltt\}
|
358
|
+
|
359
|
+
[sidebarblock]
|
360
|
+
\label\{{id}\}\hypertarget\{{id}\}\{\}
|
361
|
+
\par\noindent
|
362
|
+
ifndef::latex-use-colored-sidebar-blocks[]
|
363
|
+
\setlength\{\tabcolsep\}\{0pt\}
|
364
|
+
\rowcolors\{1\}\{\}\{\}
|
365
|
+
\begin\{tabular\}\{l>\{\columncolor[gray]\{.75\}\}rcl\}
|
366
|
+
\hspace*\{0pt\} &
|
367
|
+
\hspace*\{8pt\} &
|
368
|
+
\hspace*\{16pt\} &
|
369
|
+
\begin\{minipage\}\{4in\}
|
370
|
+
endif::latex-use-colored-sidebar-blocks[]
|
371
|
+
ifdef::latex-use-colored-sidebar-blocks[]
|
372
|
+
\fcolorbox\{SidebarBorderColor\}\{SidebarBackgroundColor\}\{\parbox\{\textwidth\}\{
|
373
|
+
endif::latex-use-colored-sidebar-blocks[]
|
374
|
+
\minisec\{{title}\}
|
375
|
+
|
376
|
+
|
|
377
|
+
|
378
|
+
ifdef::latex-use-colored-sidebar-blocks[]
|
379
|
+
\}
|
380
|
+
\}
|
381
|
+
endif::latex-use-colored-sidebar-blocks[]
|
382
|
+
ifndef::latex-use-colored-sidebar-blocks[]
|
383
|
+
\end\{minipage\}
|
384
|
+
\end\{tabular\}
|
385
|
+
endif::latex-use-colored-sidebar-blocks[]
|
386
|
+
\bigskip
|
387
|
+
|
388
|
+
[quoteblock]
|
389
|
+
\minisec\{{title}\}
|
390
|
+
\label\{{id}\}\hypertarget\{{id}\}\{\}
|
391
|
+
\begin\{quote\}
|
392
|
+
|
393
|
+
|
|
394
|
+
|
395
|
+
\end\{quote\}
|
396
|
+
|
397
|
+
\begin\{flushright\}
|
398
|
+
{citetitle} \\
|
399
|
+
-- {attribution}
|
400
|
+
\end\{flushright\}
|
401
|
+
|
402
|
+
[exampleblock]
|
403
|
+
\minisec\{{caption=Example: }{title}\}
|
404
|
+
\label\{{id}\}\hypertarget\{{id}\}\{\}
|
405
|
+
\begin\{quotation\}
|
406
|
+
|
407
|
+
|
|
408
|
+
|
409
|
+
\end\{quotation\}
|
410
|
+
|
411
|
+
[admonitionblock]
|
412
|
+
\begin\{addmargin*\}[0em]\{0em\}
|
413
|
+
\label\{{id}\}\hypertarget\{{id}\}\{\}
|
414
|
+
\begin\{minipage\}\{\linewidth\}
|
415
|
+
{icons#} \includegraphics\{{icon={iconsdir}/{name}.png}\}
|
416
|
+
{icons%} \minisec\{{caption}\}
|
417
|
+
\\
|
418
|
+
\rule\{\linewidth\}\{2pt\}
|
419
|
+
\par\{\}\noindent\{\}|\par\{\}\noindent\{\}%
|
420
|
+
\rule[.25\baselineskip]\{\linewidth\}\{2pt\}
|
421
|
+
\end\{minipage\}
|
422
|
+
\end\{addmargin*\}
|
423
|
+
|
424
|
+
# Bibliography list.
|
425
|
+
# Same as numbered list.
|
426
|
+
[listdef-bibliography]
|
427
|
+
listtag=biblist
|
428
|
+
itemtag=biblistitem
|
429
|
+
texttag=biblisttext
|
430
|
+
|
431
|
+
# Glossary list.
|
432
|
+
# Same as labeled list.
|
433
|
+
[listdef-glossary]
|
434
|
+
listtag=vlist
|
435
|
+
itemtag=vlistitem
|
436
|
+
texttag=vlisttext
|
437
|
+
entrytag=vlistentry
|
438
|
+
labeltag=vlistterm
|
439
|
+
|
440
|
+
# Tables.
|
441
|
+
[tabledef-default]
|
442
|
+
template=table
|
443
|
+
colspec=>\{{colalign@left:\\raggedright}{colalign@center:\\centering}{colalign@right:\\raggedleft}\}p\{ {colwidth}pt \}
|
444
|
+
bodyrow=%| \tabularnewline
|
445
|
+
headdata=\{\bfseries\{\}%|\} {colnumber@{cols}::&}
|
446
|
+
footdata=\{\bfseries\{\}%|\} {colnumber@{cols}::&}
|
447
|
+
bodydata=%| {colnumber@{cols}:%:&}
|
448
|
+
|
449
|
+
[table]
|
450
|
+
ifdef::latex-use-colored-tables[]
|
451
|
+
\rowcolors\{1\}\{TableEvenColor\}\{TableOddColor\}
|
452
|
+
\setlength\arrayrulewidth\{1.5pt\}
|
453
|
+
\arrayrulecolor\{TableBorderColor\}
|
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\}
|
491
|
+
|
492
|
+
[specialsections]
|
493
|
+
ifdef::doctype-article[]
|
494
|
+
^Abstract$=sect-abstract
|
495
|
+
endif::doctype-article[]
|
496
|
+
|
497
|
+
ifdef::doctype-book[]
|
498
|
+
^Dedication$=sect-dedication
|
499
|
+
endif::doctype-book[]
|
500
|
+
|
501
|
+
^Index$=sect-index
|
502
|
+
|
503
|
+
ifdef::latex-use-bibliography-environment[]
|
504
|
+
^(Bibliography|References)$=sect-bibliography
|
505
|
+
endif::latex-use-bibliography-environment[]
|
506
|
+
|
507
|
+
^Appendix.*$=sect-appendix
|
508
|
+
^(TOC|Contents)$=sect-toc
|
509
|
+
|
510
|
+
^Figures$=sect-list-of-figures
|
511
|
+
|
512
|
+
# Special sections.
|
513
|
+
|
514
|
+
|
515
|
+
[sect-list-of-figures]
|
516
|
+
\listoffigures
|
517
|
+
|
518
|
+
|
519
|
+
[sect-toc]
|
520
|
+
\label\{{id}\}\hypertarget\{{id}\}\{\}
|
521
|
+
\tableofcontents
|
522
|
+
|
523
|
+
[sect-index]
|
524
|
+
\setindexpreamble\{
|
525
|
+
|
|
526
|
+
\}
|
527
|
+
\label\{{id}\}\hypertarget\{{id}\}\{\}
|
528
|
+
\printindex
|
529
|
+
|
530
|
+
ifdef::latex-use-bibliography-environment[]
|
531
|
+
[sect-bibliography]
|
532
|
+
\label\{{id}\}\hypertarget\{{id}\}\{\}
|
533
|
+
\begin\{thebibliography\}\{99\}
|
534
|
+
|
|
535
|
+
\end\{thebibliography\}
|
536
|
+
endif::latex-use-bibliography-environment[]
|
537
|
+
|
538
|
+
[sect-appendix]
|
539
|
+
\appendix
|
540
|
+
\label\{{id}\}\hypertarget\{{id}\}\{\}
|
541
|
+
|
|
542
|
+
|
543
|
+
[sect-abstract]
|
544
|
+
\label\{{id}\}\hypertarget\{{id}\}\{\}
|
545
|
+
\begin\{abstract\}
|
546
|
+
|
|
547
|
+
|
548
|
+
\end\{abstract\}
|
549
|
+
|
550
|
+
[sect-dedication]
|
551
|
+
\label\{{id}\}\hypertarget\{{id}\}\{\}
|
552
|
+
\dedication\{
|
553
|
+
|
|
554
|
+
\}
|
555
|
+
|
556
|
+
[preamble]
|
557
|
+
# Untitled elements between header and first section title.
|
558
|
+
ifdef::doctype-book[]
|
559
|
+
\frontmatter
|
560
|
+
\chapter*\{Preface\}
|
561
|
+
\label\{preamble\}\hypertarget\{preamble\}\{\}
|
562
|
+
endif::doctype-book[]
|
563
|
+
|
564
|
+
|
565
|
+
|
|
566
|
+
|
567
|
+
ifdef::doctype-book[]
|
568
|
+
\mainmatter
|
569
|
+
endif::doctype-book[]
|
570
|
+
|
571
|
+
# Document sections.
|
572
|
+
[sect0]
|
573
|
+
\hypertarget\{{id}\}\{\}
|
574
|
+
\chapter\{{title}\}
|
575
|
+
\label\{{id}\}
|
576
|
+
|
|
577
|
+
|
578
|
+
[sect1]
|
579
|
+
\hypertarget\{{id}\}\{\}
|
580
|
+
\section\{{title}\}
|
581
|
+
\label\{{id}\}
|
582
|
+
|
583
|
+
[sect2]
|
584
|
+
\hypertarget\{{id}\}\{\}
|
585
|
+
\subsection\{{title}\}
|
586
|
+
\label\{{id}\}
|
587
|
+
|
|
588
|
+
|
589
|
+
[sect3]
|
590
|
+
\hypertarget\{{id}\}\{\}
|
591
|
+
\subsubsection\{{title}\}
|
592
|
+
\label\{{id}\}
|
593
|
+
|
|
594
|
+
|
595
|
+
[sect4]
|
596
|
+
\hypertarget\{{id}\}\{\}
|
597
|
+
\minisec\{{title}\}
|
598
|
+
\label\{{id}\}
|
599
|
+
|
|
600
|
+
|
601
|
+
[header]
|
602
|
+
{encoding$UTF-8:}% coding: utf-8
|
603
|
+
\documentclass [a4paper,abstracton,titlepage]\{{doctype@article:scrartcl:scrbook}\}
|
604
|
+
\pagestyle\{{latex-use-running-title-headings?headings}{latex-use-running-title-headings!plain}\}
|
605
|
+
\usepackage\{makeidx\}
|
606
|
+
\usepackage[table]\{xcolor\}
|
607
|
+
\definecolor\{LinkColor\}\{RGB\}\{85,107,47\}
|
608
|
+
\definecolor\{TableEvenColor\}\{RGB\}\{238,255,204\}
|
609
|
+
\definecolor\{TableOddColor\}\{RGB\}\{238,255,255\}
|
610
|
+
\definecolor\{TableBorderColor\}\{RGB\}\{140,172,187\}
|
611
|
+
\definecolor\{ListingBorderColor\}\{gray\}\{0.55\}
|
612
|
+
\definecolor\{ListingBackgroundColor\}\{gray\}\{0.95\}
|
613
|
+
\definecolor\{SidebarBorderColor\}\{gray\}\{0.95\}
|
614
|
+
\definecolor\{SidebarBackgroundColor\}\{RGB\}\{255,255,238\}
|
615
|
+
\usepackage\{type1ec\}
|
616
|
+
\usepackage[{language=english}]\{babel\}
|
617
|
+
\usepackage[
|
618
|
+
pdftex,
|
619
|
+
pdftitle=\{{doctitle}\},
|
620
|
+
pdfauthor=\{{author}\},
|
621
|
+
backref,
|
622
|
+
pagebackref,
|
623
|
+
breaklinks=true,
|
624
|
+
unicode
|
625
|
+
]
|
626
|
+
\{hyperref\}
|
627
|
+
\usepackage\{enumerate\}
|
628
|
+
\usepackage\{graphicx\}
|
629
|
+
\usepackage\{longtable\}
|
630
|
+
\usepackage[T1]\{fontenc\}
|
631
|
+
\usepackage\{ucs\}
|
632
|
+
\usepackage[{encoding@ISO-8859-1:latin1}{encoding@UTF-8:utf8x}{encoding!utf8x}]\{inputenc\}
|
633
|
+
\usepackage\{textcomp\}
|
634
|
+
\usepackage\{alltt\}
|
635
|
+
\usepackage\{listings\}
|
636
|
+
|
637
|
+
|
638
|
+
\lstset\{basicstyle=\footnotesize\ttfamily,showstringspaces=false,breaklines,frame=single, rulecolor=\color\{ListingBorderColor\}, backgroundcolor=\color\{ListingBackgroundColor\}, xleftmargin=0cm, linewidth=0.95\textwidth\}
|
639
|
+
|
640
|
+
{latex-indent-paragraphs%} \setlength\{\parskip\}\{1ex plus 0.5ex minus 0.2ex\}
|
641
|
+
|
642
|
+
\makeatletter
|
643
|
+
\DeclareRobustCommand*\textsubscript[1]\{%
|
644
|
+
\@textsubscript\{\selectfont#1\}\}
|
645
|
+
\def\@textsubscript#1\{%
|
646
|
+
\{\m@th\ensuremath\{_\{\mbox\{\fontsize\sf@size\z@#1\}\}\}\}\}
|
647
|
+
\makeatother
|
648
|
+
|
649
|
+
\subject\{{subject}\}
|
650
|
+
\title\{{doctitle}\}
|
651
|
+
\author\{{author}{email?, \href\{mailto:{email}\}\{{email}\}}\}
|
652
|
+
\date\{{date}\}
|
653
|
+
\publishers\{\begin\{tabular\}\{ll\} {revision?\textbf\{Revision:\} & {revision} \\ } {keywords?\textbf\{Keywords:\} & {keywords} \\ } \end\{tabular\}\}
|
654
|
+
|
655
|
+
\makeindex
|
656
|
+
|
657
|
+
\begin\{document\}
|
658
|
+
\label\{header\}\hypertarget\{header\}\{\}
|
659
|
+
{doctitle#\maketitle}
|
660
|
+
|
661
|
+
[footer]
|
662
|
+
\label\{footer\}\hypertarget\{footer\}\{\}
|
663
|
+
\end\{document\}
|