Debian Codegraph @

texmf-dist/doc/latex/standardsectioning/README.md

raw
1 # Package `standardsectioning`
2
3 Copyright © 2019–2025 Markus Kohm
4
5 Release: 2025-09-11 v0.10
6
7 License: LPPL 1.3c
8
9 KOMA presents the `standardsectioning` micro package to force the usage of
10 the sectioning command definition of the standard classes also when using
11 other classes like the [KOMA-Script](https://www.ctan.org/pkg/koma-script)
12 classes.
13
14 ----------------------------------------------------------------------------
15
16 This work may be distributed and/or modified under the conditions of
17 the LaTeX Project Public License, version 1.3c of the license.
18 The latest version of this license is in
19 http://www.latex-project.org/lppl.txt
20 and version 1.3c or later is part of all distributions of LaTeX
21 version 2005/12/01 or later.
22
23 This work has the LPPL maintenance status "maintained".
24
25 The Current Maintainer and author of this work is Markus Kohm.
26
27 ----------------------------------------------------------------------------
28
29 # Abstract
30
31 A long time ago [KOMA-Script](https://www.sourceforge.net/project/koma-script)
32 was more or less just a collection of replacements for the three standard
33 classes `article`, `book` and `report`. Replacing a standard class with a
34 [KOMA-Script](https://www.sourceforge.net/project/koma-script) class was easy,
35 even if users used a lot of additional packages. Over the years, KOMA has
36 added many new features and user interfaces to the classes. This also led to
37 completely different implementation of the sectioning commands. But some
38 packages depend on an implementation similar to the standard classes.
39
40 Package `standardsectioning` implements these commands with the code of the
41 standard classes. If used with a KOMA-Script class, it also deactivates parts
42 of the KOMA-Script user interface, which should not be used with these
43 changes. These are more or less all commands to configure sectioning
44 commands. It also undefines some internal macros of KOMA-Script.
45
46 # Note
47
48 Using package `standardsectioning` is only a kind of first-aid
49 workaround. Usually it is better not to use the incompatible package with
50 KOMA-Script similar classes.
51
52 This package is also a replacement of the `standardsections.hak` of
53 `scrhack` before version 3.42.
54
55 # Installation for Users
56
57 If you are a user, you should wait until the package has been added to your
58 preferred TeX distribution. Then you can use the package manager of your TeX
59 distribution to install all the packages.
60
61 # Unpacking for Distributors
62
63 Distributors should download [the distribution from
64 CTAN](https://www.ctan.org/pkg/standardsectioning). This consists in:
65
66 * `standardsectioning.dtx`
67 * `README.md`
68 * `LICENSE.md`
69 * `standardsectioning.pdf`
70
71 If distributors also want to distribute `standardsectioning.sty`, they can
72 unpack it using
73
74 tex standardsectioning.dtx
75
76 Note, that you have to use `tex` not `latex`, `pdflatex`, `xelatex` or
77 `lualatex`!
78
79 Note also, that a legal distribution consists at least in:
80
81 * `standardsectioning.dtx`
82 * `README.md`
83
84 The following files are optionally, but must not be distributed without the
85 previous ones:
86
87 * `LICENSE.md`
88 * `standardsectioning.sty`
89 * `standardsectioning.pdf`
90
91
92 # Unpacking and Installation for Developers
93
94 Developers who want the current developer version of the code to be installed
95 for testing, should clone [the `third-party-enhancements`
96 repository](https://github.com/komascript/third-party-enhancements), e.g.,
97 using
98
99 git clone https://github.com/komascript/third-party-enhancements.git
100
101 You can than either unpack and install all the third-party enhancements using:
102
103 l3build install --full
104
105 from within the main directory of the cloned respository. For installation of
106 `standardsectioning` only run the same command from within the
107 `standardsectioning` subdirectory. For installation without the manual omit
108 option `--full`, but this is not recommended for developers.
109
110 # How to get the Manual
111
112 After installation you should get the user manual using:
113
114 texdoc standardsectioning
115
116 See the manual of your TeX distribution for more information.
117
118 Developers or distributors can also build the manual from the source using:
119
120 l3build doc
121
122 # How to Contribute
123
124 To become a contributor, e.g., do heavy testing. If you find an issue, please
125 report it using [the issue
126 tracker](https://github.com/komascript/third-party-enhancements/issues).
127 Please note, however, that the loss of class features as a result of using
128 this package is generally an intended side effect and does not necessarily
129 constitute an issue.
130
131 You can also become a developer and, e.g., make new test files to the
132 packages. See the [`l3build`](https://ctan.org/pkg/l3build) manual for more
133 information about tests. If you've created a new test and think that it would
134 be useful. Please either do a pull request or [add a new
135 issue](https://github.com/komascript/third-party-enhancements/issues/new/choose)
136 and include your test file.
137
138 Another kind of contribution would be to contact the author of the package,
139 that depends on the sectioning implementation of the standard classes and is
140 therefore incompatible with the class you are using to convince her or him to
141 make his package compatible.
142
143 # How to Report Issues
144
145 If you think you have found a bug (or another kind of issue) using
146 `setspaceenhanced` you should use [the issue
147 tracker](https://github.com/komascript/third-party-enhancements/issues). Please
148 first search for similar issues already reported and maybe also already fixed
149 and closed. Maybe the replies to such a similar report would help you too.
150 Please also note, however, that the loss of class features as a result of using
151 this package is generally an intended side effect and does not necessarily
152 constitute a bug.
153
154 If your issue is new, you should report it also using [the issue
155 tracker](https://github.com/komascript/third-party-enhancements/issues). Please
156 be kind, not only when writing the report but also when reading replies and
157 commenting or answering. And please always add a minimal working example and
158 usually the relevant parts of the `log`-file to your report. Please use the
159 [markdown for
160 code](https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/creating-and-highlighting-code-blocks)
161 to add such files into the text of your report. The correct language
162 identifier for LaTeX code would be `latex`. For `log`-files you won't need any
163 language identifier. Usually you should not use attachments for code or
164 `log`-files unless you've been asked to do so. And please note, reports should
165 always be self-containing. External links often break and so the report become
166 useles.
167
168 # How to Say Thank You for my Work
169
170 Hey, I'm doing this as a hobby. So no need to say thank you. But I'm a vain
171 fop, so I'm certainly up for a quick thank you by email. On komascript.de you
172 can find an [explanation of my wishes](https://komascript.de/wunschliste) if
173 you want to give more. If you don't understand German, just click to links at
174 that page.