diff options
| author | Albert Krewinkel <albert@zeitkraut.de> | 2022-12-16 14:06:52 +0100 |
|---|---|---|
| committer | Albert Krewinkel <albert@zeitkraut.de> | 2022-12-16 14:09:09 +0100 |
| commit | 0d6c2e3e22290a7e29abbb7449c2f3c49ce12af4 (patch) | |
| tree | d28964a94966e058056040ab4a1dcd8d339133ce /test/command | |
| parent | da2d7ce6f5729bbd0fb34f28065882c98a5bcd1c (diff) | |
ConTeXt writer: fix previous commit for some unlisted sections
Unlist sections even if `--top-level-division` is not defined.
Diffstat (limited to 'test/command')
| -rw-r--r-- | test/command/8486.md | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/test/command/8486.md b/test/command/8486.md index c62f2909b..4e0950e00 100644 --- a/test/command/8486.md +++ b/test/command/8486.md @@ -2,7 +2,6 @@ ``` % pandoc --to=context - # Preface {.unlisted -} Nullam rutrum. @@ -18,11 +17,11 @@ vestibulum accumsan nisl. Nam vestibulum accumsan nisl. # References {-} ^D -\startsectionlevel[title={Preface},reference={preface},number=no,incrementnumber=no] +\startsubject[title={Preface},reference={preface},number=no,incrementnumber=no] Nullam rutrum. -\stopsectionlevel +\stopsubject \startsectionlevel[title={Introduction},reference={introduction}] @@ -41,3 +40,16 @@ vestibulum accumsan nisl. Nam vestibulum accumsan nisl. \stopsectionlevel ``` + +## Semantic Headings with `--top-level-division` +``` +% pandoc --to=context --top-level-division=chapter +# Bibliography {-} +None +^D +\startchapter[title={Bibliography},reference={bibliography},number=no,incrementnumber=no] + +None + +\stopchapter +``` |
