{"id":15701055,"url":"https://github.com/nwtgck/math2img","last_synced_at":"2025-07-14T04:15:47.499Z","repository":{"id":87735781,"uuid":"110453300","full_name":"nwtgck/math2img","owner":"nwtgck","description":"Convert LaTeX Math to image","archived":false,"fork":false,"pushed_at":"2018-10-28T23:45:30.000Z","size":59,"stargazers_count":6,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"develop","last_synced_at":"2025-03-31T23:41:22.812Z","etag":null,"topics":["cli","crystal","docker"],"latest_commit_sha":null,"homepage":null,"language":"Crystal","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/nwtgck.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":"2017-11-12T17:27:39.000Z","updated_at":"2021-07-26T15:15:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"1a7a5220-b4de-44f4-86ef-d75cf0d29f70","html_url":"https://github.com/nwtgck/math2img","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nwtgck%2Fmath2img","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nwtgck%2Fmath2img/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nwtgck%2Fmath2img/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nwtgck%2Fmath2img/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nwtgck","download_url":"https://codeload.github.com/nwtgck/math2img/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253764814,"owners_count":21960636,"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":["cli","crystal","docker"],"created_at":"2024-10-03T19:58:59.129Z","updated_at":"2025-05-12T15:26:36.134Z","avatar_url":"https://github.com/nwtgck.png","language":"Crystal","funding_links":[],"categories":[],"sub_categories":[],"readme":"# math2img - Convert LaTeX Math to image [![Build Status](https://travis-ci.org/nwtgck/math2img.svg?branch=master)](https://travis-ci.org/nwtgck/math2img)\n\n## Requirements\n\n* [Docker](https://www.docker.com/)\n\n## Installation\n\n```bash\nbrew install nwtgck/homebrew-math2img/math2img\n```\n\n\n## Usage\n\n\n```bash\nmath2img -e png sample1.math.tex\n```\nThen you can get `sample1.math.tex.png`\n\n### `sample1.math.tex`\n\n```tex\n\\[\n    e^{i\\pi}+1=0\n\\]\n```\n=\u003e\n\n\u003cimg src=\"demos/demo1.svg\" width=\"200\"\u003e\n\n## Build Requirements\n\n* [Crystal (Shards)](https://crystal-lang.org/)\n\n\n## Build \u0026 Run\n\n```bash\ngit clone \u003cthis repo url\u003e\ncd \u003cthis repo\u003e\nshards build\n./bin/math2img -e png samples/sample1.math.tex\n```\n\nThen you can get `sample1.math.tex.png`\n\n(`./bin/math2img` is a generated binary file.)\n\n\n## Build a Docker image\n\n```bash\ncd \u003cthis repo\u003e\ndocker build -t nwtgck/math2img ./docker\n```\n\n## Gallery\n\n\u003cimg src=\"demos/sample2.math.tex.svg\" height=\"50\"\u003e\u003cbr\u003e\n\n\u003cimg src=\"demos/sample3.math.tex.svg\" height=\"50\"\u003e\u003cbr\u003e\n\n\u003cimg src=\"demos/sample4.math.tex.svg\" height=\"50\"\u003e\u003cbr\u003e\n\n\u003cimg src=\"demos/sample5.math.tex.svg\" height=\"50\"\u003e\u003cbr\u003e\n\n\u003cimg src=\"demos/sample6.math.tex.svg\" height=\"50\"\u003e\u003cbr\u003e\n\n\u003cimg src=\"demos/sample7.math.tex.svg\" height=\"50\"\u003e\u003cbr\u003e\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnwtgck%2Fmath2img","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnwtgck%2Fmath2img","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnwtgck%2Fmath2img/lists"}