{"id":13993879,"url":"https://github.com/svenkreiss/unicodeit","last_synced_at":"2025-04-12T21:33:52.598Z","repository":{"id":8664287,"uuid":"10319674","full_name":"svenkreiss/unicodeit","owner":"svenkreiss","description":"Converts LaTeX tags to unicode: \\mathcal{H} → ℋ. Available on the web or as Automator script for the Mac.","archived":false,"fork":false,"pushed_at":"2023-10-06T11:34:33.000Z","size":2477,"stargazers_count":258,"open_issues_count":19,"forks_count":34,"subscribers_count":8,"default_branch":"main","last_synced_at":"2024-04-14T11:04:42.556Z","etag":null,"topics":["converts-latex-tags","unicode"],"latest_commit_sha":null,"homepage":"https://www.unicodeit.net","language":"Python","has_issues":true,"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/svenkreiss.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}},"created_at":"2013-05-27T17:52:57.000Z","updated_at":"2024-04-13T22:10:33.000Z","dependencies_parsed_at":"2024-01-18T04:51:43.388Z","dependency_job_id":"2692ed4d-9ee0-4aa1-aa30-6afa51186f49","html_url":"https://github.com/svenkreiss/unicodeit","commit_stats":{"total_commits":90,"total_committers":13,"mean_commits":6.923076923076923,"dds":"0.34444444444444444","last_synced_commit":"d7f3f0cb9b7f8c3abf8e47ea6158b2ee1f6cbf05"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svenkreiss%2Funicodeit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svenkreiss%2Funicodeit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svenkreiss%2Funicodeit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svenkreiss%2Funicodeit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/svenkreiss","download_url":"https://codeload.github.com/svenkreiss/unicodeit/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248636499,"owners_count":21137469,"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":["converts-latex-tags","unicode"],"created_at":"2024-08-09T14:02:36.536Z","updated_at":"2025-04-12T21:33:52.567Z","avatar_url":"https://github.com/svenkreiss.png","language":"Python","readme":"# UnicodeIt\n\nTested on Linux, Mac and Windows: ![Tests](https://github.com/svenkreiss/unicodeit/workflows/Tests/badge.svg)\n\nConverts LaTeX tags to unicode.\nAvailable online at [unicodeit.net](https://www.unicodeit.net).\n\n\n## Examples\n\n```\n\\alpha α, \\beta β, \\infty ∞       e^+ e⁺, \\mu^- μ⁻               \\exists ∃, \\nexists ∄\n\\int ∫, \\sum ∑, \\partial ∂        \\to →, p\\bar{p} pp̅             \\mathcal{H} ℋ, \\mathbb{R} ℝ\n\\slash{\\partial} ∂̸                \\underline{x} x̲                \\phone ☎, \\checkmark ✓\n\\dot{x} ẋ, \\ddot{x} ẍ             A^6 A⁶, m_0 m₀                 \\Im ℑ, \\Re ℜ, \\hbar ℏ\n\\gamma γ, \\Gamma Γ                \\~{O} Õ                        \\perp ⊥, \\parallel ∥\n\\sfrac{3}{5} ⅗                    \\therefore ∴, \\because ∵       \\subset ⊂, \\supset ⊃\n```\n\n\n## Python\n\nInstall with `pip install unicodeit` and run\n\n```sh\npython -m unicodeit.cli \\\\alpha\n```\n\nor in Python\n\n```py\nimport unicodeit\nprint(unicodeit.replace('\\\\alpha'))\n```\n\n\n## JavaScript / TypeScript\n\nInstall with `npm install unicodeit --save-dev` and use it like this:\n\n```js\nvar unicodeit = require('unicodeit');\nconsole.log(unicodeit.replace('\\\\alpha'));\n```\n\n\n## Mac Automator\n\nCreate your own Automator Workflow:\n\n* Create a new \"Quick Action\" (might also be labeled as \"Service\").\n* At the top, leave the defaults: \"Service receives *selected text* in *any application*\"\n* Select the checkmark \"output replaces selected text\".\n* Add the action \"Run Shell Script\".\n* From dropdown, select to \"pass in: as arguments\".\n* The command is: `/usr/local/bin/python3 -m unicodeit.cli $1`. This Python interpreter must have unicodeit installed; e.g. with `/usr/local/bin/python3 -m pip install unicodeit`.\n* It should look something like this:\n\n![automator script](docs/automator.png)\n\nTo set a keyboard shortcut, go to `System Preferences` →\n`Keyboard` → `Shortcuts` → `Services` → `Text` → `UnicodeItAction`.\nChoose a keyboard shortcut like `Command+Option+Shift U`.\n\nNow you are all set to use your new keyboard shortcut in many apps, like here in Keynote:\n\n![keynote_demo](docs/unicodeit_demo.gif)\n\n\n## [dev] New Release Flow\n\n* update version in `uncodeit/__init__.py` and `package.json`\n* create a new release on Github\n","funding_links":[],"categories":["Python"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsvenkreiss%2Funicodeit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsvenkreiss%2Funicodeit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsvenkreiss%2Funicodeit/lists"}