From 751b5ad010794ec51699bfb89de91b38c85d3297 Mon Sep 17 00:00:00 2001 From: Henri Menke Date: Fri, 26 Jan 2018 08:56:28 +1300 Subject: 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`. --- test/command/3968.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'test/command') diff --git a/test/command/3968.md b/test/command/3968.md index 24f0900a9..c76cfcba4 100644 --- a/test/command/3968.md +++ b/test/command/3968.md @@ -4,6 +4,7 @@ ## Section ^D -\chapter[chapter]{Chapter} -\section[section]{Section} +\chapter[title={Chapter},reference={chapter}] + +\section[title={Section},reference={section}] ``` -- cgit v1.2.3