Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jakubandrysek/vlna
Vlna is used to replace spaces between words with non-breaking spaces in Czech language texts.
https://github.com/jakubandrysek/vlna
czech language latex python3 tilda vlna vlnak
Last synced: 15 days ago
JSON representation
Vlna is used to replace spaces between words with non-breaking spaces in Czech language texts.
- Host: GitHub
- URL: https://github.com/jakubandrysek/vlna
- Owner: JakubAndrysek
- License: mit
- Created: 2023-02-26T22:02:19.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-03-10T22:17:08.000Z (almost 2 years ago)
- Last Synced: 2024-10-30T11:12:51.653Z (2 months ago)
- Topics: czech, language, latex, python3, tilda, vlna, vlnak
- Language: TeX
- Homepage:
- Size: 10.7 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# vlna - Czech typography tool
Vlna is used to replace spaces between words with non-breaking spaces in Czech language texts.
The idea is based on [vlna](http://ftp.linux.cz/pub/tex/local/cstug/olsak/vlna/) tool written by Petr Olšák.## Installation
```bash
python3 vlna.py AaIiKkSsVvUuOoZz0123456789 < input.tex > output.tex
```
- `AaIiKkSsVvUuOoZz0123456789` - add ~ after these characters (optional)
- input.tex - input file
- output.tex - output file (optional) - if not set, output is printed to stdout## Example
Replace file will be printed to stdout.
```bash
python3 vlna.py AaIiKkSsVvUuOoZz0123456789 < ./test-data/soc/test.tex
```Replace file will be saved to `test_output_soc.tex`.
```bash
python3 vlna.py AaIiKkSsVvUuOoZz0123456789 < ./test-data/soc/test.tex > test_output_soc.tex
```## Tests
Run tests with:
```bash
python3 -m unittest -v test/test_vlna.py
```