cacography is three things under three licences.

1. The LaTeX package (latex/cacography.sty, latex/cacography.lua) is under the LaTeX
   Project Public License, version 1.3c or later (latex/LICENSE).

2. Everything else in this repository (the renderer in python/, the training code in
   training/, the tools and examples) is under the MIT License below.

3. The trained handwriting models and the symbol bank are NOT in this repository and NOT
   under either licence. They are a separate download (cacography-models.zip) and may be
   used for non-commercial research only, because they are trained on datasets that allow
   only that: BRUSH (Brown University), IAM-OnDB (University of Bern) and MathWriting
   (Google, CC BY-NC-SA 4.0). See MODELS-LICENSE in that download.

Textures and room lights fetched at run time come from Poly Haven and ambientCG under CC0.
They are cached on your computer and not redistributed.

-------------------------------------------------------------------------------

MIT License

Copyright (c) 2026 the cacography authors

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.
