Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mearman/unicode-tex-character-converter
An NPM package for handling strings for use in Bib/LaTeX
https://github.com/mearman/unicode-tex-character-converter
bibtex latex tex unicode
Last synced: 3 months ago
JSON representation
An NPM package for handling strings for use in Bib/LaTeX
- Host: GitHub
- URL: https://github.com/mearman/unicode-tex-character-converter
- Owner: Mearman
- Created: 2024-02-29T12:05:49.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-09-24T09:40:28.000Z (4 months ago)
- Last Synced: 2024-10-03T08:10:23.745Z (3 months ago)
- Topics: bibtex, latex, tex, unicode
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/unicode-tex-character-converter
- Size: 1.88 MB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Unicode TeX Character Converter for LaTeX/BibTeX
[![GitHub commit activity](https://img.shields.io/github/commit-activity/t/Mearman/Unicode-TeX-Character-Converter?style=for-the-badge&logo=GitHub&color=%23181717)](https://github.com/Mearman/Unicode-TeX-Character-Converter/commits/main/)
[![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/Mearman/Unicode-TeX-Character-Converter/test.yml?branch=main&style=for-the-badge&logo=githubactions)](https://github.com/Mearman/Unicode-TeX-Character-Converter/actions)
[![NPM Version](https://img.shields.io/npm/v/unicode-tex-character-converter?style=for-the-badge&logo=npm&color=CC3534)](https://www.npmjs.com/package/unicode-tex-character-converter)This TypeScript library facilitates the conversion among Unicode characters, their codepoints, and corresponding LaTeX/BibTeX commands. For instance:
- `α` -> `U+03B1`
- `α` -> `\textalpha`
- `U+03B1` -> `α`
- `U+03B1` -> `\textalpha`.
- `\textalpha` -> `α`
- `\textalpha` -> `U+03B1`Initially, this library was designed to assist with the conversion of content within BibTeX files. However, its utility extends to any scenario requiring conversion between Unicode and LaTeX/BibTeX Unicode character commands.
## How to Contribute
Should you encounter any issues, missing or incorrect mappings, please [file an issue](https://github.com/Mearman/Unicode-TeX-Character-Converter/issues/new) and/or [create a fork](https://github.com/Mearman/Unicode-TeX-Character-Converter/fork) and [submit a pull request](https://github.com/Mearman/Unicode-TeX-Character-Converter/compare) via the [GitHub repository](https://github.com/Mearman/Unicode-TeX-Character-Converter).