-
Notifications
You must be signed in to change notification settings - Fork 1
/
dvp.conf
191 lines (158 loc) · 4.06 KB
/
dvp.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
#
# dvp.conf
#
# Asciidoc DVP 0.2 configuration file.
# 0.1
# - initialize project
# 0.2
# - add footnote support
# - fix image path
# - add table support
# - add code block support
# - add admonitionblock support
[miscellaneous]
outfilesuffix=.xml
pagewidth=425
pageunits=*
[attributes]
basebackend=dvp
toc=
numbered=
toto=
[tags]
# Italic.
emphasis=<i>|</i>
[replacements]
# Replacement for link.
(.+?)link:#_ftn(.+?)\[\[(.+?)\]\]=<renvoi id="reflink\2">\1</renvoi>
link:#_ftnref(.+?)\[\[(.+?)\]\]=<signet id="reflink\1"/>
[footnote-inlinemacro]
# Footnote.
<noteBasPage>{0}</noteBasPage>
[paragraph]
<paragraph>|</paragraph>
[listingblock]
<code{title? titre="{title}"} langage="other"><![CDATA[|]]></code>
[listtags-bulleted]
list=<liste sautDePagePdf="0">|</liste>
item=<element>|</element>
text=|
[http-inlinemacro]
<link target="_blank" href="{name}:{target}">{0={name}:{target}}</link>
[image-inlinemacro]
<image align="{float}" src="./images/{target}"/>
[literalblock]
<code langage="other"><![CDATA[|]]></code>
[admonitionblock]
ifeval::[{name}=="note"]
endif::[]
<rich-imgtext type="info">|</rich-imgtext>
[dvp-header]
<entete>
<rubrique>04</rubrique>
<meta>
<description>Apache Maven, le livre</description>
<keywords>Apache, Maven</keywords>
</meta>
<titre>
<page>Apache Maven, le livre</page>
<article>Apache Maven, le livre</article>
</titre>
<date>2014-02-15</date>
<miseajour>{revdate}</miseajour>
<licauteur>Arnaud Heritier et Nicolas De Loof</licauteur>
<lictype>12</lictype>
<licannee>2014</licannee>
<serveur>DVP Java</serveur>
<chemin>livres-collaboratifs/apache-maven-le-livre</chemin>
<urlhttp>http://java.developpez.com/livres-collaboratifs/apache-maven-le-livre</urlhttp>
</entete>
[dvp-authors]
<authorDescriptions>
<authorDescription name="mickaelbaron" role="gabarisateur">
<fullname>Mickael BARON</fullname>
<url>http://www.developpez.net/forums/u69211/mickael-baron/</url>
<homepage>
<title>Page perso</title>
<url>http://mbaron.developpez.com/</url>
</homepage>
</authorDescription>
<authorDescription name="arnaudheritier" role="auteur">
<fullname>Arnaud Héritier</fullname>
</authorDescription>
<authorDescription name="nicolasdeloof" role="auteur">
<fullname>Nicolas De Loof</fullname>
</authorDescription>
</authorDescriptions>
[dvp-synopsis]
<synopsis>
<paragraph>Livre sur Apache Maven</paragraph>
</synopsis>
# Tables.
[tabletags-default]
colspec=<colspec colname="col_{colnumber}" colwidth="{width!{colpcwidth}*}{width?{colabswidth}{pageunits}}"/>
headrow=<entete>|</entete>
bodyrow=<ligne>|</ligne>
headdata=<colonne align="{halign}">|</colonne>
bodydata=<colonne align="{halign}">|</colonne>
paragraph=|
[tabletags-header]
paragraph=NotYetImplemented
[tabletags-strong]
paragraph=NotYetImplemented
[tabletags-monospaced]
paragraph=NotYetImplemented
[tabletags-verse]
paragraph=NotYetImplemented
[tabletags-literal]
paragraph=NotYetImplemented
[tabletags-asciidoc]
bodydata=<colonne useText="0" align="{halign}">|</colonne>
paragraph=|
[table]
<tableau{title? titre="{title}"}>
{headrows}
{bodyrows}
</tableau>
#-------------------------
# article document type
#-------------------------
ifdef::doctype-book[]
[header]
<?xml version="1.0" encoding="ISO-8859-1"?>
<document>
template::[dvp-header]
template::[dvp-authors]
template::[dvp-synopsis]
<summary>
[footer]
</summary>
</document>
[partintro]
[sect0]
# Workaround to distinguish Partie or Chapitre section. To resolve when the structure will be safe.
<section {id@_partie_1_(.+?):id="Partie-{level}":id="Chapitre-{level}"} noNumber="1">
<title>{title}</title>
|
</section>
[sect1]
<section{id? id="{sectnum}" } noNumber="1">
<title>{title}</title>
|
</section>
[sect2]
<section{id? id="{sectnum}" } noNumber="1">
<title>{title}</title>
|
</section>
[sect3]
<section{id? id="{sectnum}" } noNumber="1">
<title>{title}</title>
|
</section>
[sect4]
<section{id? id="{sectnum}" } noNumber="1">
<title>{title}</title>
|
</section>
endif::doctype-book[]