aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2013-11-22 19:51:07 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2013-11-22 19:51:07 -0800
commit526762bf222dbab199f6ff90c925fe18535c698f (patch)
treeb1955b209336f8a1138eae3bc5b442583ea10f3c /tests
parentcf149fcf38d98b1bee79ecd9056fa0f46264e7ce (diff)
downloadpandoc-526762bf222dbab199f6ff90c925fe18535c698f.tar.gz
ConTeXt writer: Use setupcaption to separate style from content.
Instead of adding 'nunumber' every time we place a figure... Closes #1067.
Diffstat (limited to 'tests')
-rw-r--r--tests/writer.context4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/writer.context b/tests/writer.context
index 114d00b3c..fb95f5615 100644
--- a/tests/writer.context
+++ b/tests/writer.context
@@ -30,6 +30,8 @@
\setupitemize[autointro] % prevent orphan list intro
\setupitemize[indentnext=no]
+\setupcaption[figure][number=no] % don't number figures
+
\setupthinrules[width=15em] % width of horizontal rules
\setupdelimitedtext
@@ -842,7 +844,7 @@ or here: <http://example.com/>
From \quotation{Voyage dans la Lune} by Georges Melies (1902):
-\placefigure[here,nonumber]{lalune}{\externalfigure[lalune.jpg]}
+\placefigure[here]{lalune}{\externalfigure[lalune.jpg]}
Here is a movie {\externalfigure[movie.jpg]} icon.