From 23fb52ef7d0357a0e8abc391f6590e5cbfd606b0 Mon Sep 17 00:00:00 2001 From: Oliver Matthews Date: Tue, 6 Sep 2016 21:43:45 +0200 Subject: Add --parts command line option to LaTeX writer. Add --parts command line argument. This only effects LaTeX writer, and only for non-beamer output formats. It changes the output levels so the top level is 'part', the next 'chapter' and then into sections. --- MANUAL.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'MANUAL.txt') diff --git a/MANUAL.txt b/MANUAL.txt index ed05dc3cf..4125dba35 100644 --- a/MANUAL.txt +++ b/MANUAL.txt @@ -667,6 +667,11 @@ Options affecting specific writers option is implied. If `beamer` is the output format, top-level headers will become `\part{..}`. +`--parts` +: Treat top-level headers as parts in LaTeX output. The second level + headers will be chapters, i.e. `--chapters` is implied. This does not + effect the `beamer` output format. + `-N`, `--number-sections` : Number section headings in LaTeX, ConTeXt, HTML, or EPUB output. -- cgit v1.2.3 From 595a171407debfa67436e13e1390d298a3899e74 Mon Sep 17 00:00:00 2001 From: Albert Krewinkel Date: Wed, 19 Oct 2016 13:12:57 +0200 Subject: Add option for top-level division type The `--chapters` option is replaced with `--top-level-division` which allows users to specify the type as which top-level headers should be output. Possible values are `section` (the default), `chapter`, or `part`. The formats LaTeX, ConTeXt, and Docbook allow `part` as top-level division, TEI only allows to set the `type` attribute on `div` containers. The writers are altered to respect this option in a sensible way. --- MANUAL.txt | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) (limited to 'MANUAL.txt') diff --git a/MANUAL.txt b/MANUAL.txt index 4125dba35..3c66ba658 100644 --- a/MANUAL.txt +++ b/MANUAL.txt @@ -661,16 +661,19 @@ Options affecting specific writers `--chapters` -: Treat top-level headers as chapters in LaTeX, ConTeXt, and DocBook - output. When the LaTeX document class is set to `report`, `book`, - or `memoir` (unless the `article` option is specified), this - option is implied. If `beamer` is the output format, top-level - headers will become `\part{..}`. - -`--parts` -: Treat top-level headers as parts in LaTeX output. The second level - headers will be chapters, i.e. `--chapters` is implied. This does not - effect the `beamer` output format. +: Deprecated synonym for `--top-level-division=chapter`. + +`--top-level-division=[section|chapter|part]` + +: Treat top-level headers as the given division type in LaTeX, ConTeXt, + DocBook, and TEI output. The hierarchy order is part, chapter, then section; + all headers are shifted such that the top-level header becomes the specified + type. The default is `section`. When the LaTeX document class is set to + `report`, `book`, or `memoir` (unless the `article` option is specified), + `chapter` is implied as the setting for this option. If `beamer` is the + output format, specifying either `chapter` or `part` will cause top-level + headers to become `\part{..}`, while second-level headers remain as their + default type. `-N`, `--number-sections` -- cgit v1.2.3