Subversion Repositories configs

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
192 - 1
#
2
# latex.conf
3
#
4
# Asciidoc configuration file.
5
# latex backend, generates LaTeX conformant markup.
6
#
7
# Originally created by Benjamin Klum, later modified by Geoff Eddy.
8
 
9
[titles]
10
subs=quotes,replacements,attributes,macros,specialcharacters,replacements2
11
 
12
 
13
# The listing block uses a LaTeX verbatim environment where special characters don't need to be escaped.
14
# Hence only "callouts" substitution should be applied.
15
[blockdef-listing]
16
subs=callouts
17
 
18
 
19
[attributes]
20
basebackend=latex
21
basebackend-latex=
22
 
23
latex-table-rowlimit=20
24
latex-use-bibliography-environment!
25
latex-indent-paragraphs!
26
latex-recognize-escaped-unicode!
27
latex-use-custom-list-items!
28
latex-use-colored-tables!
29
latex-use-running-title-headings!
30
latex-use-colored-sidebar-blocks!
31
 
32
[miscellaneous]
33
subsnormal=quotes,specialwords,replacements,attributes,macros,specialcharacters,replacements2
34
#subsnormal=quotes,specialwords,replacements,attributes,macros,passthroughs,specialcharacters,replacements2
35
subsverbatim=callouts,specialcharacters
36
outfilesuffix=.tex
37
# Screen width in pixels.
38
pagewidth=418
39
pageunits=pt
40
 
41
 
42
[specialcharacters]
43
{=\{{}
44
}=\}{}
45
\=\textbackslash{}
46
$=\${}
47
<=\textless{}
48
>=\textgreater{}
49
&=\&{}
50
_=\_{}
51
%=\%{}
52
\#=\#{}
53
^=\textasciicircum{}
54
~=\textasciitilde{}
55
|=\textbar{}
56
"=\textquotedbl{}
57
 
58
 
59
[macros]
60
# I needed to rewrite some regular expressions because '<' and '>' have not been escaped to '&lt;' and '&gt;'
61
 
62
# Callout
63
[\\]?<(?P<index>\d+)>=callout
64
 
