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: 2 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 (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-16T07:13:50.000Z (2 months ago)
- Last Synced: 2025-03-24T03:44:37.741Z (2 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: 13
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Unicode TeX Character Converter for LaTeX/BibTeX
[](https://github.com/Mearman/Unicode-TeX-Character-Converter/commits/main/)
[](https://github.com/Mearman/Unicode-TeX-Character-Converter/actions)
[](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).