generated from baldir-fr/template-asciidoctor-dockerized
-
Notifications
You must be signed in to change notification settings - Fork 0
/
output.docbook.xml
101 lines (93 loc) · 2.35 KB
/
output.docbook.xml
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
<?xml version="1.0" encoding="UTF-8"?>
<?asciidoc-toc?>
<?asciidoc-numbered?>
<article xmlns="http://docbook.org/ns/docbook" xmlns:xl="http://www.w3.org/1999/xlink" version="5.0" xml:lang="en">
<info>
<title>Baldir VCF Tools</title>
<date>2022-10-12</date>
<author>
<personname>
<firstname>Marc</firstname>
<surname>Bouvier</surname>
</personname>
</author>
<authorinitials>MB</authorinitials>
</info>
<section xml:id="_slide_1">
<title>Slide 1</title>
<simpara>Exemple d’image</simpara>
<informalfigure>
<mediaobject>
<imageobject>
<imagedata fileref="assets/sample.jpg"/>
</imageobject>
<textobject><phrase>sample</phrase></textobject>
</mediaobject>
</informalfigure>
<section xml:id="_slide_1_2">
<title>Slide 1.2</title>
<simpara>Exemple de code snippet avec import.</simpara>
<programlisting language="yml" linenumbering="unnumbered">version: "3.8"
services:
deno-test:
image: "denoland/deno:alpine"
working_dir: "/app"
volumes:
- "./:/app"
command: "deno test"
build-slides:
image: "asciidoctor/docker-asciidoctor"
volumes:
- ./:/documents/
command:
- "asciidoctor-revealjs"
- "-a"
- "revealjsdir=https://cdnjs.cloudflare.com/ajax/libs/reveal.js/3.9.2"
- "_content/index.adoc"
- "-o"
- "docs/index.html"
build-pdf:
image: "asciidoctor/docker-asciidoctor"
volumes:
- ./:/documents/
command:
- "asciidoctor-pdf"
- "_content/index.adoc"
- "-o"
- "docs/output.pdf"
build-epub:
image: "asciidoctor/docker-asciidoctor"
volumes:
- ./:/documents/
command:
- "asciidoctor-epub3"
- "_content/index.adoc"
- "-o"
- "docs/output.epub"
build-docbook:
image: "asciidoctor/docker-asciidoctor"
volumes:
- ./:/documents/
command:
- "asciidoctor"
- "-b"
- "docbook"
- "_content/index.adoc"
- "-o"
- "docs/output.docbook.xml"
build-docx:
image: "pandoc/core"
volumes:
- ./:/data/
entrypoint: "./generate-docx.sh"</programlisting>
</section>
</section>
<section xml:id="_slide_2">
<title>Slide 2</title>
<para role="notes">
<simpara>Contenu n’apparaissant pas dans les slides
Mais dans les notes de présentation ou dans les pdf, ebook, docbook.</simpara>
</para>
<simpara>Ce chapitre contient des notes de présentation.</simpara>
</section>
</article>