65
# Link: <<id,text>>
66
(?su)[\\]?<<(?P<attrlist>[\w"].*?)>>=xref2
67
 
68
[replacements]
69
 
70
# Line break.
71
(?m)^(.*)\s\+$=\1 !..backslash..!newline!..braceleft..!!..braceright..!
72
 
73
# -- Spaced em dashes (entity reference &mdash;)
74
(^|[^-\\])--($|[^-])=\1--\2
75
 
76
 
77
# (C) Copyright (entity reference &copy;)
78
(?<!\\)\(C\)=!..backslash..!textcopyright!..braceleft..!!..braceright..!
79
\\\(C\)=(C)
80
 
81
# (R) registered trade mark (entity reference &reg;
82
(?<!\\)\(R\)=!..backslash..!textregistered!..braceleft..!!..braceright..!
83
\\\(R\)=(R)
84
 
85
# (TM) Trademark (entity reference &trade;)
86
(?<!\\)\(TM\)=!..backslash..!texttrademark!..braceleft..!!..braceright..!
87
\\\(TM\)=(TM)
88
 
89
# ... Ellipsis (entity reference &hellip;)
90
(?<!\\)\.\.\.=!..backslash..!dots!..braceleft..!!..braceright..!
91
\\\.\.\.=...
92
 
93
# Recognize escaped unicode characters
94
# FIXME: these should be uncommented, but then there are encoding
95
# problems.
96
 
97
#&#([0-9]*);=!..backslash..!unichar!..braceleft..!\1!..braceright..!
98
#&#x([0123456789abcdefABCDEF]*);=!..backslash..!unichar!..braceleft..!{eval:0x\1}!..braceright..!
99
 
100
# -> right arrow
101
->=!..backslash..!textrightarrow!..braceleft..!!..braceright..!
102
# => right double arrow (have to enter math mode)
103
=>=!..dollar..!!..backslash..!Rightarrow!..braceleft..!!..braceright..!!..dollar..!
104
# <- left arrow
105
<-=!..backslash..!textleftarrow!..braceleft..!!..braceright..!
106
# <= left double arrow (have to enter math mode)
107
<\==!..dollar..!!..backslash..!Leftarrow!..braceleft..!!..braceright..!!..dollar..!
108
# --> long right arrow (have to enter math mode)
109
-->=!..backslash..!textrightarrow!..braceleft..!!..braceright..!
110
# ==> long right double arrow (have to enter math mode)
111
=\=>=!..dollar..!!..backslash..!Rightarrow!..braceleft..!!..braceright..!!..dollar..!
112
# <-- long left arrow (have to enter math mode)
113
<--=!..backslash..!textleftarrow!..braceleft..!!..braceright..!
114
# <== long left double arrow (have to enter math mode)
115
<\=\==!..dollar..!!..backslash..!Leftarrow!..braceleft..!!..braceright..!!..dollar..!
116
# apostrophe
117
(\w)'(\w)=\1'\2
118
 
119
[quotes]
120
#``|''=
121
#`|'=
122
`=monospaced
123
 
124
[replacements2]
125
!..braceleft..!={
126
!..braceright..!=}
127
!..backslash..!=\\
128
!..dollar..!=$
129
!..lessthan..!=<
130
!..greaterthan..!=>
131
!..amp..!=&
132
!..underline..!=_
133
!..percent..!=%
134
!..sharp..!=#
135
!..circum..!=^
136
!..tilde..!=~
137
!..bar..!=|
138
!..doublequote..!="
139
 
140
 
141
 
142
# Ruler is interpreted as a page break.
143
[ruler-blockmacro]
144
\clearpage
145
 
146
[image-inlinemacro]
147
!..backslash..!href!..braceleft..!{link}!..braceright..!!..braceleft..!!..percent..!
148
!..backslash..!includegraphics[{scale?scale={scale},}{width?width={width}pt,}{height? height={height}pt}]!..braceleft..!{target}!..braceright..!
149
{link#}!..braceright..!
150
 
151
 
152
[image-blockmacro]
153
\begin\{figure\}
154
\hypertarget\{{id}\}\{\}
155
\caption\{{title}\}
156
\href\{{link}\}\{%
157
\includegraphics[{scale?scale={scale},}{width?width={width}pt,}{height? height={height}pt}]\{{target}\}%
158
\label\{{id}\}
159
{link#}\}
160
\end\{figure\}
161
 
162
[indexterm-inlinemacro]
163
# Inline index term.
164
!..backslash..!index!..braceleft..!{1}{2?!{2}}{3?!{3}}!..braceright..!
165
 
166
[indexterm2-inlinemacro]
167
# Inline index term.
168
# Single entry index term that is visible in the primary text flow.
169
!..backslash..!index!..braceleft..!{1}!..braceright..!{1}
170
 
171
[footnote-inlinemacro]
172
# Inline footnote.
173
!..backslash..!footnote!..braceleft..!{0}!..braceright..!
174
 
175
[footnoteref-inlinemacro]
176
 
177
 
178
[callout-inlinemacro]
179
# Inline callout.
180
<{index}>
181
 
182
[literal-inlinemacro]
183
 
184
[listtags-bulleted]
185
list={title?\minisec\{{title}\}} {id?\label\{{id}\}\hypertarget\{{id}\}\{\}} \begin\{itemize\}|\end\{itemize\}
186
item=\item%|
187
text=|
188
 
189
[listtags-numbered]
190
list={title?\minisec\{{title}\}} {id?\label\{{id}\}\hypertarget\{{id}\}\{\}} \begin\{enumerate\}|\end\{enumerate\}
191
item=\item%|
192
text=|
193
 
194
[listtags-labeled]
195
list={title?\minisec\{{title}\}} \par{id?\label\{{id}\}\hypertarget\{{id}\}\{\}} |
196
item=\begin\{quote\}|\end\{quote\}
197
text=|
198
term=\noindent\textbf\{%|\}
199
entry=
200
label=
201
 
202
[listtags-horizontal]
203
list={title?\minisec\{{title}\}} {id?\label\{{id}\}\hypertarget\{{id}\}\{\}} \begin\{description\}|\end\{description\}
204
item=
205
text=|
206
term=\item[%|]
207
entry=
208
label=
209
 
210
[listtags-callout]
211
list={title?\minisec\{{title}\}} {id?\label\{{id}\}\hypertarget\{{id}\}\{\}} \begin\{enumerate\}|\end\{enumerate\}
212
item=\item%|
213
text=|
214
 
215
[listtags-qanda]
216
list={title?\minisec\{{title}\}} {id?\label\{{id}\}\hypertarget\{{id}\}\{\}} \begin\{enumerate\}|\end\{enumerate\}
217
item=\begin\{quotation\}|\end\{quotation\}
218
text=|
219
term=|
220
entry=\item%|
221
label=
222
 
223
[listtags-glossary]
224
list={title?\minisec\{{title}\}} {id?\label\{{id}\}\hypertarget\{{id}\}\{\}} \begin\{enumerate\}|\end\{enumerate\}
225
item=\item%|
226
text=|
227
term=\item%|
228
entry=
229
label=
230
 
231
[listtags-bibliography]
232
list=biblist={title?\minisec\{{title}\}} {id?\label\{{id}\}\hypertarget\{{id}\}\{\}} \begin\{description\} | \end\{description\}
233
item=|
234
text=|
235
 
236
 
237
 
238
[tags]
239
superscript=!..backslash..!textsuperscript!..braceleft..!|!..braceright..!
240
subscript=!..backslash..!textsubscript!..braceleft..!|!..braceright..!
241
singlequoted=``|''
242
doublequoted=`|'
243
 
244
 
245
 
246
# Quoted text.
247
emphasis=!..backslash..!emph!..braceleft..!|!..braceright..!
248
strong=!..backslash..!textbf!..braceleft..!|!..braceright..!
249
monospaced=!..backslash..!texttt!..braceleft..!|!..braceright..!
250
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..!
251
unquoted=|
252
 
253
# $$ inline passthrough.
254
$$passthrough=|
255
 
256
# Inline macros
257
[http-inlinemacro]
258
!..backslash..!href!..braceleft..!{name}:{target}!..braceright..!!..braceleft..!{0={name}:{target}}!..braceright..!
259
[https-inlinemacro]
260
!..backslash..!href!..braceleft..!{name}:{target}!..braceright..!!..braceleft..!{0={name}:{target}}!..braceright..!
261
[ftp-inlinemacro]
262
!..backslash..!href!..braceleft..!{name}:{target}!..braceright..!!..braceleft..!{0={name}:{target}}!..braceright..!
263
[file-inlinemacro]
264
!..backslash..!href!..braceleft..!{name}:{target}!..braceright..!!..braceleft..!{0={name}:{target}}!..braceright..!
265
[mailto-inlinemacro]
266
!..backslash..!href!..braceleft..!{name}:{target}!..braceright..!!..braceleft..!{0={target}}!..braceright..!
267
[callto-inlinemacro]
268
!..backslash..!href!..braceleft..!{name}:{target}!..braceright..!!..braceleft..!{0={target}}!..braceright..!
269
[link-inlinemacro]
270
!..backslash..!href!..braceleft..!{target}!..braceright..!!..braceleft..!{0={target}}!..braceright..!
271
# anchor:id[text]
272
[anchor-inlinemacro]
273
!..backslash..!label!..braceleft..!{target}!..braceright..!!..backslash..!hypertarget!..braceleft..!{target}!..braceright..!!..braceleft..!{0={target}}!..braceright..!
274
# [[id,text]]
275
[anchor2-inlinemacro]
276
!..backslash..!label!..braceleft..!{1}!..braceright..!!..backslash..!hypertarget!..braceleft..!{1}!..braceright..!!..braceleft..!{2={1}}!..braceright..!
277
# [[[id]]]
278
[anchor3-inlinemacro]
279
{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..!
280
# xref:id[text]
281
[xref-inlinemacro]
282
{style#}{style$page:!..backslash..!pageref!..braceleft..!{target}!..braceright..!}
283
{style#}{style$autoref:!..backslash..!autoref!..braceleft..!{target}!..braceright..!}
284
{style#}{style$ref:!..backslash..!ref!..braceleft..!{target}!..braceright..!}
285
{style#}{latex-use-bibliography-environment#}{style$cite:!..backslash..!cite!..braceleft..!{target}!..braceright..!}
286
{style#}{latex-use-bibliography-environment%}{style$cite:!..backslash..!hyperlink!..braceleft..!{target}!..braceright..!!..braceleft..!{0=[{target}]}!..braceright..!}
287
{style%}!..backslash..!hyperlink!..braceleft..!{target}!..braceright..!!..braceleft..!{0=[{target}]}!..braceright..!
288
 
289
# <<id,text>>
290
[xref2-inlinemacro]
291
{3#}{3$page:!..backslash..!pageref!..braceleft..!{1}!..braceright..!}
292
{3#}{3$autoref:!..backslash..!autoref!..braceleft..!{1}!..braceright..!}
293
{3#}{3$ref:!..backslash..!ref!..braceleft..!{1}!..braceright..!}
294
{3#}{latex-use-bibliography-environment#}{3$cite:!..backslash..!cite!..braceleft..!{1}!..braceright..!}
295
{3#}{latex-use-bibliography-environment%}{3$cite:!..backslash..!hyperlink!..braceleft..!{1}!..braceright..!!..braceleft..!{2=[{1}]}!..braceright..!}
296
{3%}!..backslash..!hyperlink!..braceleft..!{1}!..braceright..!!..braceleft..!{2=[{1}]}!..braceright..!
297
 
298
 
299
# Special word substitution.
300
[emphasizedwords]
301
!..backslash..!emph!..braceleft..!{words}!..braceright..!
302
[monospacedwords]
303
!..backslash..!texttt!..braceleft..!{words}!..braceright..!
304
[strongwords]
305
!..backslash..!textbf!..braceleft..!{words}!..braceright..!
306
 
307
 
308
 
309
# Paragraph substitution.
310
[paragraph]
311
{title%} \par{latex-indent-paragraphs!\noindent{}}
312
{title#} \paragraph\{{title}\}
313
\label\{{id}\}\hypertarget\{{id}\}\{\}
314
 
315
|
316
 
317
[literalparagraph]
318
# The literal block employs the same markup.
319
template::[literalblock]
320
 
321
[verseparagraph]
322
# The verse block employs the same markup.
323
template::[verseblock]
324
 
325
[admonitionparagraph]
326
# The admonition block employs the same markup.
327
template::[admonitionblock]
328
 
329
# Delimited blocks.
330
[passthroughblock]
331
|
332
 
333
# FIXME: we get SPURIOUS TEXT at the beginning, but can't delete it.
334
# Putting "[]" after the \begin{lstlisting} in the LaTeX output works,
335
# but inserting the same "[]" below doesn't.
336
 
337
[listingblock]
338
\\minisec\{{caption=Listing: }{title}\}
339
\label\{{id}\}\hypertarget\{{id}\}\{\}
340
\begin\{verbatim\}|\end\{verbatim\}
341
 
342
% FIXXME: dirty hack to circumvent missing \n after verbatim
343
 
344
[literalblock]
345
\minisec\{{title}\}
346
\label\{{id}\}\hypertarget\{{id}\}\{\}
347
\begin\{alltt\}
348
 
349
|
350
 
351
\end\{alltt\}
352
 
353
[verseblock]
354
\minisec\{{title}\}
355
\label\{{id}\}\hypertarget\{{id}\}\{\}
356
\begin\{alltt\}
357
\normalfont\{\}
358
 
359
|
360
 
361
\end\{alltt\}
362
 
363
[sidebarblock]
364
\label\{{id}\}\hypertarget\{{id}\}\{\}
365
\par\noindent{}
366
ifndef::latex-use-colored-sidebar-blocks[]
367
\setlength\{\tabcolsep\}\{0pt\}
368
\rowcolors\{1\}\{\}\{\}
369
\begin\{tabular\}\{l>\{\columncolor[gray]\{.75\}\}rcl\}
370
\hspace*\{0pt\} &
371
\hspace*\{8pt\} &
372
\hspace*\{16pt\} &
373
\begin\{minipage\}\{4in\}
374
endif::latex-use-colored-sidebar-blocks[]
375
ifdef::latex-use-colored-sidebar-blocks[]
376
\fcolorbox\{SidebarBorderColor\}\{SidebarBackgroundColor\}\{\parbox\{\textwidth\}\{
377
endif::latex-use-colored-sidebar-blocks[]
378
\minisec\{{title}\}
379
 
380
|
381
 
382
ifdef::latex-use-colored-sidebar-blocks[]
383
\}
384
\}
385
endif::latex-use-colored-sidebar-blocks[]
386
ifndef::latex-use-colored-sidebar-blocks[]
387
\end\{minipage\}
388
\end\{tabular\}
389
endif::latex-use-colored-sidebar-blocks[]
390
\bigskip
391
 
392
[quoteblock]
393
\minisec\{{title}\}
394
\label\{{id}\}\hypertarget\{{id}\}\{\}
395
\begin\{quote\}
396
 
397
|
398
 
399
\end\{quote\}
400
 
401
\begin\{flushright\}
402
{citetitle} \\
403
-- {attribution}
404
\end\{flushright\}
405
 
406
[exampleblock]
407
\minisec\{{caption=}{title}\}
408
\label\{{id}\}\hypertarget\{{id}\}\{\}
409
\begin\{quotation\}
410
 
411
|
412
 
413
\end\{quotation\}
414
 
415
[admonitionblock]
416
\begin\{addmargin*\}[0em]\{0em\}
417
\label\{{id}\}\hypertarget\{{id}\}\{\}
418
\begin\{minipage\}\{\linewidth\}
419
{icons#} \includegraphics\{{icon={iconsdir}/{name}.png}\}
420
{icons%} \minisec\{{caption}\}
421
\rule\{\linewidth\}\{2pt\}
422
\par\{\}\noindent\{\}|\par\{\}\noindent\{\}%
423
\rule[.25\baselineskip]\{\linewidth\}\{2pt\}
424
\end\{minipage\}
425
\end\{addmargin*\}
426
 
427
# Bibliography list.
428
# Same as numbered list.
429
[listdef-bibliography]
430
listtag=biblist
431
itemtag=biblistitem
432
texttag=biblisttext
433
 
434
# Glossary list.
435
# Same as labeled list.
436
[listdef-glossary]
437
listtag=vlist
438
itemtag=vlistitem
439
texttag=vlisttext
440
entrytag=vlistentry
441
labeltag=vlistterm
442
 
443
# Tables.
444
# FIXME: no lines!
445
 
446
[tabletags-monospaced]
447
 
448
[tabletags-strong]
449
 
450
[tabletags-verse]
451
 
452
[tabletags-literal]
453
 
454
[tabletags-emphasis]
455
 
456
[tabletags-asciidoc]
457
 
458
#[tabledef-default]
459
 
460
[tabletags-default]
461
#template=table
462
colspec=>\{{colalign@left:\\raggedright}{colalign@center:\\centering}{colalign@right:\\raggedleft}\}p\{ {colwidth}pt \}
463
bodyrow=| \tabularnewline
464
headdata=\{\bfseries\{\}|\} {colnumber@{colcount}::&}
465
footdata=\{\bfseries\{\}|\} {colnumber@{colcount}::&}
466
bodydata=| {colnumber@{colcount}:%:&}
467
paragraph=
468
 
469
[tabletags-header]
470
 
471
[table]
472
ifdef::latex-use-colored-tables[]
473
\rowcolors\{1\}\{TableEvenColor\}\{TableOddColor\}
474
\setlength\arrayrulewidth\{1.5pt\}
475
\arrayrulecolor\{TableBorderColor\}
476
endif::latex-use-colored-tables[]
477
{eval:{rowcount}{gt}{latex-table-rowlimit}} \begin\{longtable\}\{
478
{eval:{rowcount}{gt}{latex-table-rowlimit}} {frame$all|sides:|}
479
{eval:{rowcount}{gt}{latex-table-rowlimit}} {colspecs}
480
{eval:{rowcount}{gt}{latex-table-rowlimit}} {frame$all|sides:|}
481
{eval:{rowcount}{gt}{latex-table-rowlimit}} \}
482
{eval:{rowcount}{gt}{latex-table-rowlimit}} \hypertarget\{{id}\}\{\}
483
{eval:{rowcount}{gt}{latex-table-rowlimit}} \caption\{{title}\}
484
{eval:{rowcount}{gt}{latex-table-rowlimit}} {frame$all|topbot:\hline}
485
{eval:{rowcount}{gt}{latex-table-rowlimit}} {headrows}
486
{eval:{rowcount}{gt}{latex-table-rowlimit}} {headrows#} \endhead
487
{eval:{rowcount}{gt}{latex-table-rowlimit}} {footrows}
488
{eval:{rowcount}{gt}{latex-table-rowlimit}} {footrows#} \endlastfoot
489
{eval:{rowcount}{gt}{latex-table-rowlimit}}
490
{eval:{rowcount}{gt}{latex-table-rowlimit}} {bodyrows}
491
{eval:{rowcount}{gt}{latex-table-rowlimit}} {frame$all|topbot:\hline}
492
{eval:{rowcount}{gt}{latex-table-rowlimit}} \label\{{id}\}
493
{eval:{rowcount}{gt}{latex-table-rowlimit}} \end\{longtable\}
494
{eval:{rowcount}{lt}={latex-table-rowlimit}} {title%} \par{latex-indent-paragraphs!\noindent}
495
{eval:{rowcount}{lt}={latex-table-rowlimit}} {title#} \begin\{table\}
496
{eval:{rowcount}{lt}={latex-table-rowlimit}} {title#} \begin\{center\}
497
{eval:{rowcount}{lt}={latex-table-rowlimit}} \hypertarget\{{id}\}\{\}
498
{eval:{rowcount}{lt}={latex-table-rowlimit}} \caption\{{title}\}
499
{eval:{rowcount}{lt}={latex-table-rowlimit}} \begin\{tabular\}\{lllllllllllllll
500
{eval:{rowcount}{lt}={latex-table-rowlimit}} {frame$all|sides:|}
501
{eval:{rowcount}{lt}={latex-table-rowlimit}} {colspecs}
502
{eval:{rowcount}{lt}={latex-table-rowlimit}} {frame$all|sides:|}
503
{eval:{rowcount}{lt}={latex-table-rowlimit}} \}
504
{eval:{rowcount}{lt}={latex-table-rowlimit}} {frame$all|topbot:\hline}
505
{eval:{rowcount}{lt}={latex-table-rowlimit}} {headrows}
506
{eval:{rowcount}{lt}={latex-table-rowlimit}} {bodyrows}
507
{eval:{rowcount}{lt}={latex-table-rowlimit}} {footrows}
508
{eval:{rowcount}{lt}={latex-table-rowlimit}} {frame$all|topbot:\hline}
509
{eval:{rowcount}{lt}={latex-table-rowlimit}} \end\{tabular\}
510
{eval:{rowcount}{lt}={latex-table-rowlimit}} {title#} \end\{center\}
511
{eval:{rowcount}{lt}={latex-table-rowlimit}} \label\{{id}\}
512
{eval:{rowcount}{lt}={latex-table-rowlimit}} {title#} \end\{table\}
513
 
514
[specialsections]
515
ifdef::doctype-article[]
516
^Abstract$=abstract
517
endif::doctype-article[]
518
 
519
ifdef::doctype-book[]
520
^Dedication$=dedication
521
endif::doctype-book[]
522
 
523
^Index$=index
524
 
525
ifdef::latex-use-bibliography-environment[]
526
^(Bibliography|References)$=bibliography
527
endif::latex-use-bibliography-environment[]
528
 
529
^Appendix.*$=appendix
530
^(TOC|Contents)$=toc
531
 
532
^Figures$=list-of-figures
533
 
534
# Special sections.
535
 
536
 
537
[list-of-figures]
538
\listoffigures
539
 
540
 
541
[toc]
542
\label\{{id}\}\hypertarget\{{id}\}\{\}
543
\tableofcontents
544
 
545
[index]
546
\setindexpreamble\{
547
|
548
\}
549
\label\{{id}\}\hypertarget\{{id}\}\{\}
550
\printindex
551
 
552
ifdef::latex-use-bibliography-environment[]
553
[bibliography]
554
\label\{{id}\}\hypertarget\{{id}\}\{\}
555
\begin\{thebibliography\}\{99\}
556
|
557
\end\{thebibliography\}
558
endif::latex-use-bibliography-environment[]
559
 
560
[appendix]
561
\appendix
562
\label\{{id}\}\hypertarget\{{id}\}\{\}
563
|
564
 
565
[abstract]
566
\label\{{id}\}\hypertarget\{{id}\}\{\}
567
\begin\{abstract\}
568
|
569
 
570
\end\{abstract\}
571
 
572
[abstractblock]
573
 
574
[dedication]
575
\label\{{id}\}\hypertarget\{{id}\}\{\}
576
\dedication\{
577
|
578
\}
579
 
580
[preamble]
581
# Untitled elements between header and first section title.
582
ifdef::doctype-book[]
583
\frontmatter
584
\chapter*\{Preface\}
585
\label\{preamble\}\hypertarget\{preamble\}\{\}
586
endif::doctype-book[]
587
 
588
 
589
|
590
 
591
ifdef::doctype-book[]
592
\mainmatter
593
endif::doctype-book[]
594
 
595
# Document sections.
596
[sect0]
597
\hypertarget\{{id}\}\{\}
598
\chapter\{{title}\}
599
\label\{{id}\}
600
|
601
 
602
[sect1]
603
\hypertarget\{{id}\}\{\}
604
\section\{{title}\}
605
\label\{{id}\}
606
 
607
[sect2]
608
\hypertarget\{{id}\}\{\}
609
\subsection\{{title}\}
610
\label\{{id}\}
611
|
612
 
613
[sect3]
614
\hypertarget\{{id}\}\{\}
615
\subsubsection\{{title}\}
616
\label\{{id}\}
617
|
618
 
619
[sect4]
620
\hypertarget\{{id}\}\{\}
621
\minisec\{{title}\}
622
\label\{{id}\}
623
|
624
 
625
 
626
# FIXME: if the "backgroundcolor" entry is present as below, the
627
# background comes out black and is unreadable in PDF, although it is
628
# OK in DVI.
629
# \lstset\{basicstyle=\footnotesize\ttfamily,showstringspaces=false,breaklines,frame=single, rulecolor=\color\{ListingBorderColor\}, backgroundcolor=\color\{ListingBackgroundColor\}, xleftmargin=0cm, linewidth=0.95\textwidth\}
630
 
631
 
632
[header]
633
{encoding$UTF-8:}% coding: utf-8
634
\documentclass [a4paper,abstracton,titlepage]\{{doctype@article:scrartcl:scrbook}\}
635
\pagestyle\{{latex-use-running-title-headings?headings}{latex-use-running-title-headings!plain}\}
636
\usepackage\{makeidx\}
637
\usepackage[table]\{xcolor\}
638
\usepackage\{color\}
639
\definecolor\{LinkColor\}\{rgb\}\{0.33,0.42,0.18\}
640
\definecolor\{TableEvenColor\}\{rgb\}\{0.93,1,0.8\}
641
\definecolor\{TableOddColor\}\{rgb\}\{0.93,1,1\}
642
\definecolor\{TableBorderColor\}\{rgb\}\{0.55,0.67,0.73\}
643
\definecolor\{ListingBorderColor\}\{rgb\}\{0.55,0.55,0.55\}
644
\definecolor\{ListingBackgroundColor\}\{rgb\}\{0.95,0.95,0.95\}
645
\definecolor\{SidebarBorderColor\}\{rgb\}\{0.95,0.95,0.95\}
646
\definecolor\{SidebarBackgroundColor\}\{rgb\}\{1,1,0.93\}
647
\usepackage\{type1ec\}
648
\usepackage[{language=english}]\{babel\}
649
\usepackage[
650
    pdftex,
651
    pdftitle=\{{doctitle}\},
652
    pdfauthor=\{{author}\},
653
    backref,
654
    pagebackref,
655
    breaklinks=true,
656
    unicode
657
    ]
658
    \{hyperref\}
659
\usepackage\{enumerate\}
660
\usepackage\{graphicx\}
661
\usepackage\{longtable\}
662
\usepackage[T1]\{fontenc\}
663
\usepackage\{ucs\}
664
\usepackage[{encoding@ISO-8859-1:latin1}{encoding@UTF-8:utf8x}{encoding!utf8x}]\{inputenc\}
665
\usepackage\{textcomp\}
666
\usepackage\{alltt\}
667
%\usepackage\{listings\}
668
\usepackage\{verbatim\}
669
\usepackage\{moreverb\}
670
\usepackage\{upquote\}
671
 
672
%\lstset\{basicstyle=\footnotesize\ttfamily,showstringspaces=false,breaklines,frame=single, rulecolor=\color\{ListingBorderColor\}, xleftmargin=0cm, linewidth=0.95\textwidth\}
673
 
674
{latex-indent-paragraphs%} \setlength\{\parskip\}\{1ex plus 0.5ex minus 0.2ex\}
675
 
676
\makeatletter
677
\DeclareRobustCommand*\textsubscript[1]\{%
678
  \@textsubscript\{\selectfont#1\}\}
679
\def\@textsubscript#1\{%
680
  \{\m@th\ensuremath\{_\{\mbox\{\fontsize\sf@size\z@#1\}\}\}\}\}
681
\makeatother
682
 
683
\subject\{{subject}\}
684
\title\{{doctitle}\}
685
\author\{{author}{email?, \href\{mailto:{email}\}\{{email}\}}\}
686
\date\{{revdate}\}
687
\publishers\{\begin\{tabular\}\{ll\} {revision?\textbf\{Revision:\} & {revision} \\ }  {keywords?\textbf\{Keywords:\} & {keywords} \\ } \end\{tabular\}\}
688
 
689
\makeindex
690
 
691
\begin\{document\}
692
 
693
%\newcommand{\texttesh}{\textteshlig\/}
694
 
695
\label\{header\}\hypertarget\{header\}\{\}
696
{doctitle#\maketitle}
697
 
698
[footer]
699
\label\{footer\}\hypertarget\{footer\}\{\}
700
\end\{document\}