aboutsummaryrefslogtreecommitdiff
path: root/test/writers-lang-and-dir.context
diff options
context:
space:
mode:
authorHenri Menke <henri@icp.uni-stuttgart.de>2018-01-26 08:56:28 +1300
committerJohn MacFarlane <jgm@berkeley.edu>2018-01-25 11:56:28 -0800
commit751b5ad010794ec51699bfb89de91b38c85d3297 (patch)
treed2652bb932bcae8da846dc14f0730a3c0d0b853d /test/writers-lang-and-dir.context
parent0d7aedca58742f9c353010d9877ef666ee4c7af0 (diff)
downloadpandoc-751b5ad010794ec51699bfb89de91b38c85d3297.tar.gz
ConTeXt writer: new section syntax and --section-divs (#4295)
Fixes #2609. This PR introduces the new-style section headings: `\section[my-header]{My Header}` -> `\section[title={My Header},reference={my-header}]`. On top of this, the ConTeXt writer now supports the `--section-divs` option to write sections in the fenced style, with `\startsection` and `\stopsection`.
Diffstat (limited to 'test/writers-lang-and-dir.context')
-rw-r--r--test/writers-lang-and-dir.context8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/writers-lang-and-dir.context b/test/writers-lang-and-dir.context
index 19c45a4c9..a1c87bb27 100644
--- a/test/writers-lang-and-dir.context
+++ b/test/writers-lang-and-dir.context
@@ -57,7 +57,7 @@
\starttext
-\section[empty-divs-and-spans]{Empty Divs and Spans}
+\section[title={Empty Divs and Spans},reference={empty-divs-and-spans}]
Some text and
@@ -67,7 +67,7 @@ and more text.
Next paragraph with a span and a word-thatincludesaspanright?
-\section[directionality]{Directionality}
+\section[title={Directionality},reference={directionality}]
Some text and
@@ -86,7 +86,7 @@ and a ltr div. with a {\righttoleft rtl span}.
Next paragraph with a {\righttoleft rtl span} and a
word-that-includesa{\lefttoright ltrspan}right?
-\section[languages]{Languages}
+\section[title={Languages},reference={languages}]
Some text and
@@ -102,7 +102,7 @@ word-that-includesa\start\language[de-ch]Swiss German span\stop right?
Some \start\language[es]Spanish text\stop .
-\section[combined]{Combined}
+\section[title={Combined},reference={combined}]
Some text and