{"id":19144340,"url":"https://github.com/komascript/latex-contract","last_synced_at":"2026-03-05T18:04:20.847Z","repository":{"id":199435687,"uuid":"702868321","full_name":"komascript/latex-contract","owner":"komascript","description":"NOTE: This project has been migrated to Codeberg, but for some time the repository is still mirrored.","archived":false,"fork":false,"pushed_at":"2025-11-12T09:39:17.000Z","size":1229,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-12T10:21:03.097Z","etag":null,"topics":["contracts","latex"],"latest_commit_sha":null,"homepage":"https://codeberg.org/komascript/latex-contract","language":"TeX","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/komascript.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-10-10T07:01:39.000Z","updated_at":"2025-11-12T09:39:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"b332b6f2-bf57-4534-922e-b15239cce060","html_url":"https://github.com/komascript/latex-contract","commit_stats":null,"previous_names":["komascript/latex-contract"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/komascript/latex-contract","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/komascript%2Flatex-contract","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/komascript%2Flatex-contract/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/komascript%2Flatex-contract/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/komascript%2Flatex-contract/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/komascript","download_url":"https://codeload.github.com/komascript/latex-contract/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/komascript%2Flatex-contract/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30141313,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-05T16:58:46.102Z","status":"ssl_error","status_checked_at":"2026-03-05T16:58:45.706Z","response_time":93,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["contracts","latex"],"created_at":"2024-11-09T07:34:35.460Z","updated_at":"2026-03-05T18:04:20.839Z","avatar_url":"https://github.com/komascript.png","language":"TeX","funding_links":[],"categories":[],"sub_categories":[],"readme":"# The LaTeX package `contract`\n\nCopyright © 2007–2025 Markus Kohm\n\nRelease: 2025-11-12 v0.92\n\nLicense: LPPL 1.3c\n\nKOMA presents the KOMA-Script spin-off `contract`. Package `contract` provides\nenvironments for legal contracts, sections, paragraphs and similar. It is the\nofficial successor to the former KOMA-Script package `scrjura`.\n\n------------------------------------------------------------------------------\n\nThe project is currently hosted and managed on\n[Codeberg](https://codeberg.org/komascript/latex-contract). For safety\nreasons, the repository will continue to be mirrored on\n[GitHub](https://github.com/komascript/latex-contract) for some time. However,\nerror reports and push requests will only be acknowledged on\n[Codeberg](https://codeberg.org/komascript/latex-contract).\n\n------------------------------------------------------------------------------\n\nThis work may be distributed and/or modified under the conditions of\nthe LaTeX Project Public License, version 1.3c of the license.\nThe latest version of this license is in\n    http://www.latex-project.org/lppl.txt\nand version 1.3c or later is part of all distributions of LaTeX\nversion 2005/12/01 or later.\n\nThe Current Maintainer and author of this work is Markus Kohm.\n\nThis work consists of the files listed in MANIFEST.md.\n\n------------------------------------------------------------------------------\n\n# Abstract\n\nFor several years\n[KOMA-Script](https://www.sourceforge.net/project/koma-script) provides\npackage `scrjura`. The package was developed at the request of and in\nco-operation with a German lawyer. In 2024, the package was separated from\nKOMA-Script and has since been called `contract`. The new name was chosen to\navoid confusion with KOMA-Script packages. Secondly, it better reflects the\npurpose of the package.\n\n# Contributors/Collaborators\n\n - *Markus Kohm aka KOMA aka [komascript](https://codeberg.org/komascript)*:  \n Maintainer, Developer, “go-to guy”\n \n - *[Keks-Dose](https://github.com/Keks-Dose)*:  \n Tester, “idea man”\n\n\n# Installation for Users\n\nIf you are a user, you should usually wait until the package has been added to\nyour preferred TeX distribution. Then you can use the package manager of your\nTeX distribution to install the package.\n\n# Unpacking for Distributors\n\nDistributors should [download the current\nrelease](https://codeberg.org/komascript/latex-contract/releases). See\n[`MANIFEST.md`](https://codeberg.org/komascript/latex-contract/src/branch/main/MANIFEST.md)\nfor information about the files, that build the distribution.\n\nIf distributors also want to distribute `contract.sty`, they can\nunpack it using:\n\n    tex contract.dtx\n\t\nor temporary install `contract` into a TEXMF tree using:\n\n    l3build install --full --texmfhome \u003cTDS root directory\u003e\n\t\nand then use the files from the selected `\u003cTDS root directory\u003e`.\n\n# Unpacking and Installation for Developers\n\nDevelopers who want the current developer version of the code to be installed\nfor testing, should clone [the `latex-contract`\nrepository](https://codeberg.org/komascript/latex-contract.git), e.g.,\nusing\n\n\tgit clone https://codeberg.org/komascript/latex-contract.git\n\nYou can than unpack and install `contract` using:\n\n\tl3build install\n\t\nfrom within the main directory of the cloned respository.\n\n**Important Note:** The user manual of `contract` uses some packages, which\nare still under development and therefore currently may not be available on\nCTAN. So you usually cannot use `l3build doc` to generate the documentation or\n`l3build install --full` to install `contract` with the documentation. Instead\nyou either have to read `contract.dtx` or use the `contract.pdf` available at\nthe newest [`contract`\nrelease](https://codeberg.org/komascript/latex-contract/releases) or [the\n`release`\nbranch](https://codeberg.org/komascript/latex-contract/src/branch/release). You\ncan copy such PDFs to the `doc/latex/contract/` folder of any TEXMF tree.\n\n# How to get the Manual\n\nAfter installation of `contract` and the user manual you can use:\n\n    texdoc contract\n\t\nWithout installation you can get `contract.pdf` as part of the corresponding\n[`contract`\nrelease](https://codeberg.org/komascript/latex-contract/releases) or [the\n`release`\nbranch](https://codeberg.org/komascript/latex-contract/src/branch/release).\n\n# How to Contribute\n\nTo become a contributor, e.g., do heavy testing. If you find an issue, please\n[report it](#how-to-report-issues). You can also become a developer and, e.g.,\nmake new test files to the package. See the\n[`l3build`](https://ctan.org/pkg/l3build) manual for more information about\ntests. If you've created a new test and think that it would be useful, please\neither do a [pull\nrequest](https://codeberg.org/komascript/latex-contract/pulls) or [add a new\nissue](#how-to-report-issues) and include your test file.\n\n# How to Report Issues\n\nIf you think you have found a bug (or another kind of issue) using\n`contract` you should use [the issue\ntracker](https://codeberg.org/komascript/latex-contract/issues). Please\nfirst search for similar issues already reported and maybe also already fixed\nand closed. Maybe the replies to such a similar report would help you too.\n\nIf your issue is new, you should report it also using [the issue\ntracker](https://codeberg.org/komascript/latex-contract/issues). Please be kind,\nnot only when writing the report but also when reading replies and commenting\nor answering. And please always add a minimal working example and usually the\nrelevant parts of the `log`-file to your report. Please use the [markdown for\ncode](https://docs.codeberg.org/markdown/preformatted-text/)\nto add such files into the text of your report. The correct language\nidentifier for LaTeX code would be `latex`. For `log`-files you won't need any\nlanguage identifier. Usually you should not use attachments for code or\n`log`-files unless you've been asked to do so. And please note, reports should\nalways be self-containing. External links often break and so the report become\nuseles.\n\n# How to Say Thank You for my Work\n\nHey, I'm doing this as a hobby. So no need to say thank you. But I'm a vain\nfop, so I'm certainly up for a quick thank you by email. On komascript.de you\ncan find an [explanation of my wishes](https://komascript.de/wunschliste) if\nyou want to give more. If you don't understand German, just click to links at\nthat page.\n\n# Milestones\n\nThe development has just begun. Currently the first\nmilestone:\n\n - [x] creating a new repository\n - [x] copying `scrjura.dtx` from KOMA-Script as `contract.dtx` to the new\n       repository\n - [x] creating a new build environment:\n   - [x] `README.md`\n   - [x] `LICENSE.md`\n   - [x] `MANIFEST.md`\n   - [x] `build.lua`\n   - [x] test files\n - [x] renaming several internals of `contract`\n - [x] adding user documentation based on the `scrjura` chapters of the English\n       KOMA-Script manual\n - [x] improving user documentation\n\nhas been reached.\n\nFurther milestones could be:\n\n - [x] replacing `scrjura` by a `contract` wrapper in KOMA-Script for\n       compatibility only\n - [ ] reimplementing several internals of `contract`:\n   - [ ] replacing KOMA-Script options by LaTeX key-value options\n   - [ ] replacing \\newkomafont, \\setkomafont by something not KOMA-Script\n         related or alterntively replacing the the internally used `scrkbase`\n         by `scrextend`,\n   - [ ] using `expl3`, \n   - [ ] using the new paragraph hooks of LaTeX,\n   - [ ] using the extended referencing mechanism of LaTeX.\n\n# From `scrjura` to `contract`\n\nIf you have been using the `scrjura` package and are now switching to the\n`contract` package, you should read chapter “From `scrjura` to `contract`” in\nthe `contract` user manual. The most important and incompatible change IMHO\nis, that the argument of `\\Clause` and `\\SubClause` isn't mandaroty any longer\nbut optional. So the syntax has changed to `\\Clause[\u003coptions\u003e]`\nresp. `\\SubClause[\u003coptions\u003e]`.\n\n**Note:** For a transitional period, KOMA-Script will continue to contain a\npackage `scrjura`, which is a wrapper to `contract` and attempts to increase\ncompatibility. With this package, the argument of `\\Clause` and `\\SubClause`\nwill remain mandatory for the time being. However, this package is expected to\ndisappear from KOMA-Script after a reasonable period of smooth transition.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkomascript%2Flatex-contract","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkomascript%2Flatex-contract","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkomascript%2Flatex-contract/lists"}