دارجةLet's talk
03 · Web app

Matn: Arabic book typesetting, right in the browser.

Drop in a Word manuscript and get a print-ready PDF and an EPUB, set like a real Arabic book: lines justified with kashida, classical poetry in equal hemistichs, Quranic verses, footnotes and a table of contents. The manuscript never leaves your device.

  • Web app
  • WebAssembly
  • Arabic
The Matn home page: Arabic book formatting in the browser, with the studio typesetting a page

Who it's for

Authors, publishers and anyone preparing an Arabic book, who write in Word and want pages that look like a printed book, not a document.

What it does

  • Justified with kashida

    Lines are justified the way Arabic books always were: one join per word is drawn longer, where a calligrapher would put it, not padded with gaps.

  • Classical poetry

    Verses are set in two equal hemistichs, the way classical poetry is printed.

  • Quranic verses

    Quranic verses get their ornate brackets and their reference.

  • Footnotes and contents

    Footnotes fall at the foot of their page, and the table of contents is built from the chapter titles.

  • Ready for the printer

    Six trim sizes and four font pairings. The PDF goes to the printer, the EPUB to e-readers.

  • Midad, the companion

    A pixel-art print-house owner reads along as the preview renders, and nods when the book looks right.

Straight from the engine

The same paragraph, justified two ways, and three book pages that Matn typeset.

An Arabic paragraph justified by Word, with the widened gaps between words marked in red
✕ Word: the gaps between words grow.
The same Arabic paragraph set by Matn, justified with kashida and no widened gaps
✓ Matn: the letters stretch.
  • A chapter opening set by Matn: the title, an ornament, justified paragraphs and a footnote
    A chapter opening
  • A page set by Matn with Quranic verses in ornate brackets, three lines of classical poetry in two hemistichs, and a footnote
    Verses, poetry and a footnote
  • A table of contents set by Matn, with dotted leaders and page numbers
    The table of contents
Read the whole story, with Midad

Behind it

Pandoc and Typst run as WebAssembly inside the browser. The manuscript is read, typeset and exported on your own machine: no upload, no copy on a server.

Type
Web app
Engine
Pandoc + Typst
Output
PDF · EPUB
Uploads
0

Need something like this built?

I design, build and host websites and web apps for businesses in Morocco and beyond. Tell me about yours.