aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Writers/Texinfo.hs
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2010-03-24 10:51:38 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2010-03-27 10:24:18 -0700
commit6972c0b5b040f3de998d936e6ddf8580ecfa7b30 (patch)
treeb0f8228f7d5bb0a2704dc00122ce98f30607db7e /src/Text/Pandoc/Writers/Texinfo.hs
parentdb31e066932461b0d1a86921ebf08c55c48a3f81 (diff)
downloadpandoc-6972c0b5b040f3de998d936e6ddf8580ecfa7b30.tar.gz
Implemented @ for sequentially numbered examples.
Also implemented (@label) for example labels and references.
Diffstat (limited to 'src/Text/Pandoc/Writers/Texinfo.hs')
-rw-r--r--src/Text/Pandoc/Writers/Texinfo.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Writers/Texinfo.hs b/src/Text/Pandoc/Writers/Texinfo.hs
index 503222754..65e053827 100644
--- a/src/Text/Pandoc/Writers/Texinfo.hs
+++ b/src/Text/Pandoc/Writers/Texinfo.hs
@@ -144,6 +144,7 @@ blockToTexinfo (OrderedList (start, numstyle, _) lst) = do
exemplar = case numstyle of
DefaultStyle -> decimal
Decimal -> decimal
+ Example -> decimal
UpperRoman -> decimal -- Roman numerals not supported
LowerRoman -> decimal
UpperAlpha -> upperAlpha