{"id":14980771,"url":"https://github.com/transpect/cocotex","last_synced_at":"2025-07-24T09:32:56.705Z","repository":{"id":93859608,"uuid":"491478637","full_name":"transpect/CoCoTeX","owner":"transpect","description":"luaLaTeX render backend for xerif","archived":false,"fork":false,"pushed_at":"2025-07-15T10:11:43.000Z","size":28634,"stargazers_count":7,"open_issues_count":4,"forks_count":1,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-07-15T19:33:40.303Z","etag":null,"topics":["latex-package","typesetting"],"latest_commit_sha":null,"homepage":"https://www.le-tex.de/en/xerif.html","language":"TeX","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/transpect.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null}},"created_at":"2022-05-12T11:07:28.000Z","updated_at":"2025-04-28T14:47:31.000Z","dependencies_parsed_at":"2024-03-23T21:24:41.098Z","dependency_job_id":"8fa401f8-706a-49e7-b4c2-2e52c93095c1","html_url":"https://github.com/transpect/CoCoTeX","commit_stats":null,"previous_names":["transpect/cocotex"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/transpect/CoCoTeX","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/transpect%2FCoCoTeX","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/transpect%2FCoCoTeX/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/transpect%2FCoCoTeX/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/transpect%2FCoCoTeX/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/transpect","download_url":"https://codeload.github.com/transpect/CoCoTeX/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/transpect%2FCoCoTeX/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266821863,"owners_count":23989820,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-24T02:00:09.469Z","response_time":99,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["latex-package","typesetting"],"created_at":"2024-09-24T14:02:23.127Z","updated_at":"2025-07-24T09:32:55.857Z","avatar_url":"https://github.com/transpect.png","language":"TeX","funding_links":[],"categories":[],"sub_categories":[],"readme":"![GitHub Release](https://img.shields.io/github/v/release/transpect/CoCoTeX?include_prereleases) ![GitHub (Pre-)Release Date](https://img.shields.io/github/release-date-pre/transpect/CoCoTeX) ![GitHub Downloads (all assets, all releases)](https://img.shields.io/github/downloads/transpect/cocotex/total)\n\n\u003e [!WARNING]  \n\u003e The end-user documentation (`doc/manual.pdf`) is incomplete and to\n\u003e be considered a Work in Progress!\n\u003e\n\u003e If you feel valiant, read the source code documentation, instead\n\u003e (`doc/cocotex.pdf`). We try to keep this one as up-to-date as\n\u003e possible.\n\u003e\n\u003e In the `doc` folder, you also find a\n\u003e [Dante2024.pdf](https://github.com/transpect/CoCoTeX/blob/main/doc/Dante2024.pdf),\n\u003e which is the slides to a talk the main developer gave at the 2024\n\u003e Dante Frühjahrestagung in Weimar in April 2024 (German only).\n\u003e\n\u003e Please note that the main development currently happens in the ally branch. If you need up-to-date source code (that might lack up-to-date documentation though), please look there.\n\n# CoCoTeX Kernel #\n\nThis repository contains the source files (including code\ndocumentation) and the user manual for the CoCoTeX framework.\n\n## What is CoCoTeX? ##\n\nCoCoTeX is a programming framework for (Lua)LaTeX While it is intended\nto be used with and has been developed parallel to le-tex's\n[xerif](https://github.com/transpect/xerif), it can be used\nstand-alone as a LaTeX package.\n\nCoCoTeX is developed to \"simplify\" common requirements by various\npublishers like complex headings, floats with more than one caption,\nforeign language support, titlepages, etc. It adopts some principles\nfrom object-oriented programming like inheritance, mixins, and\noverloading of functionalities.\n\n## Installation ##\n\n## Installation of Release Versions ##\n\nSimply copy the `cocotex.dtx` and `cocotex.ins` from the\n`releases/current` folder to your local project directory and run\n\n\tlatex cocotex.ins\n\nthis will unpack the necessary files.\n\n### Co-Dependencies ###\n\nYou need the following **additional** items to run certain CoCoTeX modules:\n* `coco-scripts.sty` requires\n  [xerif-fonts](https://subversion.le-tex.de/common/xerif-fonts/). Copy\n  or sym-link the whole folder as `fonts` inside your project\n  directory\n* `coco-accessibility.sty` requires the lua files from the `ltpdfa`\n  package (pre-alpha version inside the `externals/ltpdfa/`\n  folder). Copy or sym-link the contents of the folder to your project\n  directory, which should now contain both a `suppl` and `ltpdfa`\n  folder and a `env.sh` file.  Source the `env.sh` to tell LuaLaTeX\n  where the `.lua` files are located.\n* **Recommended:** Copy or symlink the `htmltabs.sty` (working\n  pre-alpha version inside the `externals/htmltabs` folder) to your\n  project directory, if you want to use tables with a html-like\n  syntax.\n\nIf you use all externals, your project directory should look something\nlike this:\n\n```\n\u003cyour_project_dir\u003e\n  ├─ \u003cyour_main\u003e.tex\n  ├─ cocotex.cls\n  ├─ coco-kernel.sty\n  ├─ coco-common.sty\n  ├─ ... (further CoCoTeX modules)\n  ├─ env.sh\n  ├─ htmltabs.sty\n  ├─ fonts\n      ├─ Noto\n      └─ Junicode\n  ├─ ltpdfa\n      ├─ ltpdfa.sty\n      ├─ ltpdfa.lua\n      └─ ...\n  └─ suppl\n      ├─ cmyk.icc\n      └─ ...\n```\n\n## Installation from Sources ##\n\nIf you want to use the included `build.sh` bash script (recommended),\nyou need Ruby, at least version 3.1!\n\nClone the git Repository:\n\n\tgit clone https://github.com/transpect/CoCoTeX.git\n\ncopy the `source.sh.example` as `source.sh` and adjust the environment\nvariables to your liking. Then, run\n\n\t./build.sh\n\nThis script creates a temporary folder `temp`, merges the `.dtx` files\nin the `src` directory into a single `temp/cocotex.dtx`, and runs the\ninstallation script. The resulting .sty, .cls, and lua files are\nstored inside the `build` folder.\n\nRun\n\n\t./build.sh doc\n\nto create the User Manual and the source code documentation, or\n\n\t./build.sh doc man\n\t./build.sh doc source\n\nto create either separately.\n\n\n## Usage ##\n\nOnce the cls, sty and lua files have been unpacked and stored in a\nlocation usable by LaTeX, the framework's modules can be used with\n\n\t\\usepackage{coco-\u003cmodule\u003e}\n\nIf you want to utilize all (non-experimental) modules, you can use the included document class:\n\n\t\\documentclass[pubtype=\u003cpublication_type\u003e]{cocotex}\n\nto set the underlying document class. Valid values `\u003cpublication_type\u003e` for are:\n* `article` for single articles (this uses LaTeX's standard `article` class).\n* `mono` for books where all parts are written by the same author(s),\n* `collection`, for books where parts are written by different authors, or\n* `journal`, for a collection of articles.\n\nThe latter three types use LaTeX's standard `book` document class.\n\nFor further information, read the [End-User\nmanual](https://github.com/transpect/CoCoTeX/blob/main/doc/manual.pdf)\nor look into the manual's source files (inside the\n[lib/manual/](https://github.com/transpect/CoCoTeX/tree/main/lib/manual)\nfolder) and its main style file\n([cocotex-doc.sty](https://github.com/transpect/CoCoTeX/blob/main/lib/manual/cocotex-doc.sty)).\n\n# LICENSE #\n\nBSD 2-Clause License\n\nCopyright (c) 2022–2024, le-tex.de\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are met:\n\n1. Redistributions of source code must retain the above copyright notice, this\n   list of conditions and the following disclaimer.\n\n2. Redistributions in binary form must reproduce the above copyright notice,\n   this list of conditions and the following disclaimer in the documentation\n   and/or other materials provided with the distribution.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\nAND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\nDISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\nFOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\nDAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\nSERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\nCAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\nOR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\nOF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftranspect%2Fcocotex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftranspect%2Fcocotex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftranspect%2Fcocotex/lists"}