192 |
- |
1 |
#
|
|
|
2 |
# asciidoc.conf
|
|
|
3 |
#
|
|
|
4 |
# Asciidoc global configuration file.
|
|
|
5 |
# Contains backend independent configuration settings that are applied to all
|
|
|
6 |
# AsciiDoc documents.
|
|
|
7 |
#
|
|
|
8 |
|
|
|
9 |
[miscellaneous]
|
|
|
10 |
tabsize=8
|
|
|
11 |
textwidth=70
|
|
|
12 |
newline=\r\n
|
|
|
13 |
|
|
|
14 |
[attributes]
|
|
|
15 |
backend-alias-html=xhtml11
|
|
|
16 |
backend-alias-docbook=docbook45
|
|
|
17 |
toclevels=2
|
|
|
18 |
toc-placement=auto
|
|
|
19 |
sectids=
|
|
|
20 |
iconsdir=./images/icons
|
|
|
21 |
encoding=UTF-8
|
|
|
22 |
# Uncomment to use xhtml11 quirks mode CSS.
|
|
|
23 |
#quirks=
|
|
|
24 |
# HTML source code highlighter (source-highlight, pygments or highlight).
|
|
|
25 |
source-highlighter=source-highlight
|
|
|
26 |
# Uncomment to use deprecated quote attributes.
|
|
|
27 |
#deprecated-quotes=
|
|
|
28 |
empty=
|
|
|
29 |
sp=" "
|
|
|
30 |
# Attribute and AttributeList element patterns.
|
|
|
31 |
attributeentry-pattern=^:(?P<attrname>\w[^.]*?)(\.(?P<attrname2>.*?))?:(\s+(?P<attrvalue>.*))?$
|
|
|
32 |
attributelist-pattern=(^\[\[(?P<id>[\w_:][\w_:.-]*)(,(?P<reftext>.*?))?\]\]$)|(^\[(?P<attrlist>.*)\]$)
|
|
|
33 |
# Substitution attributes for escaping AsciiDoc processing.
|
|
|
34 |
amp=&
|
|
|
35 |
lt=<
|
|
|
36 |
gt=>
|
|
|
37 |
brvbar=|
|
|
|
38 |
nbsp= 
|
|
|
39 |
zwsp=​
|
|
|
40 |
wj=⁠
|
|
|
41 |
deg=°
|
|
|
42 |
backslash=\
|
|
|
43 |
two-colons=::
|
|
|
44 |
two-semicolons=;;
|
|
|
45 |
plus=+
|
|
|
46 |
# DEPRECATED: underscore attribute names.
|
|
|
47 |
two_colons=::
|
|
|
48 |
two_semicolons=;;
|
|
|
49 |
# Left and right single and double quote characters.
|
|
|
50 |
# See http://en.wikipedia.org/wiki/Non-English_usage_of_quotation_marks
|
|
|
51 |
lsquo=‘
|
|
|
52 |
rsquo=’
|
|
|
53 |
ldquo=“
|
|
|
54 |
rdquo=”
|
|
|
55 |
|
|
|
56 |
[titles]
|
|
|
57 |
subs=specialcharacters,quotes,replacements,macros,attributes,replacements2
|
|
|
58 |
# Double-line title pattern and underlines.
|
|
|
59 |
sectiontitle=^(?P<title>.*?)$
|
|
|
60 |
underlines="==","--","~~","^^","++"
|
|
|
61 |
# Single-line title patterns.
|
|
|
62 |
sect0=^= +(?P<title>[\S].*?)( +=)?$
|
|
|
63 |
sect1=^== +(?P<title>[\S].*?)( +==)?$
|
|
|
64 |
sect2=^=== +(?P<title>[\S].*?)( +===)?$
|
|
|
65 |
sect3=^==== +(?P<title>[\S].*?)( +====)?$
|
|
|
66 |
sect4=^===== +(?P<title>[\S].*?)( +=====)?$
|
|
|
67 |
blocktitle=^\.(?P<title>([^.\s].*)|(\.[^.\s].*))$
|
|
|
68 |
|
|
|
69 |
[specialcharacters]
|
|
|
70 |
&=&
|
|
|
71 |
<=<
|
|
|
72 |
>=>
|
|
|
73 |
|
|
|
74 |
[quotes]
|
|
|
75 |
# The order is important, quotes are processed in conf file order.
|
|
|
76 |
**=#strong
|
|
|
77 |
*=strong
|
|
|
78 |
``|''=doublequoted
|
|
|
79 |
'=emphasis
|
|
|
80 |
`|'=singlequoted
|
|
|
81 |
ifdef::no-inline-literal[]
|
|
|
82 |
`=monospaced
|
|
|
83 |
endif::no-inline-literal[]
|
|
|
84 |
# +++ and $$ quoting is applied to the +++ and $$ inline passthrough
|
|
|
85 |
# macros to allow quoted attributes to be used.
|
|
|
86 |
# This trick only works with inline passthrough macros.
|
|
|
87 |
+++=#unquoted
|
|
|
88 |
$$=#unquoted
|
|
|
89 |
++=#monospaced
|
|
|
90 |
+=monospaced
|
|
|
91 |
__=#emphasis
|
|
|
92 |
_=emphasis
|
|
|
93 |
\##=#unquoted
|
|
|
94 |
\#=unquoted
|
|
|
95 |
^=#superscript
|
|
|
96 |
~=#subscript
|
|
|
97 |
|
|
|
98 |
[specialwords]
|
|
|
99 |
emphasizedwords=
|
|
|
100 |
strongwords=
|
|
|
101 |
monospacedwords=
|
|
|
102 |
|
|
|
103 |
[replacements]
|
|
|
104 |
# Replacements performed in order of configuration file entry. The first entry
|
|
|
105 |
# of each replacement pair performs the (non-escaped) replacement, the second
|
|
|
106 |
# strips the backslash from the escaped replacement.
|
|
|
107 |
|
|
|
108 |
# (C) Copyright (entity reference ©)
|
|
|
109 |
(?<!\\)\(C\)=©
|
|
|
110 |
\\\(C\)=(C)
|
|
|
111 |
|
|
|
112 |
# (R) registered trade mark (entity reference ®
|
|
|
113 |
(?<!\\)\(R\)=®
|
|
|
114 |
\\\(R\)=(R)
|
|
|
115 |
|
|
|
116 |
# (TM) Trademark (entity reference ™)
|
|
|
117 |
(?<!\\)\(TM\)=™
|
|
|
118 |
\\\(TM\)=(TM)
|
|
|
119 |
|
|
|
120 |
# -- Spaced and unspaced em dashes (entity reference —).
|
|
|
121 |
# Space on both sides is translated to thin space characters.
|
|
|
122 |
(^-- )=— 
|
|
|
123 |
(\n-- )|( -- )|( --\n)= — 
|
|
|
124 |
(\w)--(\w)=\1—\2
|
|
|
125 |
\\--(?!-)=--
|
|
|
126 |
|
|
|
127 |
# Replace vertical typewriter apostrophe with punctuation apostrophe.
|
|
|
128 |
(\w)'(\w)=\1’\2
|
|
|
129 |
(\w)\\'(\w)=\1'\2
|
|
|
130 |
|
|
|
131 |
# ... Ellipsis (entity reference …)
|
|
|
132 |
(?<!\\)\.\.\.=…
|
|
|
133 |
\\\.\.\.=...
|
|
|
134 |
|
|
|
135 |
# Arrows from the Arrows block of Unicode.
|
|
|
136 |
# -> right arrow
|
|
|
137 |
(?<!\\)->=→
|
|
|
138 |
\\->=->
|
|
|
139 |
# => right double arrow
|
|
|
140 |
(?<!\\)\=>=⇒
|
|
|
141 |
\\\=>==>
|
|
|
142 |
# <- left arrow
|
|
|
143 |
(?<!\\)<-=←
|
|
|
144 |
\\<-=<-
|
|
|
145 |
# <= left double arrow
|
|
|
146 |
(?<!\\)<\==⇐
|
|
|
147 |
\\<\==<=
|
|
|
148 |
|
|
|
149 |
# Arbitrary entity references.
|
|
|
150 |
(?<!\\)&([:_#a-zA-Z][:_.\-\w]*?;)=&\1
|
|
|
151 |
\\(&[:_#a-zA-Z][:_.\-\w]*?;)=\1
|
|
|
152 |
|
|
|
153 |
#-----------
|
|
|
154 |
# Paragraphs
|
|
|
155 |
#-----------
|
|
|
156 |
[paradef-default]
|
|
|
157 |
delimiter=(?s)(?P<text>\S.*)
|
|
|
158 |
posattrs=style
|
|
|
159 |
style=normal
|
|
|
160 |
template::[paragraph-styles]
|
|
|
161 |
|
|
|
162 |
[paradef-literal]
|
|
|
163 |
delimiter=(?s)(?P<text>\s+.*)
|
|
|
164 |
options=listelement
|
|
|
165 |
posattrs=style
|
|
|
166 |
style=literal
|
|
|
167 |
template::[paragraph-styles]
|
|
|
168 |
|
|
|
169 |
[paradef-admonition]
|
|
|
170 |
delimiter=(?s)^\s*(?P<style>NOTE|TIP|IMPORTANT|WARNING|CAUTION):\s+(?P<text>.+)
|
|
|
171 |
template::[paragraph-styles]
|
|
|
172 |
|
|
|
173 |
[paragraph-styles]
|
|
|
174 |
normal-style=template="paragraph"
|
|
|
175 |
comment-style=template="paragraph",options=('skip',)
|
|
|
176 |
verse-style=template="verseparagraph",posattrs=("style","attribution","citetitle")
|
|
|
177 |
quote-style=template="quoteparagraph",posattrs=("style","attribution","citetitle")
|
|
|
178 |
literal-style=template="literalparagraph",subs=("verbatim",)
|
|
|
179 |
listing-style=template="listingparagraph",subs=("verbatim",)
|
|
|
180 |
example-style=template="exampleparagraph"
|
|
|
181 |
sidebar-style=template="sidebarparagraph"
|
|
|
182 |
abstract-style=template="abstractparagraph"
|
|
|
183 |
partintro-style=template="partintroparagraph"
|
|
|
184 |
NOTE-style=template="admonitionparagraph",name="note",caption="{note-caption}"
|
|
|
185 |
TIP-style=template="admonitionparagraph",name="tip",caption="{tip-caption}"
|
|
|
186 |
IMPORTANT-style=template="admonitionparagraph",name="important",caption="{important-caption}"
|
|
|
187 |
WARNING-style=template="admonitionparagraph",name="warning",caption="{warning-caption}"
|
|
|
188 |
CAUTION-style=template="admonitionparagraph",name="caution",caption="{caution-caption}"
|
|
|
189 |
|
|
|
190 |
[literalparagraph]
|
|
|
191 |
template::[literalblock]
|
|
|
192 |
|
|
|
193 |
[verseparagraph]
|
|
|
194 |
template::[verseblock]
|
|
|
195 |
|
|
|
196 |
[quoteparagraph]
|
|
|
197 |
template::[quoteblock]
|
|
|
198 |
|
|
|
199 |
[listingparagraph]
|
|
|
200 |
template::[listingblock]
|
|
|
201 |
|
|
|
202 |
[exampleparagraph]
|
|
|
203 |
template::[exampleblock]
|
|
|
204 |
|
|
|
205 |
[sidebarparagraph]
|
|
|
206 |
template::[sidebarblock]
|
|
|
207 |
|
|
|
208 |
[abstractparagraph]
|
|
|
209 |
template::[abstractblock]
|
|
|
210 |
|
|
|
211 |
[partintroparagraph]
|
|
|
212 |
template::[partintroblock]
|
|
|
213 |
|
|
|
214 |
|
|
|
215 |
[macros]
|
|
|
216 |
#--------------
|
|
|
217 |
# Inline macros
|
|
|
218 |
#--------------
|
|
|
219 |
# Backslash prefix required for escape processing.
|
|
|
220 |
# (?s) re flag for line spanning.
|
|
|
221 |
|
|
|
222 |
# Macros using default syntax.
|
|
|
223 |
(?su)(?<!\w)[\\]?(?P<name>http|https|ftp|file|irc|mailto|callto|image|link|anchor|xref|indexterm|indexterm2):(?P<target>\S*?)\[(?P<attrlist>.*?)(?<!\\)\]=
|
|
|
224 |
|
|
|
225 |
# These URL types don't require any special attribute list formatting.
|
|
|
226 |
(?su)(?<!\S)[\\]?(?P<name>http|https|ftp|file|irc):(?P<target>//[^\s<>]*[\w/])=
|
|
|
227 |
# Allow a leading parenthesis and square bracket.
|
|
|
228 |
(?su)(?<\=[([])[\\]?(?P<name>http|https|ftp|file|irc):(?P<target>//[^\s<>]*[\w/])=
|
|
|
229 |
# Allow <> brackets.
|
|
|
230 |
(?su)[\\]?<(?P<name>http|https|ftp|file|irc):(?P<target>//[^\s<>]*[\w/])>=
|
|
|
231 |
|
|
|
232 |
# Email addresses don't require special attribute list formatting.
|
|
|
233 |
# The before ">: and after "< character exclusions stop multiple substitution.
|
|
|
234 |
(?su)(?<![">:\w._/-])[\\]?(?P<target>\w[\w._-]*@[\w._-]*\w)(?!["<\w_-])=mailto
|
|
|
235 |
|
|
|
236 |
# Allow footnote macros hard up against the preceding word so the footnote mark
|
|
|
237 |
# can be placed against the noted text without an intervening space
|
|
|
238 |
# (http://groups.google.com/group/asciidoc/browse_frm/thread/e1dcb7ee0efc17b5).
|
|
|
239 |
(?su)[\\]?(?P<name>footnote|footnoteref):(?P<target>\S*?)\[(?P<attrlist>.*?)(?<!\\)\]=
|
|
|
240 |
|
|
|
241 |
# Anchor: [[[id]]]. Bibliographic anchor.
|
|
|
242 |
(?su)[\\]?\[\[\[(?P<attrlist>[\w_:][\w_:.-]*?)\]\]\]=anchor3
|
|
|
243 |
# Anchor: [[id,xreflabel]]
|
|
|
244 |
(?su)[\\]?\[\[(?P<attrlist>[\w"_:].*?)\]\]=anchor2
|
|
|
245 |
# Link: <<id,text>>
|
|
|
246 |
(?su)[\\]?<<(?P<attrlist>[\w"_:].*?)>>=xref2
|
|
|
247 |
|
|
|
248 |
ifdef::asciidoc7compatible[]
|
|
|
249 |
# Index term: ++primary,secondary,tertiary++
|
|
|
250 |
(?su)(?<!\S)[\\]?\+\+(?P<attrlist>[^+].*?)\+\+(?!\+)=indexterm
|
|
|
251 |
# Index term: +primary+
|
|
|
252 |
# Follows ++...++ macro otherwise it will match them.
|
|
|
253 |
(?<!\S)[\\]?\+(?P<attrlist>[^\s\+][^+].*?)\+(?!\+)=indexterm2
|
|
|
254 |
endif::asciidoc7compatible[]
|
|
|
255 |
|
|
|
256 |
ifndef::asciidoc7compatible[]
|
|
|
257 |
# Index term: (((primary,secondary,tertiary)))
|
|
|
258 |
(?su)(?<!\()[\\]?\(\(\((?P<attrlist>[^(].*?)\)\)\)(?!\))=indexterm
|
|
|
259 |
# Index term: ((primary))
|
|
|
260 |
# Follows (((...))) macro otherwise it will match them.
|
|
|
261 |
(?<!\()[\\]?\(\((?P<attrlist>[^\s\(].*?)\)\)(?!\))=indexterm2
|
|
|
262 |
endif::asciidoc7compatible[]
|
|
|
263 |
|
|
|
264 |
# Callout
|
|
|
265 |
[\\]?<(?P<index>\d+)>=callout
|
|
|
266 |
|
|
|
267 |
# Passthrough macros.
|
|
|
268 |
(?su)[\\]?(?P<name>pass):(?P<subslist>\S*?)\[(?P<passtext>.*?)(?<!\\)\]=[]
|
|
|
269 |
|
|
|
270 |
# Triple-plus and double-dollar inline passthroughs.
|
|
|
271 |
(?su)[\\]?\+\+\+(?P<passtext>.*?)\+\+\+=pass[]
|
|
|
272 |
(?su)[\\]?\$\$(?P<passtext>.*?)\$\$=pass[specialcharacters]
|
|
|
273 |
|
|
|
274 |
# Inline literal.
|
|
|
275 |
ifndef::no-inline-literal[]
|
|
|
276 |
(?su)(?<![`\w])([\\]?`(?P<passtext>[^`\s]|[^`\s].*?\S)`)(?![`\w])=literal[specialcharacters]
|
|
|
277 |
endif::no-inline-literal[]
|
|
|
278 |
|
|
|
279 |
# Inline comment.
|
|
|
280 |
(?mu)^[\\]?//(?P<passtext>[^/].*|)$=comment[specialcharacters]
|
|
|
281 |
|
|
|
282 |
# Default (catchall) inline macro is not implemented so there is no ambiguity
|
|
|
283 |
# with previous definition that could result in double substitution of escaped
|
|
|
284 |
# references.
|
|
|
285 |
#(?su)[\\]?(?P<name>\w(\w|-)*?):(?P<target>\S*?)\[(?P<passtext>.*?)(?<!\\)\]=
|
|
|
286 |
|
|
|
287 |
#-------------
|
|
|
288 |
# Block macros
|
|
|
289 |
#-------------
|
|
|
290 |
# Macros using default syntax.
|
|
|
291 |
^(?P<name>image|unfloat|toc)::(?P<target>\S*?)(\[(?P<attrlist>.*?)\])$=#
|
|
|
292 |
|
|
|
293 |
# Passthrough macros.
|
|
|
294 |
^(?P<name>pass)::(?P<subslist>\S*?)(\[(?P<passtext>.*?)\])$=#
|
|
|
295 |
|
|
|
296 |
^'{3,}$=#ruler
|
|
|
297 |
^<{3,}$=#pagebreak
|
|
|
298 |
^//(?P<passtext>[^/].*|)$=#comment[specialcharacters]
|
|
|
299 |
|
|
|
300 |
# Implemented in HTML backends.
|
|
|
301 |
[unfloat-blockmacro]
|
|
|
302 |
[toc-blockmacro]
|
|
|
303 |
|
|
|
304 |
#-----------------
|
|
|
305 |
# Delimited blocks
|
|
|
306 |
#-----------------
|
|
|
307 |
[blockdef-comment]
|
|
|
308 |
delimiter=^/{4,}$
|
|
|
309 |
options=skip
|
|
|
310 |
posattrs=style
|
|
|
311 |
|
|
|
312 |
[blockdef-sidebar]
|
|
|
313 |
delimiter=^\*{4,}$
|
|
|
314 |
template=sidebarblock
|
|
|
315 |
options=sectionbody
|
|
|
316 |
posattrs=style
|
|
|
317 |
# DEPRECATED: Use Openblock instead.
|
|
|
318 |
abstract-style=template="abstractblock"
|
|
|
319 |
|
|
|
320 |
[blockdef-open]
|
|
|
321 |
# A block without opening or closing tags.
|
|
|
322 |
delimiter=^--$
|
|
|
323 |
posattrs=style
|
|
|
324 |
style=default
|
|
|
325 |
default-style=template="openblock",options=("sectionbody",)
|
|
|
326 |
comment-style=template="openblock",options=("skip",)
|
|
|
327 |
abstract-style=template="abstractblock",options=("sectionbody",)
|
|
|
328 |
partintro-style=template="partintroblock",options=("sectionbody",)
|
|
|
329 |
example-style=template="exampleblock",options=("sectionbody",)
|
|
|
330 |
sidebar-style=template="sidebarblock",options=("sectionbody",)
|
|
|
331 |
verse-style=template="verseblock",posattrs=("style","attribution","citetitle")
|
|
|
332 |
quote-style=template="quoteblock",posattrs=("style","attribution","citetitle"),options=("sectionbody",)
|
|
|
333 |
literal-style=template="literalparagraph",subs=("verbatim",)
|
|
|
334 |
listing-style=template="listingparagraph",subs=("verbatim",)
|
|
|
335 |
NOTE-style=template="admonitionblock",name="note",caption="{note-caption}",options=("sectionbody",)
|
|
|
336 |
TIP-style=template="admonitionblock",name="tip",caption="{tip-caption}",options=("sectionbody",)
|
|
|
337 |
IMPORTANT-style=template="admonitionblock",name="important",caption="{important-caption}",options=("sectionbody",)
|
|
|
338 |
WARNING-style=template="admonitionblock",name="warning",caption="{warning-caption}",options=("sectionbody",)
|
|
|
339 |
CAUTION-style=template="admonitionblock",name="caution",caption="{caution-caption}",options=("sectionbody",)
|
|
|
340 |
|
|
|
341 |
[blockdef-pass]
|
|
|
342 |
delimiter=^\+{4,}$
|
|
|
343 |
template=passblock
|
|
|
344 |
# Default subs choosen for backward compatibility.
|
|
|
345 |
subs=attributes,macros
|
|
|
346 |
posattrs=style
|
|
|
347 |
pass-style=template="passblock",subs=()
|
|
|
348 |
|
|
|
349 |
[blockdef-listing]
|
|
|
350 |
delimiter=^-{4,}$
|
|
|
351 |
template=listingblock
|
|
|
352 |
subs=verbatim
|
|
|
353 |
posattrs=style
|
|
|
354 |
|
|
|
355 |
[blockdef-literal]
|
|
|
356 |
delimiter=^\.{4,}$
|
|
|
357 |
template=literalblock
|
|
|
358 |
subs=verbatim
|
|
|
359 |
posattrs=style
|
|
|
360 |
listing-style=template="listingblock"
|
|
|
361 |
# DEPRECATED: Use verse style on quote blocks instead.
|
|
|
362 |
verse-style=template="verseblock",subs="normal"
|
|
|
363 |
|
|
|
364 |
[blockdef-quote]
|
|
|
365 |
delimiter=^_{4,}$
|
|
|
366 |
subs=normal
|
|
|
367 |
style=quote
|
|
|
368 |
posattrs=style,attribution,citetitle
|
|
|
369 |
quote-style=template="quoteblock",options=("sectionbody",)
|
|
|
370 |
verse-style=template="verseblock"
|
|
|
371 |
|
|
|
372 |
[blockdef-example]
|
|
|
373 |
delimiter=^={4,}$
|
|
|
374 |
template=exampleblock
|
|
|
375 |
options=sectionbody
|
|
|
376 |
posattrs=style
|
|
|
377 |
NOTE-style=template="admonitionblock",name="note",caption="{note-caption}"
|
|
|
378 |
TIP-style=template="admonitionblock",name="tip",caption="{tip-caption}"
|
|
|
379 |
IMPORTANT-style=template="admonitionblock",name="important",caption="{important-caption}"
|
|
|
380 |
WARNING-style=template="admonitionblock",name="warning",caption="{warning-caption}"
|
|
|
381 |
CAUTION-style=template="admonitionblock",name="caution",caption="{caution-caption}"
|
|
|
382 |
|
|
|
383 |
# For use by custom filters.
|
|
|
384 |
# DEPRECATED: No longer used, a styled listing block (blockdef-listing) is preferable.
|
|
|
385 |
[blockdef-filter]
|
|
|
386 |
delimiter=^~{4,}$
|
|
|
387 |
template=listingblock
|
|
|
388 |
subs=none
|
|
|
389 |
posattrs=style
|
|
|
390 |
|
|
|
391 |
#-------
|
|
|
392 |
# Lists
|
|
|
393 |
#-------
|
|
|
394 |
[listdef-bulleted]
|
|
|
395 |
# - bullets.
|
|
|
396 |
delimiter=^\s*- +(?P<text>.+)$
|
|
|
397 |
posattrs=style
|
|
|
398 |
type=bulleted
|
|
|
399 |
tags=bulleted
|
|
|
400 |
callout-style=tags="callout"
|
|
|
401 |
bibliography-style=tags="bibliography"
|
|
|
402 |
|
|
|
403 |
[listdef-bulleted1]
|
|
|
404 |
# * bullets.
|
|
|
405 |
template::[listdef-bulleted]
|
|
|
406 |
delimiter=^\s*\* +(?P<text>.+)$
|
|
|
407 |
|
|
|
408 |
[listdef-bulleted2]
|
|
|
409 |
# ** bullets.
|
|
|
410 |
template::[listdef-bulleted]
|
|
|
411 |
delimiter=^\s*\*{2} +(?P<text>.+)$
|
|
|
412 |
|
|
|
413 |
[listdef-bulleted3]
|
|
|
414 |
# *** bullets.
|
|
|
415 |
template::[listdef-bulleted]
|
|
|
416 |
delimiter=^\s*\*{3} +(?P<text>.+)$
|
|
|
417 |
|
|
|
418 |
[listdef-bulleted4]
|
|
|
419 |
# **** bullets.
|
|
|
420 |
template::[listdef-bulleted]
|
|
|
421 |
delimiter=^\s*\*{4} +(?P<text>.+)$
|
|
|
422 |
|
|
|
423 |
[listdef-bulleted5]
|
|
|
424 |
# ***** bullets.
|
|
|
425 |
template::[listdef-bulleted]
|
|
|
426 |
delimiter=^\s*\*{5} +(?P<text>.+)$
|
|
|
427 |
|
|
|
428 |
[listdef-arabic]
|
|
|
429 |
# Arabic numbering.
|
|
|
430 |
delimiter=^\s*(?P<index>\d+\.) +(?P<text>.+)$
|
|
|
431 |
posattrs=style
|
|
|
432 |
type=numbered
|
|
|
433 |
tags=numbered
|
|
|
434 |
style=arabic
|
|
|
435 |
|
|
|
436 |
[listdef-loweralpha]
|
|
|
437 |
# Lower alpha numbering.
|
|
|
438 |
template::[listdef-arabic]
|
|
|
439 |
delimiter=^\s*(?P<index>[a-z]\.) +(?P<text>.+)$
|
|
|
440 |
style=loweralpha
|
|
|
441 |
|
|
|
442 |
[listdef-upperalpha]
|
|
|
443 |
# Upper alpha numbering.
|
|
|
444 |
template::[listdef-arabic]
|
|
|
445 |
delimiter=^\s*(?P<index>[A-Z]\.) +(?P<text>.+)$
|
|
|
446 |
style=upperalpha
|
|
|
447 |
|
|
|
448 |
[listdef-lowerroman]
|
|
|
449 |
# Lower roman numbering.
|
|
|
450 |
template::[listdef-arabic]
|
|
|
451 |
delimiter=^\s*(?P<index>[ivx]+\)) +(?P<text>.+)$
|
|
|
452 |
style=lowerroman
|
|
|
453 |
|
|
|
454 |
[listdef-upperroman]
|
|
|
455 |
# Upper roman numbering.
|
|
|
456 |
template::[listdef-arabic]
|
|
|
457 |
delimiter=^\s*(?P<index>[IVX]+\)) +(?P<text>.+)$
|
|
|
458 |
style=upperroman
|
|
|
459 |
|
|
|
460 |
[listdef-numbered1]
|
|
|
461 |
# . numbering.
|
|
|
462 |
template::[listdef-arabic]
|
|
|
463 |
delimiter=^\s*\. +(?P<text>.+)$
|
|
|
464 |
|
|
|
465 |
[listdef-numbered2]
|
|
|
466 |
# .. numbering.
|
|
|
467 |
template::[listdef-loweralpha]
|
|
|
468 |
delimiter=^\s*\.{2} +(?P<text>.+)$
|
|
|
469 |
|
|
|
470 |
[listdef-numbered3]
|
|
|
471 |
# ... numbering.
|
|
|
472 |
template::[listdef-lowerroman]
|
|
|
473 |
delimiter=^\s*\.{3} +(?P<text>.+)$
|
|
|
474 |
|
|
|
475 |
[listdef-numbered4]
|
|
|
476 |
# .... numbering.
|
|
|
477 |
template::[listdef-upperalpha]
|
|
|
478 |
delimiter=^\s*\.{4} +(?P<text>.+)$
|
|
|
479 |
|
|
|
480 |
[listdef-numbered5]
|
|
|
481 |
# ..... numbering.
|
|
|
482 |
template::[listdef-upperroman]
|
|
|
483 |
delimiter=^\s*\.{5} +(?P<text>.+)$
|
|
|
484 |
|
|
|
485 |
[listdef-labeled]
|
|
|
486 |
# label:: item.
|
|
|
487 |
delimiter=^\s*(?P<label>.*[^:])::(\s+(?P<text>.+))?$
|
|
|
488 |
posattrs=style
|
|
|
489 |
type=labeled
|
|
|
490 |
tags=labeled
|
|
|
491 |
vertical-style=tags="labeled"
|
|
|
492 |
horizontal-style=tags="horizontal"
|
|
|
493 |
glossary-style=tags="glossary"
|
|
|
494 |
qanda-style=tags="qanda"
|
|
|
495 |
|
|
|
496 |
[listdef-labeled2]
|
|
|
497 |
# label;; item.
|
|
|
498 |
template::[listdef-labeled]
|
|
|
499 |
delimiter=^\s*(?P<label>.*[^;]);;(\s+(?P<text>.+))?$
|
|
|
500 |
|
|
|
501 |
[listdef-labeled3]
|
|
|
502 |
# label::: item.
|
|
|
503 |
template::[listdef-labeled]
|
|
|
504 |
delimiter=^\s*(?P<label>.*[^:]):{3}(\s+(?P<text>.+))?$
|
|
|
505 |
|
|
|
506 |
[listdef-labeled4]
|
|
|
507 |
# label:::: item.
|
|
|
508 |
template::[listdef-labeled]
|
|
|
509 |
delimiter=^\s*(?P<label>.*[^:]):{4}(\s+(?P<text>.+))?$
|
|
|
510 |
|
|
|
511 |
[listdef-callout]
|
|
|
512 |
posattrs=style
|
|
|
513 |
delimiter=^<?(?P<index>\d*>) +(?P<text>.+)$
|
|
|
514 |
type=callout
|
|
|
515 |
tags=callout
|
|
|
516 |
style=arabic
|
|
|
517 |
|
|
|
518 |
# DEPRECATED: Old list syntax.
|
|
|
519 |
[listdef-qanda]
|
|
|
520 |
posattrs=style
|
|
|
521 |
delimiter=^\s*(?P<label>.*\S)\?\?$
|
|
|
522 |
type=labeled
|
|
|
523 |
tags=qanda
|
|
|
524 |
|
|
|
525 |
# DEPRECATED: Old list syntax.
|
|
|
526 |
[listdef-bibliography]
|
|
|
527 |
posattrs=style
|
|
|
528 |
delimiter=^\+ +(?P<text>.+)$
|
|
|
529 |
type=bulleted
|
|
|
530 |
tags=bibliography
|
|
|
531 |
|
|
|
532 |
# DEPRECATED: Old list syntax.
|
|
|
533 |
[listdef-glossary]
|
|
|
534 |
delimiter=^(?P<label>.*\S):-$
|
|
|
535 |
posattrs=style
|
|
|
536 |
type=labeled
|
|
|
537 |
tags=glossary
|
|
|
538 |
|
|
|
539 |
#-------
|
|
|
540 |
# Tables
|
|
|
541 |
#-------
|
|
|
542 |
[tabledef-default]
|
|
|
543 |
delimiter=^\|={3,}$
|
|
|
544 |
posattrs=style
|
|
|
545 |
template=table
|
|
|
546 |
default-style=tags="default"
|
|
|
547 |
verse-style=tags="verse"
|
|
|
548 |
literal-style=tags="literal",subs=("specialcharacters",)
|
|
|
549 |
emphasis-style=tags="emphasis"
|
|
|
550 |
strong-style=tags="strong"
|
|
|
551 |
monospaced-style=tags="monospaced"
|
|
|
552 |
header-style=tags="header"
|
|
|
553 |
asciidoc-style=tags="asciidoc",subs=(),filter='"{python}" "{asciidoc-file}" -b {backend} {asciidoc-args}{lang? -a "lang={lang}@"}{icons? -a icons -a "iconsdir={iconsdir}"}{imagesdir? -a "imagesdir={imagesdir}"}{data-uri? -a data-uri} -a "indir={indir}"{trace? -a "trace={trace}"}{blockname? -a "blockname={blockname}"} -s -'
|
|
|
554 |
|
|
|
555 |
[tabledef-nested]
|
|
|
556 |
# Same as [tabledef-default] but with different delimiter and separator.
|
|
|
557 |
delimiter=^!={3,}$
|
|
|
558 |
separator=((?<!\S)((?P<span>[\d.]+)(?P<op>[*+]))?(?P<align>[<\^>.]{,3})?(?P<style>[a-z])?)?!
|
|
|
559 |
posattrs=style
|
|
|
560 |
template=table
|
|
|
561 |
verse-style=tags="verse"
|
|
|
562 |
literal-style=tags="literal",subs=("specialcharacters",)
|
|
|
563 |
emphasis-style=tags="emphasis"
|
|
|
564 |
strong-style=tags="strong"
|
|
|
565 |
monospaced-style=tags="monospaced"
|
|
|
566 |
header-style=tags="header"
|
|
|
567 |
asciidoc-style=tags="asciidoc",subs=(),filter='"{python}" "{asciidoc-file}" -b {backend} {asciidoc-args}{lang? -a "lang={lang}@"}{icons? -a icons -a "iconsdir={iconsdir}"}{imagesdir? -a "imagesdir={imagesdir}"}{data-uri? -a data-uri} -a "indir={indir}"{trace? -a "trace={trace}"}{blockname? -a "blockname={blockname}"} -s -'
|
|
|
568 |
|
|
|
569 |
#----------------------------------------
|
|
|
570 |
# Common block and macro markup templates
|
|
|
571 |
#----------------------------------------
|
|
|
572 |
[comment-inlinemacro]
|
|
|
573 |
# Outputs nothing.
|
|
|
574 |
|
|
|
575 |
[comment-blockmacro]
|
|
|
576 |
# Outputs nothing.
|
|
|
577 |
|
|
|
578 |
[pass-blockmacro]
|
|
|
579 |
{passtext}
|
|
|
580 |
|
|
|
581 |
[pass-inlinemacro]
|
|
|
582 |
template::[pass-blockmacro]
|
|
|
583 |
|
|
|
584 |
[passblock]
|
|
|
585 |
|
|
|
|
586 |
|
|
|
587 |
[filter-image-blockmacro]
|
|
|
588 |
# Synthesize missing target attribute for filter generated file names.
|
|
|
589 |
# The tag split | ensures missing target file names are auto-generated
|
|
|
590 |
# before the filter is executed, the remainder (the [image-blockmacro])
|
|
|
591 |
# is excuted after the filter to ensure data URI encoding comes after
|
|
|
592 |
# the image is created.
|
|
|
593 |
{target%}{counter2:target-number}
|
|
|
594 |
{target%}{set2:target:{docname}__{target-number}.png}
|
|
|
595 |
|
|
|
|
596 |
template::[image-blockmacro]
|
|
|
597 |
|
|
|
598 |
[+docinfo]
|
|
|
599 |
# Blank section to suppress missing template warning.
|
|
|
600 |
|
|
|
601 |
#----------------------------------
|
|
|
602 |
# Default special section templates
|
|
|
603 |
#----------------------------------
|
|
|
604 |
[abstract]
|
|
|
605 |
template::[sect1]
|
|
|
606 |
|
|
|
607 |
[colophon]
|
|
|
608 |
template::[sect1]
|
|
|
609 |
|
|
|
610 |
[dedication]
|
|
|
611 |
template::[sect1]
|
|
|
612 |
|
|
|
613 |
[preface]
|
|
|
614 |
template::[sect1]
|
|
|
615 |
|
|
|
616 |
[appendix]
|
|
|
617 |
template::[sect1]
|
|
|
618 |
|
|
|
619 |
[glossary]
|
|
|
620 |
template::[sect1]
|
|
|
621 |
|
|
|
622 |
[bibliography]
|
|
|
623 |
template::[sect1]
|
|
|
624 |
|
|
|
625 |
[index]
|
|
|
626 |
template::[sect1]
|
|
|
627 |
|
|
|
628 |
[synopsis]
|
|
|
629 |
template::[sect1]
|
|
|
630 |
|
|
|
631 |
#--------------------------------------------------------------------
|
|
|
632 |
# Deprecated old table definitions.
|
|
|
633 |
#
|
|
|
634 |
|
|
|
635 |
[old_tabledef-default]
|
|
|
636 |
fillchar=-
|
|
|
637 |
format=fixed
|
|
|
638 |
|
|
|
639 |
[old_tabledef-csv]
|
|
|
640 |
fillchar=~
|
|
|
641 |
format=csv
|
|
|
642 |
|
|
|
643 |
[old_tabledef-dsv]
|
|
|
644 |
fillchar=_
|
|
|
645 |
format=dsv
|
|
|
646 |
|
|
|
647 |
# End of deprecated old table definitions.
|
|
|
648 |
#--------------------------------------------------------------------
|