diff options
| author | Albert Krewinkel <[email protected]> | 2022-06-06 18:24:28 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-06-06 09:24:28 -0700 |
| commit | e5c41f11de39d71241bdaf4cc9cd6890846db742 (patch) | |
| tree | e28ae0de026d37ee201c6b68c9f39a0a5fc71531 /test/command | |
| parent | 78443004145adb85665cf799ccdfc115f64e47d1 (diff) | |
ConTeXt writer: use "sectionlevel" environment for headings (#8106)
The document hierarchy is now conveyed using the
`\startsectionlevel`/`\stopsectionlevel` by default. This makes it easy
to include pandoc-generated snippets in documents at arbitrary levels.
The more semantic environments "chapter", "section", "subsection", etc.
are used if the `--top-level-division` command line parameter is set to
a non-default value.
Closes: #5539
Diffstat (limited to 'test/command')
| -rw-r--r-- | test/command/3968.md | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/test/command/3968.md b/test/command/3968.md index c76cfcba4..dfa0e8986 100644 --- a/test/command/3968.md +++ b/test/command/3968.md @@ -4,7 +4,11 @@ ## Section ^D -\chapter[title={Chapter},reference={chapter}] +\startchapter[title={Chapter},reference={chapter}] -\section[title={Section},reference={section}] +\startsection[title={Section},reference={section}] + +\stopsection + +\stopchapter ``` |
