summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVivien Kraus <vivien@planete-kraus.eu>2022-10-07 00:39:10 +0200
committerVivien Kraus <vivien@planete-kraus.eu>2022-10-07 00:39:10 +0200
commitf2c8deb2803da90d2902f34e8df7c64e744188cc (patch)
treea558af5a1dc85ac1b3feee1a47778e96c26f7497
parentff2fd244155ee462ea07199507c7a2c21ce46013 (diff)
Convert the final example to a shell listing
-rw-r--r--mped.xml14
1 files changed, 11 insertions, 3 deletions
diff --git a/mped.xml b/mped.xml
index d49f4b1..8d86592 100644
--- a/mped.xml
+++ b/mped.xml
@@ -410,10 +410,18 @@
Starting from this file, <filename>mped.xml</filename>, and
the bootstrap tangling stylesheet,
<filename>tangle-bootstrap.xsl</filename>, you would obtain a
- mped-less docbook file with:
+ mped-less docbook file with <xref linkend="convert-process"
+ />.
</para>
- <example>xsltproc tangle-bootstrap.xsl mped.xml | bash
-xsltproc apply-mped.xsl mped.xml | xmllint --format -</example>
+ <figure xml:id="convert-process">
+ <title>How to convert this document</title>
+ <programlisting language="sh" mped:tangle-to="build.sh">
+ <![CDATA[
+xsltproc tangle-bootstrap.xsl mped.xml | bash
+xsltproc apply-mped.xsl mped.xml | xmllint --format -
+ ]]>
+ </programlisting>
+ </figure>
</section>
</chapter>
<chapter>