aboutsummaryrefslogtreecommitdiff
path: root/tests/docbook-reader.docbook
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2014-12-08 23:16:30 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2014-12-08 23:16:30 -0800
commit626cefeac35afdf00fb85c01ed66f485f47b53a0 (patch)
tree8c547e35b0dc63fa787a7b09005892da3b0df926 /tests/docbook-reader.docbook
parent997d41636ff43f9d88112d0f01c8acb64b2b78dc (diff)
parent33fdb6bc1550de7cf1d5fa6735bb22adcbc0a7e9 (diff)
downloadpandoc-626cefeac35afdf00fb85c01ed66f485f47b53a0.tar.gz
Merge pull request #1795 from bos/master
DocBook reader: add support for calloutlist and callout
Diffstat (limited to 'tests/docbook-reader.docbook')
-rw-r--r--tests/docbook-reader.docbook19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/docbook-reader.docbook b/tests/docbook-reader.docbook
index 9ba965d9b..8fe2a6ddb 100644
--- a/tests/docbook-reader.docbook
+++ b/tests/docbook-reader.docbook
@@ -509,6 +509,25 @@ These should not be escaped: \$ \\ \&gt; \[ \{
B. Williams
</para>
</sect2>
+ <sect2 id="callout">
+ <title>Callout</title>
+ <para>Simple.</para>
+ <calloutlist>
+ <callout arearefs="loop1-letrec-co" id="loop1-letrec">
+ <para id="x_QA1">A <code>__letrec</code> is equivalent to a normal
+ Haskell &let;.</para>
+ </callout>
+ <callout arearefs="loop1-def-co" id="loop1-def">
+ <para id="x_RA1">&GHC; compiled the body of our list comprehension into
+ a loop named <function>go_s1YC</function>.</para>
+ </callout>
+ <callout arearefs="loop1-pat-empty-co" id="loop1-pat-empty">
+ <para id="x_SA1">If our &case; expression matches the empty list, we
+ return the empty list. This is reassuringly
+ familiar.</para>
+ </callout>
+ </calloutlist>
+ </sect2>
</sect1>
<sect1 id="definition-lists">
<title>Definition Lists</title>