Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
44 lines (26 sloc) 1.04 KB


Ganjoor-TeX is a set of scripts to convert the content of the (a Persian poetry) website into TeX files.

Getting started

Html to Text

The script reads the content of the and creates text files.

usage:   ./ <ganjoor link> <txt directory>

example: ./ moulavi/masnavi/daftar1/

Text to TeX

The script reads the content of text files generated by and creates TeX files.

usage:   ./ <txt directory> <tex directory>

example: ./ ../txt/moulavi/masnavi/daftar1/ moulavi/masnavi/daftar1/

TeX to PDF

Using xelatex the TeX files generated by are converted into PDF files.

usage:   xelatex <tex file>

example: xelatex daftar1.tex

The Persian fonts must have been installed before compiling the TeX files.

git clone

You can’t perform that action at this time.