From 7b13e150e50ca382454563749606135d50a0ab75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20Ke=C3=9Fler=20=28via=20gitlab=20runner=29?= Date: Tue, 11 Jan 2022 20:41:45 +0000 Subject: [PATCH] update (and push) PyTeX Build branch topology-1 (da44daa) from kesslermaximilian/LatexPackages --- build_info.json | 348 ++++++++++-------- environments/mkessler-fancythm.sty | 8 +- environments/mkessler-thmstyle.sty | 8 +- exercises/mkessler-sheet.cls | 8 +- lecture-notes/mkessler-lectures.sty | 8 +- lecture-notes/mkessler-script.cls | 8 +- math/mkessler-categories.sty | 181 +++++++++ math/mkessler-faktor.sty | 8 +- math/mkessler-math.sty | 9 +- math/mkessler-mathalias.sty | 8 +- math/mkessler-mathfig.sty | 8 +- math/mkessler-mathfixes.sty | 8 +- math/mkessler-mathfont.sty | 8 +- math/mkessler-mathop.sty | 35 +- math/mkessler-mathsymb.sty | 8 +- math/mkessler-unicodechar.sty | 8 +- ...matical-categories-dictionary-English.dict | 58 +++ ...ematical-categories-dictionary-German.dict | 58 +++ misc/mkessler-hypersetup.sty | 8 +- misc/mkessler-incfig.sty | 8 +- misc/mkessler-vocab.sty | 8 +- utils/mkessler-counters.sty | 8 +- utils/mkessler-findpackage.sty | 8 +- utils/mkessler-symbindex.sty | 141 +++++++ utils/mkessler-todo.sty | 69 ++++ wip/mkessler-bibliography.sty | 8 +- wip/mkessler-enumerate.sty | 8 +- wip/mkessler-exsheet.sty | 8 +- wip/mkessler-figures.sty | 8 +- wip/mkessler-gag.sty | 8 +- wip/mkessler-lang-input.sty | 8 +- wip/mkessler-refproof.sty | 236 ++++++++++++ wip/mkessler-removed.sty | 8 +- wip/mkessler-restate.sty | 8 +- wip/translator-proof-dictionary-English.dict | 66 ++++ wip/translator-proof-dictionary-German.dict | 66 ++++ 36 files changed, 1183 insertions(+), 284 deletions(-) create mode 100644 math/mkessler-categories.sty create mode 100644 math/translator-mathematical-categories-dictionary-English.dict create mode 100644 math/translator-mathematical-categories-dictionary-German.dict create mode 100644 utils/mkessler-symbindex.sty create mode 100644 utils/mkessler-todo.sty create mode 100644 wip/mkessler-refproof.sty create mode 100644 wip/translator-proof-dictionary-English.dict create mode 100644 wip/translator-proof-dictionary-German.dict diff --git a/build_info.json b/build_info.json index e495637..51ec7c5 100644 --- a/build_info.json +++ b/build_info.json @@ -1,294 +1,344 @@ { "build_time": "", "source files": { - "version": "v2.4.0-beta-7", - "commit": "14c4939841eab01a537bd7b9f7f9b07f57676734", + "version": "v2.5.1-1-gda44daa", + "commit": "da44daa271827e7dccb05e12f990638b24297b48", "dirty": false }, "pytex": { - "version": "v1.0.0-18", - "commit": "126d420b7a6ed2d4b2a42d534ab2e12344869643", + "version": "v1.2.0-16-gd1806d9", + "commit": "d1806d970fb0c93ba4d41d0b97efabab5415e984", "dirty": false }, "tex_sources": [ { "name": "mkessler-restate.sty", "source file": "restate.pysty", - "build time": "2021/10/24 08:55", - "source version": "v2.2.2-3", - "source commit hash": "1113e0ddd01036e5bad92b18c912e94bbc6f85c4", - "pytex version": "v1.0.0-18", - "pytex commit hash": "126d420b7a6ed2d4b2a42d534ab2e12344869643", + "build time": "2022/01/11 20:41", + "source version": "v2.5.1-1-gda44daa", + "source commit hash": "da44daa271827e7dccb05e12f990638b24297b48", + "pytex version": "v1.2.0-16-gd1806d9", + "pytex commit hash": "d1806d970fb0c93ba4d41d0b97efabab5415e984", "dirty": false }, { "name": "mkessler-enumerate.sty", "source file": "enumerate.pysty", - "build time": "2021/10/26 18:36", - "source version": "v2.2.2-20", - "source commit hash": "9b279f65fd45d99ffd45ca6131b07c306e15215e", - "pytex version": "v1.0.0-18", - "pytex commit hash": "126d420b7a6ed2d4b2a42d534ab2e12344869643", + "build time": "2022/01/11 20:41", + "source version": "v2.5.1-1-gda44daa", + "source commit hash": "da44daa271827e7dccb05e12f990638b24297b48", + "pytex version": "v1.2.0-16-gd1806d9", + "pytex commit hash": "d1806d970fb0c93ba4d41d0b97efabab5415e984", "dirty": false }, { "name": "mkessler-removed.sty", "source file": "removed.pysty", - "build time": "2021/12/12 19:15", - "source version": "v2.4.0-beta-4", - "source commit hash": "4aa3ce8c18080ed8b1a9f34802461d800c1bdd23", - "pytex version": "v1.0.0-18", - "pytex commit hash": "126d420b7a6ed2d4b2a42d534ab2e12344869643", + "build time": "2022/01/11 20:41", + "source version": "v2.5.1-1-gda44daa", + "source commit hash": "da44daa271827e7dccb05e12f990638b24297b48", + "pytex version": "v1.2.0-16-gd1806d9", + "pytex commit hash": "d1806d970fb0c93ba4d41d0b97efabab5415e984", + "dirty": false + }, + { + "name": "mkessler-refproof.sty", + "source file": "refproof.pysty", + "build time": "2022/01/11 20:41", + "source version": "v2.5.1-1-gda44daa", + "source commit hash": "da44daa271827e7dccb05e12f990638b24297b48", + "pytex version": "v1.2.0-16-gd1806d9", + "pytex commit hash": "d1806d970fb0c93ba4d41d0b97efabab5415e984", "dirty": false }, { "name": "mkessler-bibliography.sty", "source file": "bibliography.pysty", - "build time": "2021/10/24 08:55", - "source version": "v2.2.2-3", - "source commit hash": "1113e0ddd01036e5bad92b18c912e94bbc6f85c4", - "pytex version": "v1.0.0-18", - "pytex commit hash": "126d420b7a6ed2d4b2a42d534ab2e12344869643", + "build time": "2022/01/11 20:41", + "source version": "v2.5.1-1-gda44daa", + "source commit hash": "da44daa271827e7dccb05e12f990638b24297b48", + "pytex version": "v1.2.0-16-gd1806d9", + "pytex commit hash": "d1806d970fb0c93ba4d41d0b97efabab5415e984", "dirty": false }, { "name": "mkessler-gag.sty", "source file": "gag.pysty", - "build time": "2021/10/24 08:55", - "source version": "v2.2.2-3", - "source commit hash": "1113e0ddd01036e5bad92b18c912e94bbc6f85c4", - "pytex version": "v1.0.0-18", - "pytex commit hash": "126d420b7a6ed2d4b2a42d534ab2e12344869643", + "build time": "2022/01/11 20:41", + "source version": "v2.5.1-1-gda44daa", + "source commit hash": "da44daa271827e7dccb05e12f990638b24297b48", + "pytex version": "v1.2.0-16-gd1806d9", + "pytex commit hash": "d1806d970fb0c93ba4d41d0b97efabab5415e984", "dirty": false }, { "name": "mkessler-figures.sty", "source file": "figures.pysty", - "build time": "2021/10/24 08:55", - "source version": "v2.2.2-3", - "source commit hash": "1113e0ddd01036e5bad92b18c912e94bbc6f85c4", - "pytex version": "v1.0.0-18", - "pytex commit hash": "126d420b7a6ed2d4b2a42d534ab2e12344869643", - "dirty": false - }, - { - "name": "mkessler-proof.sty", - "source file": "proof.pysty", - "build time": "2021/10/24 08:55", - "source version": "v2.2.2-3", - "source commit hash": "1113e0ddd01036e5bad92b18c912e94bbc6f85c4", - "pytex version": "v1.0.0-18", - "pytex commit hash": "126d420b7a6ed2d4b2a42d534ab2e12344869643", + "build time": "2022/01/11 20:41", + "source version": "v2.5.1-1-gda44daa", + "source commit hash": "da44daa271827e7dccb05e12f990638b24297b48", + "pytex version": "v1.2.0-16-gd1806d9", + "pytex commit hash": "d1806d970fb0c93ba4d41d0b97efabab5415e984", "dirty": false }, { "name": "mkessler-exsheet.sty", "source file": "exsheet.pysty", - "build time": "2021/10/24 08:55", - "source version": "v2.2.2-3", - "source commit hash": "1113e0ddd01036e5bad92b18c912e94bbc6f85c4", - "pytex version": "v1.0.0-18", - "pytex commit hash": "126d420b7a6ed2d4b2a42d534ab2e12344869643", + "build time": "2022/01/11 20:41", + "source version": "v2.5.1-1-gda44daa", + "source commit hash": "da44daa271827e7dccb05e12f990638b24297b48", + "pytex version": "v1.2.0-16-gd1806d9", + "pytex commit hash": "d1806d970fb0c93ba4d41d0b97efabab5415e984", "dirty": false }, { "name": "mkessler-lang-input.sty", "source file": "lang-input.pysty", - "build time": "2021/10/24 08:55", - "source version": "v2.2.2-3", - "source commit hash": "1113e0ddd01036e5bad92b18c912e94bbc6f85c4", - "pytex version": "v1.0.0-18", - "pytex commit hash": "126d420b7a6ed2d4b2a42d534ab2e12344869643", + "build time": "2022/01/11 20:41", + "source version": "v2.5.1-1-gda44daa", + "source commit hash": "da44daa271827e7dccb05e12f990638b24297b48", + "pytex version": "v1.2.0-16-gd1806d9", + "pytex commit hash": "d1806d970fb0c93ba4d41d0b97efabab5415e984", "dirty": false }, { "name": "mkessler-lectures.sty", "source file": "lectures.pysty", - "build time": "2021/10/24 08:55", - "source version": "v2.2.2-3", - "source commit hash": "1113e0ddd01036e5bad92b18c912e94bbc6f85c4", - "pytex version": "v1.0.0-18", - "pytex commit hash": "126d420b7a6ed2d4b2a42d534ab2e12344869643", + "build time": "2022/01/11 20:41", + "source version": "v2.5.1-1-gda44daa", + "source commit hash": "da44daa271827e7dccb05e12f990638b24297b48", + "pytex version": "v1.2.0-16-gd1806d9", + "pytex commit hash": "d1806d970fb0c93ba4d41d0b97efabab5415e984", "dirty": false }, { "name": "mkessler-mathalias.sty", "source file": "mathalias.pysty", - "build time": "2021/10/24 19:18", - "source version": "v2.2.2-10", - "source commit hash": "8cc3232462da2584cdfaee9fb32c3ee6f345876c", - "pytex version": "v1.0.0-18", - "pytex commit hash": "126d420b7a6ed2d4b2a42d534ab2e12344869643", + "build time": "2022/01/11 20:41", + "source version": "v2.5.1-1-gda44daa", + "source commit hash": "da44daa271827e7dccb05e12f990638b24297b48", + "pytex version": "v1.2.0-16-gd1806d9", + "pytex commit hash": "d1806d970fb0c93ba4d41d0b97efabab5415e984", "dirty": false }, { "name": "mkessler-mathfixes.sty", "source file": "mathfixes.pysty", - "build time": "2021/12/12 19:15", - "source version": "v2.4.0-beta-4", - "source commit hash": "4aa3ce8c18080ed8b1a9f34802461d800c1bdd23", - "pytex version": "v1.0.0-18", - "pytex commit hash": "126d420b7a6ed2d4b2a42d534ab2e12344869643", + "build time": "2022/01/11 20:41", + "source version": "v2.5.1-1-gda44daa", + "source commit hash": "da44daa271827e7dccb05e12f990638b24297b48", + "pytex version": "v1.2.0-16-gd1806d9", + "pytex commit hash": "d1806d970fb0c93ba4d41d0b97efabab5415e984", "dirty": false }, { "name": "mkessler-unicodechar.sty", "source file": "unicodechar.pysty", - "build time": "2021/10/24 08:55", - "source version": "v2.2.2-3", - "source commit hash": "1113e0ddd01036e5bad92b18c912e94bbc6f85c4", - "pytex version": "v1.0.0-18", - "pytex commit hash": "126d420b7a6ed2d4b2a42d534ab2e12344869643", + "build time": "2022/01/11 20:41", + "source version": "v2.5.1-1-gda44daa", + "source commit hash": "da44daa271827e7dccb05e12f990638b24297b48", + "pytex version": "v1.2.0-16-gd1806d9", + "pytex commit hash": "d1806d970fb0c93ba4d41d0b97efabab5415e984", "dirty": false }, { "name": "mkessler-mathop.sty", "source file": "mathop.pysty", - "build time": "2021/12/19 10:02", - "source version": "v2.4.0-beta-6", - "source commit hash": "e238de78b684a74e3314c8e9760a08e313a6f0db", - "pytex version": "v1.0.0-18", - "pytex commit hash": "126d420b7a6ed2d4b2a42d534ab2e12344869643", + "build time": "2022/01/11 20:41", + "source version": "v2.5.1-1-gda44daa", + "source commit hash": "da44daa271827e7dccb05e12f990638b24297b48", + "pytex version": "v1.2.0-16-gd1806d9", + "pytex commit hash": "d1806d970fb0c93ba4d41d0b97efabab5415e984", "dirty": false }, { "name": "mkessler-mathfig.sty", "source file": "mathfig.pysty", - "build time": "2021/10/27 18:28", - "source version": "v2.2.2-21", - "source commit hash": "ea81a055fb6aba360804793c64859b683047140e", - "pytex version": "v1.0.0-18", - "pytex commit hash": "126d420b7a6ed2d4b2a42d534ab2e12344869643", + "build time": "2022/01/11 20:41", + "source version": "v2.5.1-1-gda44daa", + "source commit hash": "da44daa271827e7dccb05e12f990638b24297b48", + "pytex version": "v1.2.0-16-gd1806d9", + "pytex commit hash": "d1806d970fb0c93ba4d41d0b97efabab5415e984", "dirty": false }, { "name": "mkessler-mathsymb.sty", "source file": "mathsymb.pysty", - "build time": "2021/10/24 08:55", - "source version": "v2.2.2-3", - "source commit hash": "1113e0ddd01036e5bad92b18c912e94bbc6f85c4", - "pytex version": "v1.0.0-18", - "pytex commit hash": "126d420b7a6ed2d4b2a42d534ab2e12344869643", + "build time": "2022/01/11 20:41", + "source version": "v2.5.1-1-gda44daa", + "source commit hash": "da44daa271827e7dccb05e12f990638b24297b48", + "pytex version": "v1.2.0-16-gd1806d9", + "pytex commit hash": "d1806d970fb0c93ba4d41d0b97efabab5415e984", "dirty": false }, { "name": "mkessler-faktor.sty", "source file": "faktor.pysty", - "build time": "2021/10/24 19:18", - "source version": "v2.2.2-10", - "source commit hash": "8cc3232462da2584cdfaee9fb32c3ee6f345876c", - "pytex version": "v1.0.0-18", - "pytex commit hash": "126d420b7a6ed2d4b2a42d534ab2e12344869643", + "build time": "2022/01/11 20:41", + "source version": "v2.5.1-1-gda44daa", + "source commit hash": "da44daa271827e7dccb05e12f990638b24297b48", + "pytex version": "v1.2.0-16-gd1806d9", + "pytex commit hash": "d1806d970fb0c93ba4d41d0b97efabab5415e984", "dirty": false }, { "name": "mkessler-mathfont.sty", "source file": "mathfont.pysty", - "build time": "2021/10/24 08:55", - "source version": "v2.2.2-3", - "source commit hash": "1113e0ddd01036e5bad92b18c912e94bbc6f85c4", - "pytex version": "v1.0.0-18", - "pytex commit hash": "126d420b7a6ed2d4b2a42d534ab2e12344869643", + "build time": "2022/01/11 20:41", + "source version": "v2.5.1-1-gda44daa", + "source commit hash": "da44daa271827e7dccb05e12f990638b24297b48", + "pytex version": "v1.2.0-16-gd1806d9", + "pytex commit hash": "d1806d970fb0c93ba4d41d0b97efabab5415e984", "dirty": false }, { "name": "mkessler-math.sty", "source file": "math.pysty", - "build time": "2021/10/24 08:55", - "source version": "v2.2.2-3", - "source commit hash": "1113e0ddd01036e5bad92b18c912e94bbc6f85c4", - "pytex version": "v1.0.0-18", - "pytex commit hash": "126d420b7a6ed2d4b2a42d534ab2e12344869643", + "build time": "2022/01/11 20:41", + "source version": "v2.5.1-1-gda44daa", + "source commit hash": "da44daa271827e7dccb05e12f990638b24297b48", + "pytex version": "v1.2.0-16-gd1806d9", + "pytex commit hash": "d1806d970fb0c93ba4d41d0b97efabab5415e984", + "dirty": false + }, + { + "name": "mkessler-todo.sty", + "source file": "todo.pysty", + "build time": "2022/01/11 20:41", + "source version": "v2.5.1-1-gda44daa", + "source commit hash": "da44daa271827e7dccb05e12f990638b24297b48", + "pytex version": "v1.2.0-16-gd1806d9", + "pytex commit hash": "d1806d970fb0c93ba4d41d0b97efabab5415e984", "dirty": false }, { "name": "mkessler-counters.sty", "source file": "counters.pysty", - "build time": "2021/10/24 08:55", - "source version": "v2.2.2-3", - "source commit hash": "1113e0ddd01036e5bad92b18c912e94bbc6f85c4", - "pytex version": "v1.0.0-18", - "pytex commit hash": "126d420b7a6ed2d4b2a42d534ab2e12344869643", + "build time": "2022/01/11 20:41", + "source version": "v2.5.1-1-gda44daa", + "source commit hash": "da44daa271827e7dccb05e12f990638b24297b48", + "pytex version": "v1.2.0-16-gd1806d9", + "pytex commit hash": "d1806d970fb0c93ba4d41d0b97efabab5415e984", "dirty": false }, { "name": "mkessler-findpackage.sty", "source file": "findpackage.pysty", - "build time": "2021/10/24 08:55", - "source version": "v2.2.2-3", - "source commit hash": "1113e0ddd01036e5bad92b18c912e94bbc6f85c4", - "pytex version": "v1.0.0-18", - "pytex commit hash": "126d420b7a6ed2d4b2a42d534ab2e12344869643", + "build time": "2022/01/11 20:41", + "source version": "v2.5.1-1-gda44daa", + "source commit hash": "da44daa271827e7dccb05e12f990638b24297b48", + "pytex version": "v1.2.0-16-gd1806d9", + "pytex commit hash": "d1806d970fb0c93ba4d41d0b97efabab5415e984", "dirty": false }, { "name": "mkessler-thmstyle.sty", "source file": "thmstyle.pysty", - "build time": "2021/10/24 08:55", - "source version": "v2.2.2-3", - "source commit hash": "1113e0ddd01036e5bad92b18c912e94bbc6f85c4", - "pytex version": "v1.0.0-18", - "pytex commit hash": "126d420b7a6ed2d4b2a42d534ab2e12344869643", + "build time": "2022/01/11 20:41", + "source version": "v2.5.1-1-gda44daa", + "source commit hash": "da44daa271827e7dccb05e12f990638b24297b48", + "pytex version": "v1.2.0-16-gd1806d9", + "pytex commit hash": "d1806d970fb0c93ba4d41d0b97efabab5415e984", "dirty": false }, { "name": "mkessler-fancythm.sty", "source file": "fancythm.pysty", - "build time": "2021/12/12 19:15", - "source version": "v2.4.0-beta-4", - "source commit hash": "4aa3ce8c18080ed8b1a9f34802461d800c1bdd23", - "pytex version": "v1.0.0-18", - "pytex commit hash": "126d420b7a6ed2d4b2a42d534ab2e12344869643", + "build time": "2022/01/11 20:41", + "source version": "v2.5.1-1-gda44daa", + "source commit hash": "da44daa271827e7dccb05e12f990638b24297b48", + "pytex version": "v1.2.0-16-gd1806d9", + "pytex commit hash": "d1806d970fb0c93ba4d41d0b97efabab5415e984", "dirty": false }, { "name": "mkessler-incfig.sty", "source file": "incfig.pysty", - "build time": "2021/10/24 08:55", - "source version": "v2.2.2-3", - "source commit hash": "1113e0ddd01036e5bad92b18c912e94bbc6f85c4", - "pytex version": "v1.0.0-18", - "pytex commit hash": "126d420b7a6ed2d4b2a42d534ab2e12344869643", + "build time": "2022/01/11 20:41", + "source version": "v2.5.1-1-gda44daa", + "source commit hash": "da44daa271827e7dccb05e12f990638b24297b48", + "pytex version": "v1.2.0-16-gd1806d9", + "pytex commit hash": "d1806d970fb0c93ba4d41d0b97efabab5415e984", "dirty": false }, { "name": "mkessler-hypersetup.sty", "source file": "hypersetup.pysty", - "build time": "2021/10/24 08:55", - "source version": "v2.2.2-3", - "source commit hash": "1113e0ddd01036e5bad92b18c912e94bbc6f85c4", - "pytex version": "v1.0.0-18", - "pytex commit hash": "126d420b7a6ed2d4b2a42d534ab2e12344869643", + "build time": "2022/01/11 20:41", + "source version": "v2.5.1-1-gda44daa", + "source commit hash": "da44daa271827e7dccb05e12f990638b24297b48", + "pytex version": "v1.2.0-16-gd1806d9", + "pytex commit hash": "d1806d970fb0c93ba4d41d0b97efabab5415e984", "dirty": false }, { "name": "mkessler-vocab.sty", "source file": "vocab.pysty", - "build time": "2021/10/24 08:55", - "source version": "v2.2.2-3", - "source commit hash": "1113e0ddd01036e5bad92b18c912e94bbc6f85c4", - "pytex version": "v1.0.0-18", - "pytex commit hash": "126d420b7a6ed2d4b2a42d534ab2e12344869643", + "build time": "2022/01/11 20:41", + "source version": "v2.5.1-1-gda44daa", + "source commit hash": "da44daa271827e7dccb05e12f990638b24297b48", + "pytex version": "v1.2.0-16-gd1806d9", + "pytex commit hash": "d1806d970fb0c93ba4d41d0b97efabab5415e984", "dirty": false }, { "name": "mkessler-script.cls", "source file": "script.pycls", - "build time": "2021/12/20 13:20", - "source version": "v2.4.0-beta-7", - "source commit hash": "14c4939841eab01a537bd7b9f7f9b07f57676734", - "pytex version": "v1.0.0-18", - "pytex commit hash": "126d420b7a6ed2d4b2a42d534ab2e12344869643", + "build time": "2022/01/11 20:41", + "source version": "v2.5.1-1-gda44daa", + "source commit hash": "da44daa271827e7dccb05e12f990638b24297b48", + "pytex version": "v1.2.0-16-gd1806d9", + "pytex commit hash": "d1806d970fb0c93ba4d41d0b97efabab5415e984", "dirty": false }, { "name": "mkessler-sheet.cls", "source file": "sheet.pycls", - "build time": "2021/10/24 08:55", - "source version": "v2.2.2-3", - "source commit hash": "1113e0ddd01036e5bad92b18c912e94bbc6f85c4", - "pytex version": "v1.0.0-18", - "pytex commit hash": "126d420b7a6ed2d4b2a42d534ab2e12344869643", + "build time": "2022/01/11 20:41", + "source version": "v2.5.1-1-gda44daa", + "source commit hash": "da44daa271827e7dccb05e12f990638b24297b48", + "pytex version": "v1.2.0-16-gd1806d9", + "pytex commit hash": "d1806d970fb0c93ba4d41d0b97efabab5415e984", + "dirty": false + }, + { + "name": "translator-proof-dictionary-{language}.dict", + "source file": "proof.pydict", + "build time": "2022/01/11 20:41", + "source version": "v2.5.1-1-gda44daa", + "source commit hash": "da44daa271827e7dccb05e12f990638b24297b48", + "pytex version": "v1.2.0-16-gd1806d9", + "pytex commit hash": "d1806d970fb0c93ba4d41d0b97efabab5415e984", + "dirty": false + }, + { + "name": "translator-mathematical-categories-dictionary-{language}.dict", + "source file": "mathematical-categories.pydict", + "build time": "2022/01/11 20:41", + "source version": "v2.5.1-1-gda44daa", + "source commit hash": "da44daa271827e7dccb05e12f990638b24297b48", + "pytex version": "v1.2.0-16-gd1806d9", + "pytex commit hash": "d1806d970fb0c93ba4d41d0b97efabab5415e984", + "dirty": false + }, + { + "name": "mkessler-categories.sty", + "source file": "categories.pysty3", + "build time": "2022/01/11 20:41", + "source version": "v2.5.1-1-gda44daa", + "source commit hash": "da44daa271827e7dccb05e12f990638b24297b48", + "pytex version": "v1.2.0-16-gd1806d9", + "pytex commit hash": "d1806d970fb0c93ba4d41d0b97efabab5415e984", + "dirty": false + }, + { + "name": "mkessler-symbindex.sty", + "source file": "symbindex.pysty3", + "build time": "2022/01/11 20:41", + "source version": "v2.5.1-1-gda44daa", + "source commit hash": "da44daa271827e7dccb05e12f990638b24297b48", + "pytex version": "v1.2.0-16-gd1806d9", + "pytex commit hash": "d1806d970fb0c93ba4d41d0b97efabab5415e984", "dirty": false } ] diff --git a/environments/mkessler-fancythm.sty b/environments/mkessler-fancythm.sty index f0e6e02..8fa3889 100644 --- a/environments/mkessler-fancythm.sty +++ b/environments/mkessler-fancythm.sty @@ -1,5 +1,5 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% Copyright © 2021 Maximilian Keßler +% Copyright © 2022 Maximilian Keßler % % Permission is hereby granted, free of charge, to any person obtaining a copy % of this software and associated documentation files (the “Software”), to deal @@ -26,8 +26,8 @@ % edit the source file and build the package again. % % Build details: -% PyTeX version: v1.0.0-18 (commit 126d420) -% Source code version: v2.4.0-beta-4 (commit 4aa3ce8) +% PyTeX version: v1.2.0-16-gd1806d9 (commit d1806d9) +% Source code version: v2.5.1-1-gda44daa (commit da44daa) % % This LaTeX package is free software and distributed under the MIT License. You % may use it freely for your purposes. The latest version of the package can be @@ -39,7 +39,7 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{mkessler-fancythm}[2021/12/12 - Theorem-Environment Package] +\ProvidesPackage{mkessler-fancythm}[2022/01/11 - Theorem-Environment Package] %Provides fancy theorem-like-environments used in the write-ups of my lecture notes diff --git a/environments/mkessler-thmstyle.sty b/environments/mkessler-thmstyle.sty index 88a96c1..3c6e603 100644 --- a/environments/mkessler-thmstyle.sty +++ b/environments/mkessler-thmstyle.sty @@ -1,5 +1,5 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% Copyright © 2021 Maximilian Keßler +% Copyright © 2022 Maximilian Keßler % % Permission is hereby granted, free of charge, to any person obtaining a copy % of this software and associated documentation files (the “Software”), to deal @@ -26,8 +26,8 @@ % edit the source file and build the package again. % % Build details: -% PyTeX version: v1.0.0-18 (commit 126d420) -% Source code version: v2.2.2-3 (commit 1113e0d) +% PyTeX version: v1.2.0-16-gd1806d9 (commit d1806d9) +% Source code version: v2.5.1-1-gda44daa (commit da44daa) % % This LaTeX package is free software and distributed under the MIT License. You % may use it freely for your purposes. The latest version of the package can be @@ -39,7 +39,7 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{mkessler-thmstyle}[2021/10/24 - Mdframed Styles used for fancythm package] +\ProvidesPackage{mkessler-thmstyle}[2022/01/11 - Mdframed Styles used for fancythm package] %%%%% This provides easy-to-use styles, especially for use with the diff --git a/exercises/mkessler-sheet.cls b/exercises/mkessler-sheet.cls index fe9f675..3575c55 100644 --- a/exercises/mkessler-sheet.cls +++ b/exercises/mkessler-sheet.cls @@ -1,5 +1,5 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% Copyright © 2021 Maximilian Keßler +% Copyright © 2022 Maximilian Keßler % % Permission is hereby granted, free of charge, to any person obtaining a copy % of this software and associated documentation files (the “Software”), to deal @@ -26,8 +26,8 @@ % edit the source file and build the class again. % % Build details: -% PyTeX version: v1.0.0-18 (commit 126d420) -% Source code version: v2.2.2-3 (commit 1113e0d) +% PyTeX version: v1.2.0-16-gd1806d9 (commit d1806d9) +% Source code version: v2.5.1-1-gda44daa (commit da44daa) % % This LaTeX class is free software and distributed under the MIT License. You % may use it freely for your purposes. The latest version of the class can be @@ -39,7 +39,7 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \NeedsTeXFormat{LaTeX2e} -\ProvidesClass{mkessler-sheet}[2021/10/24 - Write up university exercise sheets] +\ProvidesClass{mkessler-sheet}[2022/01/11 - Write up university exercise sheets] diff --git a/lecture-notes/mkessler-lectures.sty b/lecture-notes/mkessler-lectures.sty index 465e796..c426e89 100644 --- a/lecture-notes/mkessler-lectures.sty +++ b/lecture-notes/mkessler-lectures.sty @@ -1,5 +1,5 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% Copyright © 2021 Maximilian Keßler +% Copyright © 2022 Maximilian Keßler % % Permission is hereby granted, free of charge, to any person obtaining a copy % of this software and associated documentation files (the “Software”), to deal @@ -26,8 +26,8 @@ % edit the source file and build the package again. % % Build details: -% PyTeX version: v1.0.0-18 (commit 126d420) -% Source code version: v2.2.2-3 (commit 1113e0d) +% PyTeX version: v1.2.0-16-gd1806d9 (commit d1806d9) +% Source code version: v2.5.1-1-gda44daa (commit da44daa) % % This LaTeX package is free software and distributed under the MIT License. You % may use it freely for your purposes. The latest version of the package can be @@ -39,7 +39,7 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{mkessler-lectures}[2021/10/24 - Package for managing different lectures within a document] +\ProvidesPackage{mkessler-lectures}[2022/01/11 - Package for managing different lectures within a document] % The core of the lecture command this package provides has been taken from the preamble in diff --git a/lecture-notes/mkessler-script.cls b/lecture-notes/mkessler-script.cls index ab6e69a..ac828c7 100644 --- a/lecture-notes/mkessler-script.cls +++ b/lecture-notes/mkessler-script.cls @@ -1,5 +1,5 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% Copyright © 2021 Maximilian Keßler +% Copyright © 2022 Maximilian Keßler % % Permission is hereby granted, free of charge, to any person obtaining a copy % of this software and associated documentation files (the “Software”), to deal @@ -26,8 +26,8 @@ % edit the source file and build the class again. % % Build details: -% PyTeX version: v1.0.0-18 (commit 126d420) -% Source code version: v2.4.0-beta-7 (commit 14c4939) +% PyTeX version: v1.2.0-16-gd1806d9 (commit d1806d9) +% Source code version: v2.5.1-1-gda44daa (commit da44daa) % % This LaTeX class is free software and distributed under the MIT License. You % may use it freely for your purposes. The latest version of the class can be @@ -39,7 +39,7 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \NeedsTeXFormat{LaTeX2e} -\ProvidesClass{mkessler-script}[2021/12/20 - Write up lecture notes as script] +\ProvidesClass{mkessler-script}[2022/01/11 - Write up lecture notes as script] diff --git a/math/mkessler-categories.sty b/math/mkessler-categories.sty new file mode 100644 index 0000000..e8d071f --- /dev/null +++ b/math/mkessler-categories.sty @@ -0,0 +1,181 @@ +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% Copyright © 2022 Maximilian Keßler +% +% Permission is hereby granted, free of charge, to any person obtaining a copy +% of this software and associated documentation files (the “Software”), to deal +% in the Software without restriction, including without limitation the rights +% to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +% copies of the Software, and to permit persons to whom the Software is +% furnished to do so, subject to the following conditions: +% The above copyright notice and this permission notice shall be included in all +% copies or substantial portions of the Software. +% +% THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +% IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +% FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +% AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +% LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +% OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +% SOFTWARE. +% +% This package has been generated by PyTeX, available at +% https://github.com/kesslermaximilian/PyTeX +% and built from source file 'categories.pysty3'. +% It is STRONGLY DISCOURAGED to edit this source file directly, since local +% changes will not be versioned by Git and overwritten by the next build. Always +% edit the source file and build the package again. +% +% Build details: +% PyTeX version: v1.2.0-16-gd1806d9 (commit d1806d9) +% Source code version: v2.5.1-1-gda44daa (commit da44daa) +% +% This LaTeX package is free software and distributed under the MIT License. You +% may use it freely for your purposes. The latest version of the package can be +% obtained via GitHub under +% https://github.com/kesslermaximilian/LatexPackages +% For further information see the url above. +% Reportings of bugs, suggestions and improvements are welcome, see the README +% at the Git repository for further information. +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\ProvidesExplPackage{mkessler-categories}{2022/01/11}{v2.5.1-1-gda44daa}{Definitions of categories with automatic indexing} + +%% Wrapper commands specific for defining categories + +\RequirePackage{mkessler-symbindex} +\RequirePackage{translator} +\RequirePackage{amsmath} + +\usedictionary{translator-mathematical-categories-dictionary} + +\NewDocumentCommand{\category}{ m } + { + \operatorname{\textbf{#1}} + } + + +\NewDocumentCommand{\DeclareCategory}{ O{} m } + { + \DeclareSymbol[group = categories, #1]{#2} + } + + +\NewDocumentCommand{\DeclareSimpleCategory}{ o m o} + { + \IfValueTF{#1} + { + \IfValueTF{#3} + { + \DeclareCategory[operator = \category, description = #3, #1]{#2} + } + { + \DeclareCategory[operator = \category, #1]{#2} + } + } + { + \IfValueTF{#3} + { + \DeclareCategory[operator = \category, description = #3]{#2} + } + { + \DeclareCategory[operator = \category]{#2} + } + } + } + +\makeindex + [ + name = categories, + title = \translate{Index~of~categories} + ] + + +%%%% Categories +\DeclareSimpleCategory + { Top } + [ + \translate{Top~(Category~description)} + ] +\DeclareSimpleCategory + { hTop } + [ + \translate{hTop~(Category~description)} + ] +\DeclareSimpleCategory + { Set } + [ + \translate{Set~(Category~description)} + ] +\DeclareSimpleCategory + { CHaus } + [ + \translate{CHaus~(Category~description)} + ] +\DeclareSimpleCategory + { Grp } + [ + \translate{Grp~(Category~description)} + ] +\DeclareSimpleCategory + { Ab } + [ + \translate{Ab~(Category~description)} + ] +\DeclareSimpleCategory + { CRing } + [ + \translate{CRing~(Category~description)} + ] +\DeclareSimpleCategory + { Ring } + [ + \translate{Ring~(Category~description)} + ] +\DeclareSimpleCategory + [ + defaultargs = _k + ] + { Vect } + [ + \translate{Vect~(Category~description)} + ] +\DeclareSimpleCategory + { Cat } + [ + \translate{Cat~(Category~description)} + ] +\DeclareSimpleCategory + [ + defaultargs = _R + ] + { Mod } + [ + \translate{Mod~(Category~description)} + ] +\DeclareSimpleCategory + [ + defaultargs = _k + ] + { Alg } + [ + \translate{Alg~(Category~description)} + ] +\DeclareSimpleCategory + { Field } + [ + \translate{Field~(Category~description)} + ] +\DeclareSimpleCategory + [ + defaultargs = _k + ] + { AffVar } + [ + \translate{AffVar~(Category~description)} + ] + +\DeclareSimpleCategory + { Sch } + [ + \translate{Sch~(Category~description)} + ] diff --git a/math/mkessler-faktor.sty b/math/mkessler-faktor.sty index 2ed51ca..f3dd532 100644 --- a/math/mkessler-faktor.sty +++ b/math/mkessler-faktor.sty @@ -1,5 +1,5 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% Copyright © 2021 Maximilian Keßler +% Copyright © 2022 Maximilian Keßler % % Permission is hereby granted, free of charge, to any person obtaining a copy % of this software and associated documentation files (the “Software”), to deal @@ -26,8 +26,8 @@ % edit the source file and build the package again. % % Build details: -% PyTeX version: v1.0.0-18 (commit 126d420) -% Source code version: v2.2.2-10 (commit 8cc3232) +% PyTeX version: v1.2.0-16-gd1806d9 (commit d1806d9) +% Source code version: v2.5.1-1-gda44daa (commit da44daa) % % This LaTeX package is free software and distributed under the MIT License. You % may use it freely for your purposes. The latest version of the package can be @@ -39,7 +39,7 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{mkessler-faktor}[2021/10/24 - Faktor package that also handles cofaktors] +\ProvidesPackage{mkessler-faktor}[2022/01/11 - Faktor package that also handles cofaktors] diff --git a/math/mkessler-math.sty b/math/mkessler-math.sty index c0a283b..014a7e0 100644 --- a/math/mkessler-math.sty +++ b/math/mkessler-math.sty @@ -1,5 +1,5 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% Copyright © 2021 Maximilian Keßler +% Copyright © 2022 Maximilian Keßler % % Permission is hereby granted, free of charge, to any person obtaining a copy % of this software and associated documentation files (the “Software”), to deal @@ -26,8 +26,8 @@ % edit the source file and build the package again. % % Build details: -% PyTeX version: v1.0.0-18 (commit 126d420) -% Source code version: v2.2.2-3 (commit 1113e0d) +% PyTeX version: v1.2.0-16-gd1806d9 (commit d1806d9) +% Source code version: v2.5.1-1-gda44daa (commit da44daa) % % This LaTeX package is free software and distributed under the MIT License. You % may use it freely for your purposes. The latest version of the package can be @@ -39,7 +39,7 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{mkessler-math}[2021/10/24 - Main math package.] +\ProvidesPackage{mkessler-math}[2022/01/11 - Main math package.] % Collects the basic math packages used for my lecture-note write-ups @@ -82,6 +82,7 @@ \RequirePackage[basic]{mkessler-mathalias} % mkessler-mathfont has already been imported \RequirePackage[\ifmkessler@math@english english\else german\fi]{mkessler-mathop} +\RequirePackage{mkessler-categories} \RequirePackage{mkessler-mathfig} \RequirePackage{mkessler-unicodechar} \RequirePackage{mkessler-mathfixes} % Load this last since it renews behaviour diff --git a/math/mkessler-mathalias.sty b/math/mkessler-mathalias.sty index 1a05757..aaa4278 100644 --- a/math/mkessler-mathalias.sty +++ b/math/mkessler-mathalias.sty @@ -1,5 +1,5 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% Copyright © 2021 Maximilian Keßler +% Copyright © 2022 Maximilian Keßler % % Permission is hereby granted, free of charge, to any person obtaining a copy % of this software and associated documentation files (the “Software”), to deal @@ -26,8 +26,8 @@ % edit the source file and build the package again. % % Build details: -% PyTeX version: v1.0.0-18 (commit 126d420) -% Source code version: v2.2.2-10 (commit 8cc3232) +% PyTeX version: v1.2.0-16-gd1806d9 (commit d1806d9) +% Source code version: v2.5.1-1-gda44daa (commit da44daa) % % This LaTeX package is free software and distributed under the MIT License. You % may use it freely for your purposes. The latest version of the package can be @@ -39,7 +39,7 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{mkessler-mathalias}[2021/10/24 - Easy aliasing for math style commands] +\ProvidesPackage{mkessler-mathalias}[2022/01/11 - Easy aliasing for math style commands] diff --git a/math/mkessler-mathfig.sty b/math/mkessler-mathfig.sty index 5e140c4..9f8320c 100644 --- a/math/mkessler-mathfig.sty +++ b/math/mkessler-mathfig.sty @@ -1,5 +1,5 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% Copyright © 2021 Maximilian Keßler +% Copyright © 2022 Maximilian Keßler % % Permission is hereby granted, free of charge, to any person obtaining a copy % of this software and associated documentation files (the “Software”), to deal @@ -26,8 +26,8 @@ % edit the source file and build the package again. % % Build details: -% PyTeX version: v1.0.0-18 (commit 126d420) -% Source code version: v2.2.2-21 (commit ea81a05) +% PyTeX version: v1.2.0-16-gd1806d9 (commit d1806d9) +% Source code version: v2.5.1-1-gda44daa (commit da44daa) % % This LaTeX package is free software and distributed under the MIT License. You % may use it freely for your purposes. The latest version of the package can be @@ -39,7 +39,7 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{mkessler-mathfig}[2021/10/27 - Math figures with TikZ / pgfplots / xy] +\ProvidesPackage{mkessler-mathfig}[2022/01/11 - Math figures with TikZ / pgfplots / xy] % This is just a collection of the packages I use to typeset mathematical figures diff --git a/math/mkessler-mathfixes.sty b/math/mkessler-mathfixes.sty index 06231bd..2d44027 100644 --- a/math/mkessler-mathfixes.sty +++ b/math/mkessler-mathfixes.sty @@ -1,5 +1,5 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% Copyright © 2021 Maximilian Keßler +% Copyright © 2022 Maximilian Keßler % % Permission is hereby granted, free of charge, to any person obtaining a copy % of this software and associated documentation files (the “Software”), to deal @@ -26,8 +26,8 @@ % edit the source file and build the package again. % % Build details: -% PyTeX version: v1.0.0-18 (commit 126d420) -% Source code version: v2.4.0-beta-4 (commit 4aa3ce8) +% PyTeX version: v1.2.0-16-gd1806d9 (commit d1806d9) +% Source code version: v2.5.1-1-gda44daa (commit da44daa) % % This LaTeX package is free software and distributed under the MIT License. You % may use it freely for your purposes. The latest version of the package can be @@ -39,7 +39,7 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{mkessler-mathfixes}[2021/12/12 - Hacky math packages for some (custom) fixes] +\ProvidesPackage{mkessler-mathfixes}[2022/01/11 - Hacky math packages for some (custom) fixes] % This just brings together some (possibly ugly) hacks that I use when writing math. Likely, you do not want to use this except when building around this package (like I did), or already have similar shortcuts diff --git a/math/mkessler-mathfont.sty b/math/mkessler-mathfont.sty index dbf655b..616593e 100644 --- a/math/mkessler-mathfont.sty +++ b/math/mkessler-mathfont.sty @@ -1,5 +1,5 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% Copyright © 2021 Maximilian Keßler +% Copyright © 2022 Maximilian Keßler % % Permission is hereby granted, free of charge, to any person obtaining a copy % of this software and associated documentation files (the “Software”), to deal @@ -26,8 +26,8 @@ % edit the source file and build the package again. % % Build details: -% PyTeX version: v1.0.0-18 (commit 126d420) -% Source code version: v2.2.2-3 (commit 1113e0d) +% PyTeX version: v1.2.0-16-gd1806d9 (commit d1806d9) +% Source code version: v2.5.1-1-gda44daa (commit da44daa) % % This LaTeX package is free software and distributed under the MIT License. You % may use it freely for your purposes. The latest version of the package can be @@ -39,7 +39,7 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{mkessler-mathfont}[2021/10/24 - Collects several math fonts together] +\ProvidesPackage{mkessler-mathfont}[2022/01/11 - Collects several math fonts together] %%% Store away the several (partially conflicting) fonts in internal macros diff --git a/math/mkessler-mathop.sty b/math/mkessler-mathop.sty index b37d12e..ddac21b 100644 --- a/math/mkessler-mathop.sty +++ b/math/mkessler-mathop.sty @@ -1,5 +1,5 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% Copyright © 2021 Maximilian Keßler +% Copyright © 2022 Maximilian Keßler % % Permission is hereby granted, free of charge, to any person obtaining a copy % of this software and associated documentation files (the “Software”), to deal @@ -26,8 +26,8 @@ % edit the source file and build the package again. % % Build details: -% PyTeX version: v1.0.0-18 (commit 126d420) -% Source code version: v2.4.0-beta-6 (commit e238de7) +% PyTeX version: v1.2.0-16-gd1806d9 (commit d1806d9) +% Source code version: v2.5.1-1-gda44daa (commit da44daa) % % This LaTeX package is free software and distributed under the MIT License. You % may use it freely for your purposes. The latest version of the package can be @@ -39,7 +39,7 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{mkessler-mathop}[2021/12/19 - Math Operator Package] +\ProvidesPackage{mkessler-mathop}[2022/01/11 - Math Operator Package] %Provides some commonly used Operators used in the write-ups of my lecture notes @@ -73,13 +73,6 @@ %Easily declare new distributions \newcommand\DeclareDistribution[1]{\expandafter\def\csname #1\endcsname{\mkessler@mathop@distribution{#1}}} -%%%For categories -%Introduce synonym for \operatorname -\newcommand\mkessler@mathop@category[1]{\operatorname{\textbf{#1}}} -%Easily declare new categories -\newcommand\DeclareCategory[1]{\expandafter\def\csname #1\endcsname{\mkessler@mathop@category{#1}}} - - %%%%%%%%%%% Operators %Basic commands \DeclareSimpleMathOperator{id} @@ -184,26 +177,6 @@ \DeclareSimpleMathOperator{End} \DeclareSimpleMathOperator{colim} -%Categories -\DeclareCategory{Top} -\DeclareCategory{hTop} -\DeclareCategory{Set} -\DeclareCategory{CHaus} -\DeclareCategory{Grp} -\DeclareCategory{Ab} -\DeclareCategory{CRing} -\DeclareCategory{Ring} -\DeclareCategory{Vect} -\DeclareCategory{Fin} -\DeclareCategory{Ab} -\DeclareCategory{Cat} -\DeclareCategory{Mod} -\DeclareCategory{AffVar} -\DeclareCategory{Alg} -\DeclareCategory{Field} -\DeclareCategory{GrAb} -\DeclareCategory{Sch} - %Set theory \DeclareSimpleMathOperator{card} \DeclareSimpleMathOperator{Cd} diff --git a/math/mkessler-mathsymb.sty b/math/mkessler-mathsymb.sty index 7369ca5..a1a9437 100644 --- a/math/mkessler-mathsymb.sty +++ b/math/mkessler-mathsymb.sty @@ -1,5 +1,5 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% Copyright © 2021 Maximilian Keßler +% Copyright © 2022 Maximilian Keßler % % Permission is hereby granted, free of charge, to any person obtaining a copy % of this software and associated documentation files (the “Software”), to deal @@ -26,8 +26,8 @@ % edit the source file and build the package again. % % Build details: -% PyTeX version: v1.0.0-18 (commit 126d420) -% Source code version: v2.2.2-3 (commit 1113e0d) +% PyTeX version: v1.2.0-16-gd1806d9 (commit d1806d9) +% Source code version: v2.5.1-1-gda44daa (commit da44daa) % % This LaTeX package is free software and distributed under the MIT License. You % may use it freely for your purposes. The latest version of the package can be @@ -39,7 +39,7 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{mkessler-mathsymb}[2021/10/24 - Some extra math-related symbols.] +\ProvidesPackage{mkessler-mathsymb}[2022/01/11 - Some extra math-related symbols.] % A collection of math-related symbols / tools I often use, mainly collected together from Stack Overflow or hacked together myself diff --git a/math/mkessler-unicodechar.sty b/math/mkessler-unicodechar.sty index c7d5aa2..a0936e5 100644 --- a/math/mkessler-unicodechar.sty +++ b/math/mkessler-unicodechar.sty @@ -1,5 +1,5 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% Copyright © 2021 Maximilian Keßler +% Copyright © 2022 Maximilian Keßler % % Permission is hereby granted, free of charge, to any person obtaining a copy % of this software and associated documentation files (the “Software”), to deal @@ -26,8 +26,8 @@ % edit the source file and build the package again. % % Build details: -% PyTeX version: v1.0.0-18 (commit 126d420) -% Source code version: v2.2.2-3 (commit 1113e0d) +% PyTeX version: v1.2.0-16-gd1806d9 (commit d1806d9) +% Source code version: v2.5.1-1-gda44daa (commit da44daa) % % This LaTeX package is free software and distributed under the MIT License. You % may use it freely for your purposes. The latest version of the package can be @@ -39,7 +39,7 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{mkessler-unicodechar}[2021/10/24 - Wrapper for the newunicodechare package with some defined unicode symbols.] +\ProvidesPackage{mkessler-unicodechar}[2022/01/11 - Wrapper for the newunicodechare package with some defined unicode symbols.] % This is just a simple package loading the newunicodechar package and defining the common unicode symbols i regularly use for typesetting mathematics diff --git a/math/translator-mathematical-categories-dictionary-English.dict b/math/translator-mathematical-categories-dictionary-English.dict new file mode 100644 index 0000000..0168f6b --- /dev/null +++ b/math/translator-mathematical-categories-dictionary-English.dict @@ -0,0 +1,58 @@ +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% Copyright © 2022 Maximilian Keßler +% +% Permission is hereby granted, free of charge, to any person obtaining a copy +% of this software and associated documentation files (the “Software”), to deal +% in the Software without restriction, including without limitation the rights +% to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +% copies of the Software, and to permit persons to whom the Software is +% furnished to do so, subject to the following conditions: +% The above copyright notice and this permission notice shall be included in all +% copies or substantial portions of the Software. +% +% THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +% IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +% FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +% AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +% LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +% OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +% SOFTWARE. +% +% This dictionary has been generated by PyTeX, available at +% https://github.com/kesslermaximilian/PyTeX +% and built from source file 'mathematical-categories.pydict'. +% It is STRONGLY DISCOURAGED to edit this source file directly, since local +% changes will not be versioned by Git and overwritten by the next build. Always +% edit the source file and build the dictionary again. +% +% Build details: +% PyTeX version: v1.2.0-16-gd1806d9 (commit d1806d9) +% Source code version: v2.5.1-1-gda44daa (commit da44daa) +% +% This LaTeX dictionary is free software and distributed under the MIT License. You +% may use it freely for your purposes. The latest version of the dictionary can be +% obtained via GitHub under +% https://github.com/kesslermaximilian/LatexPackages +% For further information see the url above. +% Reportings of bugs, suggestions and improvements are welcome, see the README +% at the Git repository for further information. +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\ProvidesDictionary{translator-mathematical-categories-dictionary}{English} + +\providetranslation{Index of categories}{Index of categories} +\providetranslation{Top (Category description)}{spaces and continuous maps} +\providetranslation{Set (Category description)}{Sets and functions} +\providetranslation{hTop (Category description)}{Spaces and homotopy classes of continuous maps} +\providetranslation{CHaus (Category description)}{Compact hausdorff spaces and continuous maps} +\providetranslation{Grp (Category description)}{Groups and homomorphisms} +\providetranslation{Ab (Category description)}{Abelian groups and homomorphisms} +\providetranslation{CRing (Category description)}{Commutative rings and homomorphisms} +\providetranslation{Ring (Category description)}{Rings and homomorphisms} +\providetranslation{Vect (Category description)}{$k$-vector spaces and linear maps} +\providetranslation{Cat (Category description)}{Small categories and functors} +\providetranslation{Mod (Category description)}{Left $R$-modules and homomorphisms} +\providetranslation{Alg (Category description)}{$k$-algebras and homomorphisms} +\providetranslation{Field (Category description)}{Fields and field extensions} +\providetranslation{AffVar (Category description)}{Affine Varieties over $k$} +\providetranslation{Sch (Category description)}{Schemes and homomorphisms} diff --git a/math/translator-mathematical-categories-dictionary-German.dict b/math/translator-mathematical-categories-dictionary-German.dict new file mode 100644 index 0000000..8975b04 --- /dev/null +++ b/math/translator-mathematical-categories-dictionary-German.dict @@ -0,0 +1,58 @@ +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% Copyright © 2022 Maximilian Keßler +% +% Permission is hereby granted, free of charge, to any person obtaining a copy +% of this software and associated documentation files (the “Software”), to deal +% in the Software without restriction, including without limitation the rights +% to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +% copies of the Software, and to permit persons to whom the Software is +% furnished to do so, subject to the following conditions: +% The above copyright notice and this permission notice shall be included in all +% copies or substantial portions of the Software. +% +% THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +% IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +% FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +% AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +% LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +% OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +% SOFTWARE. +% +% This dictionary has been generated by PyTeX, available at +% https://github.com/kesslermaximilian/PyTeX +% and built from source file 'mathematical-categories.pydict'. +% It is STRONGLY DISCOURAGED to edit this source file directly, since local +% changes will not be versioned by Git and overwritten by the next build. Always +% edit the source file and build the dictionary again. +% +% Build details: +% PyTeX version: v1.2.0-16-gd1806d9 (commit d1806d9) +% Source code version: v2.5.1-1-gda44daa (commit da44daa) +% +% This LaTeX dictionary is free software and distributed under the MIT License. You +% may use it freely for your purposes. The latest version of the dictionary can be +% obtained via GitHub under +% https://github.com/kesslermaximilian/LatexPackages +% For further information see the url above. +% Reportings of bugs, suggestions and improvements are welcome, see the README +% at the Git repository for further information. +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\ProvidesDictionary{translator-mathematical-categories-dictionary}{German} + +\providetranslation{Index of categories}{Kategorienverzeichnis} +\providetranslation{Top (Category description)}{Räume und stetige Abbildungen} +\providetranslation{Set (Category description)}{Mengen und Funktionen} +\providetranslation{hTop (Category description)}{Räume und Homotopieklassen von stetigen Abbildungen} +\providetranslation{CHaus (Category description)}{Kompakte Hausdorffräume und stetige Abbildungen} +\providetranslation{Grp (Category description)}{Gruppen und Homomorphismen} +\providetranslation{Ab (Category description)}{Abelsche Gruppen und Homomoorphismen} +\providetranslation{CRing (Category description)}{Kommutative Ringe und Homomorphismen} +\providetranslation{Ring (Category description)}{Ringe und Homomorphismen} +\providetranslation{Vect (Category description)}{Vektorräume und lineare Abbildungen} +\providetranslation{Cat (Category description)}{Kleine Kategorien und Funktoren} +\providetranslation{Mod (Category description)}{$R$-Linksmodule und Homomorphismen} +\providetranslation{Alg (Category description)}{$k$-Algebren und Homomorphismen} +\providetranslation{Field (Category description)}{Körper und Körpererweiterungen} +\providetranslation{AffVar (Category description)}{Affine Varietäten über $k$} +\providetranslation{Sch (Category description)}{Schemata und Homomorphismen} diff --git a/misc/mkessler-hypersetup.sty b/misc/mkessler-hypersetup.sty index edad43d..7da6f23 100644 --- a/misc/mkessler-hypersetup.sty +++ b/misc/mkessler-hypersetup.sty @@ -1,5 +1,5 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% Copyright © 2021 Maximilian Keßler +% Copyright © 2022 Maximilian Keßler % % Permission is hereby granted, free of charge, to any person obtaining a copy % of this software and associated documentation files (the “Software”), to deal @@ -26,8 +26,8 @@ % edit the source file and build the package again. % % Build details: -% PyTeX version: v1.0.0-18 (commit 126d420) -% Source code version: v2.2.2-3 (commit 1113e0d) +% PyTeX version: v1.2.0-16-gd1806d9 (commit d1806d9) +% Source code version: v2.5.1-1-gda44daa (commit da44daa) % % This LaTeX package is free software and distributed under the MIT License. You % may use it freely for your purposes. The latest version of the package can be @@ -39,7 +39,7 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{mkessler-hypersetup}[2021/10/24 - Package for setting up hyperref, cleveref and some default hyperref colors] +\ProvidesPackage{mkessler-hypersetup}[2022/01/11 - Package for setting up hyperref, cleveref and some default hyperref colors] diff --git a/misc/mkessler-incfig.sty b/misc/mkessler-incfig.sty index 3f77e53..9dc7436 100644 --- a/misc/mkessler-incfig.sty +++ b/misc/mkessler-incfig.sty @@ -1,5 +1,5 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% Copyright © 2021 Maximilian Keßler +% Copyright © 2022 Maximilian Keßler % % Permission is hereby granted, free of charge, to any person obtaining a copy % of this software and associated documentation files (the “Software”), to deal @@ -26,8 +26,8 @@ % edit the source file and build the package again. % % Build details: -% PyTeX version: v1.0.0-18 (commit 126d420) -% Source code version: v2.2.2-3 (commit 1113e0d) +% PyTeX version: v1.2.0-16-gd1806d9 (commit d1806d9) +% Source code version: v2.5.1-1-gda44daa (commit da44daa) % % This LaTeX package is free software and distributed under the MIT License. You % may use it freely for your purposes. The latest version of the package can be @@ -39,7 +39,7 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{mkessler-incfig}[2021/10/24 - Figure support for inkscape figures by Gilles Castell] +\ProvidesPackage{mkessler-incfig}[2022/01/11 - Figure support for inkscape figures by Gilles Castell] diff --git a/misc/mkessler-vocab.sty b/misc/mkessler-vocab.sty index 430cbd0..4214293 100644 --- a/misc/mkessler-vocab.sty +++ b/misc/mkessler-vocab.sty @@ -1,5 +1,5 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% Copyright © 2021 Maximilian Keßler +% Copyright © 2022 Maximilian Keßler % % Permission is hereby granted, free of charge, to any person obtaining a copy % of this software and associated documentation files (the “Software”), to deal @@ -26,8 +26,8 @@ % edit the source file and build the package again. % % Build details: -% PyTeX version: v1.0.0-18 (commit 126d420) -% Source code version: v2.2.2-3 (commit 1113e0d) +% PyTeX version: v1.2.0-16-gd1806d9 (commit d1806d9) +% Source code version: v2.5.1-1-gda44daa (commit da44daa) % % This LaTeX package is free software and distributed under the MIT License. You % may use it freely for your purposes. The latest version of the package can be @@ -39,7 +39,7 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{mkessler-vocab}[2021/10/24 - Package for emphasizing vocabulary] +\ProvidesPackage{mkessler-vocab}[2022/01/11 - Package for emphasizing vocabulary] %%Provides a \vocab<[name in index]>{vocabulary} command to print vocabulary in bold blue and automatically index it. diff --git a/utils/mkessler-counters.sty b/utils/mkessler-counters.sty index 2e84fdb..26304ef 100644 --- a/utils/mkessler-counters.sty +++ b/utils/mkessler-counters.sty @@ -1,5 +1,5 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% Copyright © 2021 Maximilian Keßler +% Copyright © 2022 Maximilian Keßler % % Permission is hereby granted, free of charge, to any person obtaining a copy % of this software and associated documentation files (the “Software”), to deal @@ -26,8 +26,8 @@ % edit the source file and build the package again. % % Build details: -% PyTeX version: v1.0.0-18 (commit 126d420) -% Source code version: v2.2.2-3 (commit 1113e0d) +% PyTeX version: v1.2.0-16-gd1806d9 (commit d1806d9) +% Source code version: v2.5.1-1-gda44daa (commit da44daa) % % This LaTeX package is free software and distributed under the MIT License. You % may use it freely for your purposes. The latest version of the package can be @@ -39,7 +39,7 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{mkessler-counters}[2021/10/24 - Write LaTeX counters to auxiliary file] +\ProvidesPackage{mkessler-counters}[2022/01/11 - Write LaTeX counters to auxiliary file] diff --git a/utils/mkessler-findpackage.sty b/utils/mkessler-findpackage.sty index 336466d..8bc0033 100644 --- a/utils/mkessler-findpackage.sty +++ b/utils/mkessler-findpackage.sty @@ -1,5 +1,5 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% Copyright © 2021 Maximilian Keßler +% Copyright © 2022 Maximilian Keßler % % Permission is hereby granted, free of charge, to any person obtaining a copy % of this software and associated documentation files (the “Software”), to deal @@ -26,8 +26,8 @@ % edit the source file and build the package again. % % Build details: -% PyTeX version: v1.0.0-18 (commit 126d420) -% Source code version: v2.2.2-3 (commit 1113e0d) +% PyTeX version: v1.2.0-16-gd1806d9 (commit d1806d9) +% Source code version: v2.5.1-1-gda44daa (commit da44daa) % % This LaTeX package is free software and distributed under the MIT License. You % may use it freely for your purposes. The latest version of the package can be @@ -39,7 +39,7 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{mkessler-findpackage}[2021/10/24 - Find a package that provides some command] +\ProvidesPackage{mkessler-findpackage}[2022/01/11 - Find a package that provides some command] % This is just a quick packaging of the post by diff --git a/utils/mkessler-symbindex.sty b/utils/mkessler-symbindex.sty new file mode 100644 index 0000000..6cd69b9 --- /dev/null +++ b/utils/mkessler-symbindex.sty @@ -0,0 +1,141 @@ +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% Copyright © 2022 Maximilian Keßler +% +% Permission is hereby granted, free of charge, to any person obtaining a copy +% of this software and associated documentation files (the “Software”), to deal +% in the Software without restriction, including without limitation the rights +% to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +% copies of the Software, and to permit persons to whom the Software is +% furnished to do so, subject to the following conditions: +% The above copyright notice and this permission notice shall be included in all +% copies or substantial portions of the Software. +% +% THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +% IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +% FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +% AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +% LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +% OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +% SOFTWARE. +% +% This package has been generated by PyTeX, available at +% https://github.com/kesslermaximilian/PyTeX +% and built from source file 'symbindex.pysty3'. +% It is STRONGLY DISCOURAGED to edit this source file directly, since local +% changes will not be versioned by Git and overwritten by the next build. Always +% edit the source file and build the package again. +% +% Build details: +% PyTeX version: v1.2.0-16-gd1806d9 (commit d1806d9) +% Source code version: v2.5.1-1-gda44daa (commit da44daa) +% +% This LaTeX package is free software and distributed under the MIT License. You +% may use it freely for your purposes. The latest version of the package can be +% obtained via GitHub under +% https://github.com/kesslermaximilian/LatexPackages +% For further information see the url above. +% Reportings of bugs, suggestions and improvements are welcome, see the README +% at the Git repository for further information. +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\ProvidesExplPackage{mkessler-symbindex}{2022/01/11}{v2.5.1-1-gda44daa}{Declaring of math symbols with automatic indexing} + + + +\RequirePackage{imakeidx} +\RequirePackage{xparse} + +% Keys used for declaring symbols +\keys_define:nn { symbol } + { + operator .tl_set:N = \l_symbol_operator_tl, + operator .default:n = \use:n, + formula .tl_set:N = \l_symbol_formula_tl, + formula .default:n = \c_novalue_tl, + ordered .tl_set:N = \l_symbol_ordered_tl, + ordered .default:n = \c_novalue_tl, + description .tl_set:N = \l_symbol_description_tl, + description .default:n = \c_novalue_tl, + group .tl_set:N = \l_symbol_group_tl, + group .default:n = \c_novalue_tl, + defaultargs .tl_set:N = \l_symbol_defaultargs_tl, + defaultargs .default:n = \c_novalue_tl + } + +% Core macro not to be used publicly directly. Usage: + % #1 = indexname / group + % #2 = symbolname, + % #3 = description + % #4 = operator to apply (one argument) - can be \use:n for identity + % #5 = substitution when called + % #6 = default appendices to macro in index (e.g. _R) + % #7 = ordering in index +\cs_new_protected:Nn\symbol_define:nnnnnnn + { + \bool_new:c { used_#2 } + \cs_new_protected:cn { symbol_#2: } + { + #4{#5} + \bool_if:cF { used_#2 } + { + \index[#1] + { + #7 + @ + $#4{#5}#6$ + #3 + } + \bool_gset_true:c { used_#2 } + } + } + \exp_args:Nc\gdef{#2} + { + \use:c { symbol_#2: } + } + } +\cs_generate_variant:Nn\symbol_define:nnnnnnn { V n V V V V V} + + +% Main package interface +\NewDocumentCommand{\DeclareSymbol}{ O{} m} + { + \keys_set:nn{ symbol } + { + operator, + formula, + ordered, + description, + group, + defaultargs + } + \keys_set:nn{ symbol }{#1} + \tl_if_eq:NnTF\l_symbol_description_tl{\c_novalue_tl} + { + \tl_set:Nn\l_symbol_description_tl { \c_empty_tl } + } + { + \tl_put_left:Nn\l_symbol_description_tl { ,\c_space_tl } + } + \tl_if_eq:NnT\l_symbol_formula_tl{\c_novalue_tl} + { + \tl_set:Nn\l_symbol_formula_tl {#2} + } + \tl_if_eq:NnT\l_symbol_ordered_tl{\c_novalue_tl} + { + \tl_set:Nn\l_symbol_ordered_tl {#2} + } + \tl_if_eq:NnT\l_symbol_defaultargs_tl{\c_novalue_tl} + { + \tl_clear:N\l_symbol_defaultargs_tl + } + \symbol_define:VnVVVVV + \l_symbol_group_tl + { + #2 + } + \l_symbol_description_tl + \l_symbol_operator_tl + \l_symbol_formula_tl + \l_symbol_defaultargs_tl + \l_symbol_ordered_tl + } diff --git a/utils/mkessler-todo.sty b/utils/mkessler-todo.sty new file mode 100644 index 0000000..3010e3f --- /dev/null +++ b/utils/mkessler-todo.sty @@ -0,0 +1,69 @@ +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% Copyright © 2022 Maximilian Keßler +% +% Permission is hereby granted, free of charge, to any person obtaining a copy +% of this software and associated documentation files (the “Software”), to deal +% in the Software without restriction, including without limitation the rights +% to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +% copies of the Software, and to permit persons to whom the Software is +% furnished to do so, subject to the following conditions: +% The above copyright notice and this permission notice shall be included in all +% copies or substantial portions of the Software. +% +% THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +% IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +% FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +% AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +% LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +% OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +% SOFTWARE. +% +% This package has been generated by PyTeX, available at +% https://github.com/kesslermaximilian/PyTeX +% and built from source file 'todo.pysty'. +% It is STRONGLY DISCOURAGED to edit this source file directly, since local +% changes will not be versioned by Git and overwritten by the next build. Always +% edit the source file and build the package again. +% +% Build details: +% PyTeX version: v1.2.0-16-gd1806d9 (commit d1806d9) +% Source code version: v2.5.1-1-gda44daa (commit da44daa) +% +% This LaTeX package is free software and distributed under the MIT License. You +% may use it freely for your purposes. The latest version of the package can be +% obtained via GitHub under +% https://github.com/kesslermaximilian/LatexPackages +% For further information see the url above. +% Reportings of bugs, suggestions and improvements are welcome, see the README +% at the Git repository for further information. +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{mkessler-todo}[2022/01/11 - Easy standards for the todonotes package] + + + +\RequirePackage[colorinlistoftodos]{todonotes} +\RequirePackage{xparse} + +% Make \todo{} available inside minipages +\usepackage{marginnote} +\let\marginpar\marginnote + +\setuptodonotes{tickmarkheight=0.1cm, size=\small} + +\newcommand\todoref{ + \todo[color=red!40]{Add reference.} +} + +\newcommand\todoquestion{ + \todo[color=black!10, size=\tiny] +} + +\newcommand\todotex{ + \todo[color=green!75!black] +} + +\newcommand\todotypo{ + \todo[color=blue!40, size=\tiny]{Typo corrected, double check this.} +} diff --git a/wip/mkessler-bibliography.sty b/wip/mkessler-bibliography.sty index ae3d025..f3fd1f0 100644 --- a/wip/mkessler-bibliography.sty +++ b/wip/mkessler-bibliography.sty @@ -1,5 +1,5 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% Copyright © 2021 Maximilian Keßler +% Copyright © 2022 Maximilian Keßler % % Permission is hereby granted, free of charge, to any person obtaining a copy % of this software and associated documentation files (the “Software”), to deal @@ -26,8 +26,8 @@ % edit the source file and build the package again. % % Build details: -% PyTeX version: v1.0.0-18 (commit 126d420) -% Source code version: v2.2.2-3 (commit 1113e0d) +% PyTeX version: v1.2.0-16-gd1806d9 (commit d1806d9) +% Source code version: v2.5.1-1-gda44daa (commit da44daa) % % This LaTeX package is free software and distributed under the MIT License. You % may use it freely for your purposes. The latest version of the package can be @@ -39,7 +39,7 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{mkessler-bibliography}[2021/10/24 - Package to easily print bibliography and image attributions in document] +\ProvidesPackage{mkessler-bibliography}[2022/01/11 - Package to easily print bibliography and image attributions in document] \RequirePackage{xkeyval} diff --git a/wip/mkessler-enumerate.sty b/wip/mkessler-enumerate.sty index d12f702..ccc7ea9 100644 --- a/wip/mkessler-enumerate.sty +++ b/wip/mkessler-enumerate.sty @@ -1,5 +1,5 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% Copyright © 2021 Maximilian Keßler +% Copyright © 2022 Maximilian Keßler % % Permission is hereby granted, free of charge, to any person obtaining a copy % of this software and associated documentation files (the “Software”), to deal @@ -26,8 +26,8 @@ % edit the source file and build the package again. % % Build details: -% PyTeX version: v1.0.0-18 (commit 126d420) -% Source code version: v2.2.2-20 (commit 9b279f6) +% PyTeX version: v1.2.0-16-gd1806d9 (commit d1806d9) +% Source code version: v2.5.1-1-gda44daa (commit da44daa) % % This LaTeX package is free software and distributed under the MIT License. You % may use it freely for your purposes. The latest version of the package can be @@ -39,7 +39,7 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{mkessler-enumerate}[2021/10/26 - Simple enumeration package wrapper. Handles custom number setting and beamer class.] +\ProvidesPackage{mkessler-enumerate}[2022/01/11 - Simple enumeration package wrapper. Handles custom number setting and beamer class.] diff --git a/wip/mkessler-exsheet.sty b/wip/mkessler-exsheet.sty index afdac3e..0d769b5 100644 --- a/wip/mkessler-exsheet.sty +++ b/wip/mkessler-exsheet.sty @@ -1,5 +1,5 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% Copyright © 2021 Maximilian Keßler +% Copyright © 2022 Maximilian Keßler % % Permission is hereby granted, free of charge, to any person obtaining a copy % of this software and associated documentation files (the “Software”), to deal @@ -26,8 +26,8 @@ % edit the source file and build the package again. % % Build details: -% PyTeX version: v1.0.0-18 (commit 126d420) -% Source code version: v2.2.2-3 (commit 1113e0d) +% PyTeX version: v1.2.0-16-gd1806d9 (commit d1806d9) +% Source code version: v2.5.1-1-gda44daa (commit da44daa) % % This LaTeX package is free software and distributed under the MIT License. You % may use it freely for your purposes. The latest version of the package can be @@ -39,7 +39,7 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{mkessler-exsheet}[2021/10/24 - Include exercise sheets into lecture notes easily.] +\ProvidesPackage{mkessler-exsheet}[2022/01/11 - Include exercise sheets into lecture notes easily.] diff --git a/wip/mkessler-figures.sty b/wip/mkessler-figures.sty index 5a51f41..5834bad 100644 --- a/wip/mkessler-figures.sty +++ b/wip/mkessler-figures.sty @@ -1,5 +1,5 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% Copyright © 2021 Maximilian Keßler +% Copyright © 2022 Maximilian Keßler % % Permission is hereby granted, free of charge, to any person obtaining a copy % of this software and associated documentation files (the “Software”), to deal @@ -26,8 +26,8 @@ % edit the source file and build the package again. % % Build details: -% PyTeX version: v1.0.0-18 (commit 126d420) -% Source code version: v2.2.2-3 (commit 1113e0d) +% PyTeX version: v1.2.0-16-gd1806d9 (commit d1806d9) +% Source code version: v2.5.1-1-gda44daa (commit da44daa) % % This LaTeX package is free software and distributed under the MIT License. You % may use it freely for your purposes. The latest version of the package can be @@ -39,7 +39,7 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{mkessler-figures}[2021/10/24 - Packages related to inclusion of figures.] +\ProvidesPackage{mkessler-figures}[2022/01/11 - Packages related to inclusion of figures.] diff --git a/wip/mkessler-gag.sty b/wip/mkessler-gag.sty index 48e49ba..cfb49b0 100644 --- a/wip/mkessler-gag.sty +++ b/wip/mkessler-gag.sty @@ -1,5 +1,5 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% Copyright © 2021 Maximilian Keßler +% Copyright © 2022 Maximilian Keßler % % Permission is hereby granted, free of charge, to any person obtaining a copy % of this software and associated documentation files (the “Software”), to deal @@ -26,8 +26,8 @@ % edit the source file and build the package again. % % Build details: -% PyTeX version: v1.0.0-18 (commit 126d420) -% Source code version: v2.2.2-3 (commit 1113e0d) +% PyTeX version: v1.2.0-16-gd1806d9 (commit d1806d9) +% Source code version: v2.5.1-1-gda44daa (commit da44daa) % % This LaTeX package is free software and distributed under the MIT License. You % may use it freely for your purposes. The latest version of the package can be @@ -39,7 +39,7 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{mkessler-gag}[2021/10/24 - Numbering of environments with a fractional environment number] +\ProvidesPackage{mkessler-gag}[2022/01/11 - Numbering of environments with a fractional environment number] % For the stack exchange source, see diff --git a/wip/mkessler-lang-input.sty b/wip/mkessler-lang-input.sty index d62b82f..4c80f43 100644 --- a/wip/mkessler-lang-input.sty +++ b/wip/mkessler-lang-input.sty @@ -1,5 +1,5 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% Copyright © 2021 Maximilian Keßler +% Copyright © 2022 Maximilian Keßler % % Permission is hereby granted, free of charge, to any person obtaining a copy % of this software and associated documentation files (the “Software”), to deal @@ -26,8 +26,8 @@ % edit the source file and build the package again. % % Build details: -% PyTeX version: v1.0.0-18 (commit 126d420) -% Source code version: v2.2.2-3 (commit 1113e0d) +% PyTeX version: v1.2.0-16-gd1806d9 (commit d1806d9) +% Source code version: v2.5.1-1-gda44daa (commit da44daa) % % This LaTeX package is free software and distributed under the MIT License. You % may use it freely for your purposes. The latest version of the package can be @@ -39,7 +39,7 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{mkessler-lang-input}[2021/10/24 - Packages related to language input. Still work in progress, not intended for use.] +\ProvidesPackage{mkessler-lang-input}[2022/01/11 - Packages related to language input. Still work in progress, not intended for use.] \RequirePackage[\ifutf utf8\else utf8x\fi]{inputenc} diff --git a/wip/mkessler-refproof.sty b/wip/mkessler-refproof.sty new file mode 100644 index 0000000..a99ff1d --- /dev/null +++ b/wip/mkessler-refproof.sty @@ -0,0 +1,236 @@ +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% Copyright © 2022 Maximilian Keßler +% +% Permission is hereby granted, free of charge, to any person obtaining a copy +% of this software and associated documentation files (the “Software”), to deal +% in the Software without restriction, including without limitation the rights +% to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +% copies of the Software, and to permit persons to whom the Software is +% furnished to do so, subject to the following conditions: +% The above copyright notice and this permission notice shall be included in all +% copies or substantial portions of the Software. +% +% THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +% IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +% FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +% AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +% LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +% OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +% SOFTWARE. +% +% This package has been generated by PyTeX, available at +% https://github.com/kesslermaximilian/PyTeX +% and built from source file 'refproof.pysty'. +% It is STRONGLY DISCOURAGED to edit this source file directly, since local +% changes will not be versioned by Git and overwritten by the next build. Always +% edit the source file and build the package again. +% +% Build details: +% PyTeX version: v1.2.0-16-gd1806d9 (commit d1806d9) +% Source code version: v2.5.1-1-gda44daa (commit da44daa) +% +% This LaTeX package is free software and distributed under the MIT License. You +% may use it freely for your purposes. The latest version of the package can be +% obtained via GitHub under +% https://github.com/kesslermaximilian/LatexPackages +% For further information see the url above. +% Reportings of bugs, suggestions and improvements are welcome, see the README +% at the Git repository for further information. +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{mkessler-refproof}[2022/01/11 - Automatic references to theorems in proofs. Claim counters within proofs] + + + +\RequirePackage{xkeyval} + +\newif\ifmkessler@refproof@english\mkessler@refproof@englishtrue +\DeclareOptionX{german}{\mkessler@refproof@englishfalse} +\DeclareOptionX{ngerman}{\mkessler@refproof@englishfalse} +\DeclareOptionX{english}{\mkessler@refproof@englishtrue} + +\DeclareOptionX*{\PackageWarning{mkessler-refproof}{Unknown '\CurrentOption'}} +\ProcessOptionsX*\relax + + +\RequirePackage{amssymb} +\RequirePackage{amsthm} +\RequirePackage{etoolbox} +\RequirePackage{xparse} +\RequirePackage{refcount} +\RequirePackage{translator} +\RequirePackage{fifo-stack} + +\usedictionary{translator-proof-dictionary} + +%%Give claim an own counter and let it reset at each proof +%See also at: +%https://tex.stackexchange.com/questions/283502/reset-counter-at-beginning-of-proof +\newtheorem{claim}{\translate{Claim}} +\newtheorem*{claim*}{\translate{Claim}} +\AtBeginDocument{\def\claimautorefname{\translate{Claim}}} + +\AtBeginDocument{ + \@ifpackageloaded{hyperref}{ + \let\mkessler@refproof@autoref\autoref + }{ + \let\mkessler@refproof@autoref\ref + } +} + +\newcounter{mkessler@refproof@proofdepth} +\setcounter{mkessler@refproof@proofdepth}{0} + +\let\mkessler@refproof@saved@proof\proof +\let\mkessler@refproof@saved@endproof\endproof + +\FSCreate{mkessler@refproof@save@claim}{-1} + +%%subproof environment - essentially copied proof environment from amsthm and modified its name + symbol +\DeclareRobustCommand{\blackqed}{% + \ifmmode \mathqed + \else + \leavevmode\unskip\penalty9999 \hbox{}\nobreak\hfill + \quad\hbox{$\blacksquare$}% + \fi +} + +\newenvironment{mkessler@refproof@saved@subproof}[1][\translate{Subproof}]{\par + \pushQED{\blackqed}% + \normalfont \topsep6\p@\@plus6\p@\relax + \trivlist + \item[\hskip\labelsep + \itshape + #1\@addpunct{.}]\ignorespaces +}{% + \popQED\endtrivlist\@endpefalse +} + +%%%Now, we internally got a proof and a subproof environment +%%%Make them available as 'old' variants, with their defautl behaviour +\NewDocumentEnvironment{oldproof}{} +{ + \mkessler@refproof@saved@proof +} +{ + \mkessler@refproof@saved@endproof +} +\NewDocumentEnvironment{oldsubproof}{} +{ + \mkessler@refproof@saved@subproof +} + \endmkessler@refproof@saved@subproof +{ + +\NewDocumentEnvironment{refproof}{s m !o} +{ + \stepcounter{mkessler@refproof@proofdepth} + %Save the current claim counter + \protected@edef\mkessler@refproof@dummy@expand{\arabic{claim}} + \FSPush{mkessler@refproof@save@claim}{\mkessler@refproof@dummy@expand} + % Restore correct counter for claims in this refproof + \ifcsdef{themkessler@refproof@#2@save@claim}{ + \setcounter{claim}{\value{mkessler@refproof@#2@save@claim}} + \def\mkessler@refproof@proofprefix{ + \IfBooleanTF{#1}{% + \translate{Continuation of proof* of}% + }{% + \translate{Continuation of proof of}% + } + } + }{ + \newcounter{mkessler@refproof@#2@save@claim} + \setcounter{claim}{0} + \def\mkessler@refproof@proofprefix{% + \IfBooleanTF{#1}{% + \translate{Proof* of}% + }{% + \translate{Proof of}% + } + } + } + % Set up counter number printing as subindexed by numbering of the reference + \let\mkessler@refproof@saved@theclaim\theclaim + \def\theclaim{\getrefnumber{#2}.\arabic{claim}} + % Now, start the actual proof + \mkessler@refproof@saved@proof[% + \mkessler@refproof@proofprefix\space\mkessler@refproof@autoref{#2}% + \IfValueT{#3}{\space(#3)}% + ] +} +{ + \mkessler@refproof@saved@endproof % End proof + % Save current claim counter for later restoration + \setcounter{mkessler@refproof@#2@save@claim}{\value{claim}} + %Restore previous claim counter + \setcounter{claim}{\FSTop{mkessler@refproof@save@claim}} + \FSPop{mkessler@refproof@save@claim} + \addtocounter{mkessler@refproof@proofdepth}{-1} + \let\theclaim\mkessler@refproof@saved@theclaim +} + +%%% A 'smart' proof environment +\AtBeginDocument{ + \RenewDocumentEnvironment{proof}{!s !o} + { + \stepcounter{mkessler@refproof@proofdepth} + %Save the current claim counter + \protected@edef\mkessler@refproof@dummy@expand{\arabic{claim}} + \FSPush{mkessler@refproof@save@claim}{\mkessler@refproof@dummy@expand} + \setcounter{claim}{0} + \def\theclaim{\arabic{claim}} + \ifnum\value{mkessler@refproof@proofdepth}>1% + \mkessler@refproof@saved@subproof[% + \IfBooleanTF{#1}{% + \translate{Subproof*}% + }{% + \translate{Subproof}% + }% + \IfValueT{#2}{\space(#2)}% + ] + \else% + \mkessler@refproof@saved@proof[% + \IfBooleanTF{#1}{% + \translate{Proof*}% + }{% + \translate{Proof}% + }% + \IfValueT{#2}{\space(#2)}% + ] + \fi + } + { + \mkessler@refproof@saved@endproof + %Restore previous claim counter + \setcounter{claim}{\FSTop{mkessler@refproof@save@claim}} + \FSPop{mkessler@refproof@save@claim} + } +} + +\NewDocumentEnvironment{subproof}{!s !o} +{ + \stepcounter{mkessler@refproof@proofdepth} + %Save the current claim counter + \protected@edef\mkessler@refproof@dummy@expand{\arabic{claim}} + \FSPush{mkessler@refproof@save@claim}{\mkessler@refproof@dummy@expand} + \setcounter{claim}{0} + \def\theclaim{\arabic{claim}} + \mkessler@refproof@saved@subproof[% + \IfBooleanTF{#1}{% + \translate{Subproof*}% + }{% + \translate{Subproof}% + }% + \IfValueT{#2}{\space(#2)}% + ] +} +{ + \mkessler@refproof@saved@endproof + %Restore previous claim counter + \setcounter{claim}{\FSTop{mkessler@refproof@save@claim}} + \FSPop{mkessler@refproof@save@claim} + \addtocounter{mkessler@refproof@proofdepth}{-1} +} + +\newcommand\proofdepth{\arabic{mkessler@refproof@proofdepth}} diff --git a/wip/mkessler-removed.sty b/wip/mkessler-removed.sty index 7698128..ad59043 100644 --- a/wip/mkessler-removed.sty +++ b/wip/mkessler-removed.sty @@ -1,5 +1,5 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% Copyright © 2021 Maximilian Keßler +% Copyright © 2022 Maximilian Keßler % % Permission is hereby granted, free of charge, to any person obtaining a copy % of this software and associated documentation files (the “Software”), to deal @@ -26,8 +26,8 @@ % edit the source file and build the package again. % % Build details: -% PyTeX version: v1.0.0-18 (commit 126d420) -% Source code version: v2.4.0-beta-4 (commit 4aa3ce8) +% PyTeX version: v1.2.0-16-gd1806d9 (commit d1806d9) +% Source code version: v2.5.1-1-gda44daa (commit da44daa) % % This LaTeX package is free software and distributed under the MIT License. You % may use it freely for your purposes. The latest version of the package can be @@ -39,7 +39,7 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{mkessler-removed}[2021/12/12 - (For now) removed parts of other packages. Not intended for use right now.] +\ProvidesPackage{mkessler-removed}[2022/01/11 - (For now) removed parts of other packages. Not intended for use right now.] % Quotations \RequirePackage{csquotes} % quotations diff --git a/wip/mkessler-restate.sty b/wip/mkessler-restate.sty index 6316ca1..dfa27ca 100644 --- a/wip/mkessler-restate.sty +++ b/wip/mkessler-restate.sty @@ -1,5 +1,5 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% Copyright © 2021 Maximilian Keßler +% Copyright © 2022 Maximilian Keßler % % Permission is hereby granted, free of charge, to any person obtaining a copy % of this software and associated documentation files (the “Software”), to deal @@ -26,8 +26,8 @@ % edit the source file and build the package again. % % Build details: -% PyTeX version: v1.0.0-18 (commit 126d420) -% Source code version: v2.2.2-3 (commit 1113e0d) +% PyTeX version: v1.2.0-16-gd1806d9 (commit d1806d9) +% Source code version: v2.5.1-1-gda44daa (commit da44daa) % % This LaTeX package is free software and distributed under the MIT License. You % may use it freely for your purposes. The latest version of the package can be @@ -39,7 +39,7 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{mkessler-restate}[2021/10/24 - Replacement package] +\ProvidesPackage{mkessler-restate}[2022/01/11 - Replacement package] \RequirePackage{xkeyval} diff --git a/wip/translator-proof-dictionary-English.dict b/wip/translator-proof-dictionary-English.dict new file mode 100644 index 0000000..e317cb3 --- /dev/null +++ b/wip/translator-proof-dictionary-English.dict @@ -0,0 +1,66 @@ +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% Copyright © 2022 Maximilian Keßler +% +% Permission is hereby granted, free of charge, to any person obtaining a copy +% of this software and associated documentation files (the “Software”), to deal +% in the Software without restriction, including without limitation the rights +% to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +% copies of the Software, and to permit persons to whom the Software is +% furnished to do so, subject to the following conditions: +% The above copyright notice and this permission notice shall be included in all +% copies or substantial portions of the Software. +% +% THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +% IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +% FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +% AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +% LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +% OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +% SOFTWARE. +% +% This dictionary has been generated by PyTeX, available at +% https://github.com/kesslermaximilian/PyTeX +% and built from source file 'proof.pydict'. +% It is STRONGLY DISCOURAGED to edit this source file directly, since local +% changes will not be versioned by Git and overwritten by the next build. Always +% edit the source file and build the dictionary again. +% +% Build details: +% PyTeX version: v1.2.0-16-gd1806d9 (commit d1806d9) +% Source code version: v2.5.1-1-gda44daa (commit da44daa) +% +% This LaTeX dictionary is free software and distributed under the MIT License. You +% may use it freely for your purposes. The latest version of the dictionary can be +% obtained via GitHub under +% https://github.com/kesslermaximilian/LatexPackages +% For further information see the url above. +% Reportings of bugs, suggestions and improvements are welcome, see the README +% at the Git repository for further information. +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\ProvidesDictionary{translator-proof-dictionary}{English} + +\providetranslation{Claim}{Claim} +\providetranslation{claim}{claim} +\providetranslation{Claim*}{Claim*} +\providetranslation{claim*}{claim*} +\providetranslation{Proof}{Proof} +\providetranslation{proof}{proof} +\providetranslation{Proof*}{Proof*} +\providetranslation{proof*}{proof*} +\providetranslation{Proof of}{Proof of} +\providetranslation{proof of}{proof of} +\providetranslation{Proof* of}{Proof* of} +\providetranslation{proof* of}{proof* of} +\providetranslation{Continuation of proof}{Continuation of proof} +\providetranslation{continuation of proof}{continuation of proof} +\providetranslation{Continuation of proof of}{Continuation of proof of} +\providetranslation{continuation of proof of}{continuation of proof of} +\providetranslation{Continuation of proof*}{Continuation of proof*} +\providetranslation{continuation of proof*}{continuation of proof*} +\providetranslation{Continuation of proof* of}{Continuation of proof* of} +\providetranslation{continuation of proof* of}{continuation of proof* of} +\providetranslation{Subproof}{Subproof} +\providetranslation{subproof}{subproof} +\providetranslation{Subproof*}{Subproof*} +\providetranslation{subproof*}{subproof*} diff --git a/wip/translator-proof-dictionary-German.dict b/wip/translator-proof-dictionary-German.dict new file mode 100644 index 0000000..618c7d5 --- /dev/null +++ b/wip/translator-proof-dictionary-German.dict @@ -0,0 +1,66 @@ +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% Copyright © 2022 Maximilian Keßler +% +% Permission is hereby granted, free of charge, to any person obtaining a copy +% of this software and associated documentation files (the “Software”), to deal +% in the Software without restriction, including without limitation the rights +% to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +% copies of the Software, and to permit persons to whom the Software is +% furnished to do so, subject to the following conditions: +% The above copyright notice and this permission notice shall be included in all +% copies or substantial portions of the Software. +% +% THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +% IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +% FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +% AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +% LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +% OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +% SOFTWARE. +% +% This dictionary has been generated by PyTeX, available at +% https://github.com/kesslermaximilian/PyTeX +% and built from source file 'proof.pydict'. +% It is STRONGLY DISCOURAGED to edit this source file directly, since local +% changes will not be versioned by Git and overwritten by the next build. Always +% edit the source file and build the dictionary again. +% +% Build details: +% PyTeX version: v1.2.0-16-gd1806d9 (commit d1806d9) +% Source code version: v2.5.1-1-gda44daa (commit da44daa) +% +% This LaTeX dictionary is free software and distributed under the MIT License. You +% may use it freely for your purposes. The latest version of the dictionary can be +% obtained via GitHub under +% https://github.com/kesslermaximilian/LatexPackages +% For further information see the url above. +% Reportings of bugs, suggestions and improvements are welcome, see the README +% at the Git repository for further information. +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\ProvidesDictionary{translator-proof-dictionary}{German} + +\providetranslation{Claim}{Behauptung} +\providetranslation{claim}{Behauptung} +\providetranslation{Claim*}{Behauptung*} +\providetranslation{claim*}{Behauptung*} +\providetranslation{Proof}{Beweis} +\providetranslation{proof}{Beweis} +\providetranslation{Proof*}{Beweis*} +\providetranslation{proof*}{Beweis*} +\providetranslation{Proof of}{Beweis von} +\providetranslation{proof of}{Beweis von} +\providetranslation{Proof* of}{Beweis* von} +\providetranslation{proof* of}{Beweis* von} +\providetranslation{Continuation of proof}{Fortsetzung des Beweises} +\providetranslation{continuation of proof}{Fortsetzung des Beweises} +\providetranslation{Continuation of proof of}{Fortsetzung des Beweises zu} +\providetranslation{continuation of proof of}{Fortsetzung des Beweises zu} +\providetranslation{Continuation of proof*}{Fortsetzung des Beweises*} +\providetranslation{continuation of proof*}{Fortsetzung des Beweises*} +\providetranslation{Continuation of proof* of}{Fortsetzung des Beweises* zu} +\providetranslation{continuation of proof* of}{Fortsetzung des Beweises* zu} +\providetranslation{Subproof}{Unterbeweis} +\providetranslation{subproof}{Unterbeweis} +\providetranslation{Subproof*}{Unterbeweis*} +\providetranslation{subproof*}{Unterbeweis*}