From 6972c0b5b040f3de998d936e6ddf8580ecfa7b30 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Wed, 24 Mar 2010 10:51:38 -0700 Subject: Implemented @ for sequentially numbered examples. Also implemented (@label) for example labels and references. --- src/Text/Pandoc/Writers/Docbook.hs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Text/Pandoc/Writers/Docbook.hs') diff --git a/src/Text/Pandoc/Writers/Docbook.hs b/src/Text/Pandoc/Writers/Docbook.hs index 3abed1610..5223259eb 100644 --- a/src/Text/Pandoc/Writers/Docbook.hs +++ b/src/Text/Pandoc/Writers/Docbook.hs @@ -154,6 +154,7 @@ blockToDocbook opts (OrderedList (start, numstyle, _) (first:rest)) = let attribs = case numstyle of DefaultStyle -> [] Decimal -> [("numeration", "arabic")] + Example -> [("numeration", "arabic")] UpperAlpha -> [("numeration", "upperalpha")] LowerAlpha -> [("numeration", "loweralpha")] UpperRoman -> [("numeration", "upperroman")] -- cgit v1.2.3