Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thjbdvlt/pandoc-french-typography
pandoc lua filter for french typography
https://github.com/thjbdvlt/pandoc-french-typography
french markdown pandoc pandoc-filter
Last synced: 14 days ago
JSON representation
pandoc lua filter for french typography
- Host: GitHub
- URL: https://github.com/thjbdvlt/pandoc-french-typography
- Owner: thjbdvlt
- License: mit
- Created: 2024-10-09T22:53:05.000Z (about 1 month ago)
- Default Branch: sea
- Last Pushed: 2024-10-20T09:30:31.000Z (27 days ago)
- Last Synced: 2024-10-20T13:39:33.332Z (27 days ago)
- Topics: french, markdown, pandoc, pandoc-filter
- Language: Lua
- Homepage:
- Size: 21.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
a mini [pandoc](https://pandoc.org/index.html) [lua filter](https://pandoc.org/lua-filters.html) that add [thin space](https://en.wikipedia.org/wiki/Thin_space) (narrow non-breaking space) after some punctuations (`?!:;`) according to french typographic rules, replace `"` quotes by french quotes (`«`, `»` with non-breaking space) and add `œ` ligatures (in some words).
- there is no __magic__ at all. it only add thin spaces in `Inline` elements. if there is already a space, it add a thin space anyway.
- yet only tested for PDF produced with typstusage
=====```bash
pandoc input-files.md -o out.pdf \
--lua-filter pandoc-french-typography.lua
```