Debian Codegraph @

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

raw
1 # Package `defoldfonts`
2
3 Copyright © 2019–2025 Markus Kohm
4 Release: 2025-09-29 v1.1
5 License: LPPL 1.3c
6
7 KOMA presents the `defoldfonts` package to define old font commands even if
8 the class does not.
9
10 ----------------------------------------------------------------------------
11
12 The project is currently hosted and managed on
13 [Codeberg](https://codeberg.org/komascript/defoldfonts). For safety reasons,
14 the repository will continue to be mirrored on
15 [GitHub](https://github.com/komascript/defoldfonts) for some time. However,
16 error reports and push requests will only be acknowledged on
17 [Codeberg](https://codeberg.org/komascript/defoldfonts/issues).
18
19 ----------------------------------------------------------------------------
20
21 This work may be distributed and/or modified under the conditions of
22 the LaTeX Project Public License, version 1.3c of the license.
23 The latest version of this license is in
24 http://www.latex-project.org/lppl.txt
25 and version 1.3c or later is part of all distributions of LaTeX
26 version 2005/12/01 or later.
27
28 The Current Maintainer and author of this work is Markus Kohm.
29
30 ----------------------------------------------------------------------------
31
32 # Abstract
33
34 In 1994 with LaTeX2ε the old font commands `\rm`, `\sf`, `\tt`, `\bf`, `\it`,
35 `\sl`, and `\sc` became obsolete. They are not implemented in the LaTeX kernel
36 anymore. Some classes, e.g., the standard classes still provide the deprecated
37 font commands. Early versions of
38 [KOMA-Script](https://www.ctan.org/pkg/koma-script) also did and additionally
39 defined `\sfb`. Other classes do not provide these commands. For more than 15
40 years [KOMA-Script](https://www.ctan.org/pkg/koma-script) officially also do
41 not provide them. So depending on the class for several years using them
42 resulted in an error message.
43
44 However, some old BibTeX styles and even some packages still use these
45 commands without testing, if they are defined. This also can result in
46 errors. Package `defoldfonts` defines all eight old font commands, `\sfb`
47 even, if not a [KOMA-Script](https://www.ctan.org/pkg/koma-script) class, but
48 another class has is used.
49
50 # Unpacking and Installation for Developers and Distributors
51
52 Legal distributions of `defoldfonts` contain at least:
53
54 * `defoldfonts.dtx`
55 * `README.md`
56
57 and optionally:
58
59 * `LICENSE.md`
60 * `defoldfonts.sty`
61 * `defoldfonts.pdf`
62
63 For generation of `defoldfonts.sty` distributors should download and unpack a
64 [release archive from Codeberg](https://codeberg.org/komascript/defoldfonts/tags). Developers can
65 also clone the [current developer
66 source](https://codeberg.org/komascript/defoldfonts.git). With one of these, you
67 can use:
68
69 l3build unpack
70
71 The unpacked files than can be found at `build/local/defoldfonts.sty`.
72
73 For generation of the manual `defoldfonts.pdf` you can use instead:
74
75 l3build doc
76
77 The manual `defoldfonts.pdf` than can be found in the main directory.
78
79 Developers also can use `l3build` to unpack and install all files and even the
80 documentation. Run
81
82 l3build install
83
84 to locally install the package without manual, or run
85
86 l3build install --full
87
88 to locally install the package with manual.
89
90 # Unpacking and Installation for Users
91
92 If you are a user, you should wait until the package has been added to your
93 preferred TeX distribution. Then you can use the package manager of your TeX
94 distribution to install the package.
95
96 # How to get the Manuals
97
98 After installation you should get the user manual using:
99
100 texdoc defoldfonts
101
102 See the manual of your TeX distribution for more information.
103
104 You can also build the manuals from the source. To do so, see section
105 [Unpacking and Installation for Developers and
106 Distributors](#unpacking-and-installation-for-developers-and-distributors).
107
108 # How to Contribute
109
110 To become a contributor, clone the code and do heavy testing. If you find an
111 issue, please report it using the [issue
112 tracker](https://codeberg.org/komascript/defoldfonts/issues). You can also,
113 e.g., make new test files to the packages. See the
114 [`l3build`](https://ctan.org/pkg/l3build) manual for more information about
115 tests. If you've created a new test and think that it would be useful. Please
116 either do a pull request or [add a new
117 issue](https://codeberg.org/komascript/defoldfonts/issues/new) and
118 include your test file.
119
120 Another kind of contribution would be to contact an author of one of the
121 third-party packages and convince her or him to integrate the code of the
122 corresponding enhancement package from this project into her or his package.
123
124 # How to Report Issues
125
126 If you think you have found a bug (or another kind of issue) using
127 `defoldfonts` you should use the [issue
128 tracker](https://codeberg.org/komascript/defoldfonts/issues). Please first
129 search for similar issues already reported and maybe also already fixed and
130 closed. Maybe the replies to such a similar report would help you too.
131
132 If your issue is new, you should report it also using the [issue
133 tracker](https://codeberg.org/komascript/defoldfonts/issues). Please be kind,
134 not only when writing the report but also when reading replies and commenting
135 or answering. And please always add a minimal working example and usually the
136 relevant parts of the `log`-file to your report. Please use the [markdown for
137 code](https://docs.codeberg.org/markdown/preformatted-text/)
138 to add such files into the text of your report. The correct language
139 identifier for LaTeX code would be `latex`. For `log`-files you won't need any
140 language identifier. Usually you should not use attachments for code or
141 `log`-files unless you've been asked to do so. And please note, reports should
142 always be self-containing. External links often break and so the report become
143 useles.
144
145 # How to Say Thank You for my Work
146
147 Hey, I'm doing this as a hobby. So no need to say thank you. But I'm a vain
148 fop, so I'm certainly up for a quick thank you by email. On komascript.de you
149 can find an [explanation of my wishes](https://komascript.de/wunschliste) if
150 you want to give more. If you don't understand German, just click to links at
151 that page.