Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

arabic or persian support #54

Open
aminify opened this issue May 3, 2018 · 1 comment
Open

arabic or persian support #54

aminify opened this issue May 3, 2018 · 1 comment

Comments

@aminify
Copy link

aminify commented May 3, 2018

how can we use it to export proper pdf containing arabic or persian text?
for example consider following word: سلام

I used following code in sharelatex and it worked, but it showed errors with your library and the pdf was messed up:
\documentclass[11pt,a4paper]{report}
\usepackage[utf8]{inputenc}
\usepackage[LFE,LAE]{fontenc}
\usepackage[english,farsi]{babel}
\begin{document}
سلام
\end{document}

by the way the error was this:
! LaTeX Error: Encoding scheme `LAE' unknown.

@manuels
Copy link
Owner

manuels commented May 4, 2018

I checked on my debian system and it looks like you need to add the texlive-lang-arabic.
Put these files (like .../texmf-dist/tex/latex/arabi/farsi.ldf) into their corresponding folder under the texlive directory and update texlive.js/texlive.lst.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants