{"id":16406133,"url":"https://github.com/alerque/polytype","last_synced_at":"2025-03-16T16:32:02.103Z","repository":{"id":177606542,"uuid":"660607476","full_name":"alerque/polytype","owner":"alerque","description":"A Rosetta stone for modern typesetting engines.","archived":false,"fork":false,"pushed_at":"2025-03-01T22:25:00.000Z","size":1112,"stargazers_count":39,"open_issues_count":8,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-16T04:03:51.678Z","etag":null,"topics":["latex","sile","typesetter","typesetting","typesetting-algorithms","typesetting-system","typst"],"latest_commit_sha":null,"homepage":"https://polytype.dev/","language":"Typst","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alerque.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-06-30T11:50:45.000Z","updated_at":"2025-03-03T21:59:53.000Z","dependencies_parsed_at":"2025-02-06T14:41:39.178Z","dependency_job_id":null,"html_url":"https://github.com/alerque/polytype","commit_stats":null,"previous_names":["alerque/polytype"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alerque%2Fpolytype","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alerque%2Fpolytype/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alerque%2Fpolytype/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alerque%2Fpolytype/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alerque","download_url":"https://codeload.github.com/alerque/polytype/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243896503,"owners_count":20365387,"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","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","sile","typesetter","typesetting","typesetting-algorithms","typesetting-system","typst"],"created_at":"2024-10-11T06:08:45.683Z","updated_at":"2025-03-16T16:32:01.788Z","avatar_url":"https://github.com/alerque.png","language":"Typst","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [Polytype](https://alerque.github.io/polytype)\n\nA Rosetta stone for typesetting engines.\n\n\nThis project's goal is to provide a chrestomathy for typesetting similar to what [Rosetta Code][rosettacode] does for programming languages.\nThe samples here are designed to compare and/or contrast the approaches taken to various typesetting situations by different typesetting engines.\n \nThe emphasis is less on document markup languages, programming languages, or actual content and more on the way layout and orthographic features are achieved.\nSometimes similar input will produce very different outputs.\nSometimes similar output is achieved with very different inputs.\nSome engines are more suited to tackling specific problems that others.\n\n## Contributions\n\nNew samples are always welcome, including for any single engine.\nAdding support for current samples in additional engines is also welcome.\nImprovements to the current samples may be considered if they are more idiomatic or useful as examples.\nAlternative samples from the current engines may also be considered if they demonstrate some contrast or similarity with a different engine.\n\nContributions may be submitted as as pull requests to the [GitHub project][gh].\n\n## Local development\n\nAll input samples are rendered remotely in CI and used to create the static site.\nContributions may be made just by editing or adding input samples.\n\nIf you do want to test render them locally you can build the site just like it is done in CI.\n\nThe only thing required to build the samples in this repository locally is a working `nix` installation (not the OS, just the package manager).\nOnce you have a working `nix` executable, building the examples can be done with:\n\n```console\n$ nix-shell --pure --run 'make all'\n```\n\nTo generate the static version of the website and serve it locally for testing, try:\n\n```console\n$ nix-shell --pure --run 'make serve'\n```\n\nThis will print out a localhost address for you to browse to and stay running serving the current version of the site.\nSome resources will automatically update and refresh while the sever is running.\nFor the rendered examples running `make all` in another terminal should update the images and the site will refresh.\n\n  [gh]: https://github.com/alerque/polytype\n  [rosettacode]: https://rosettacode.org/wiki/Rosetta_Code\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falerque%2Fpolytype","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falerque%2Fpolytype","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falerque%2Fpolytype/lists"}