Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/barnouda/rac
Utility to replace accentuated and non-English characters in LaTeX and bibtex files by their corresponding codes
https://github.com/barnouda/rac
accents bibtex cedilla encoding latex tilde
Last synced: 19 days ago
JSON representation
Utility to replace accentuated and non-English characters in LaTeX and bibtex files by their corresponding codes
- Host: GitHub
- URL: https://github.com/barnouda/rac
- Owner: barnouda
- Created: 2025-01-08T19:37:40.000Z (29 days ago)
- Default Branch: master
- Last Pushed: 2025-01-08T19:44:15.000Z (29 days ago)
- Last Synced: 2025-01-08T20:43:00.135Z (29 days ago)
- Topics: accents, bibtex, cedilla, encoding, latex, tilde
- Language: Shell
- Homepage:
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# RAC - Replacement of Accentuated and other non-English Characters in LaTeX and bibtex files
## Overview
These scripts replace some accentuated and other non-English characters in latex and bibtex files by their corresponding codes when it is not possible to use a suitable encoding.
Some journal latex templates enforce an encoding not suitable for non-English characters. In such cases, you can use codes (e.g. `\'{e}` for `é`), but it is tedius to type text using these codes. With these scripts, you may write with accents and other non-English characters in your `.tex` and `.bib` files and run the scripts on your files to replace letters with their corresponding code.
## Characters implemented
The following characters are implemented. Other characters may be added as needed.
| |'|`|^|¨||
|---|---|---|---|---|---|
|aA|á|à|â|ä| |
|eE|é|è|ê|ë| |
|iI|í|ì|î|ï| |
|oO|ó|ò|ô|ö| |
|uU|ú|ù|û|ü| |
|yY|ý|ỳ|ŷ|ÿ| |
|cC| | | | |ç|
|nN| | | | |ñ|## Usage
`sh rac_tex.sh my_latex_file.tex`
`sh rac_bib.sh my_bibtex_file.bib`
The scripts replace letters directly in the file.
Then, you may compile your document as usual.