File: docbook.outlang

package info (click to toggle)
igraph 0.10.2%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 16,176 kB
  • sloc: ansic: 121,500; cpp: 21,699; xml: 2,734; python: 411; makefile: 147; javascript: 20; sh: 9
file content (36 lines) | stat: -rw-r--r-- 781 bytes parent folder | download | duplicates (7)
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
# by Stuart Rackham
# http://www.methods.co.nz/asciidoc/source-highlight-filter.html

extension "xml"

bold "<emphasis role=\"strong\">$text</emphasis>"
italics "<emphasis>$text</emphasis>"

anchor "<anchor id=\"line$linenum\"/>$text"
postline_reference "<link linkend='line$linenum'>$text -> $linenum</link>"
postdoc_reference "<link linkend='line$linenum'>$text -> $linenum</link>"
reference "<link linkend='$text'>$text</link>"

doctemplate
"<!DOCTYPE article PUBLIC \"-//OASIS//DTD DocBook//EN\">
<article>
<articleinfo>
<title>$title</title>
</articleinfo>
<programlisting linenumbering=\"numbered\">"
"</programlisting>
</article>
"
end

nodoctemplate
"<programlisting linenumbering=\"numbered\">"
"</programlisting>
"
end

translations
"&" "&amp;"
"<" "&lt;"
">" "&gt;"
end