Dictionnary typesetting with LaTeX
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
tex
xml
.gitignore
Readme.md
littre.pdf
littre.tex
preview.png
script.py

Readme.md

Littré typesetting

Typesetting Émile Littré’s "dictionnaire de la langue française", written in Python and LaTeX with less than 100 lines of code. You can download the result (88 MB) or check the code on GitHub.

Littre dictionnary

Try this at home

  1. Clone the repo: git clone https://github.com/sylvaindurand/littre.git
  2. Open the folder: cd littre
  3. Compile: python3 script.py && buf_size=100000000 lualatex littre.tex
  4. Admire: littre.pdf

Colophon

The structured data came from XMLittré, made by François Gannaz. Those files, stored in /xml, are licensed under the CC-BY-SA license. The XML files are extrated and transformed into a simple .tex file (located in /tex) thanks to script.py. Then, littre.tex produces the final output littre.pdf.

The source code is freely available on GitHub and published under the MIT license.

Question?

Please feel free to open an issue or to push a commit.