-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
PDF creation build failure for Gujarati language #2620
Comments
@cyberorg where you able to build the PDF in your own computer? I just downloaded the code and was able to build the HTML but I had a different problem with the PDF:
|
Yes, using this in conf.py latex_elements = { \usepackage{fontspec} make -e SPHINXOPTS="-D language='gu'" latex This creates the pdf. |
I see. That seems to be a very custom way to generate your PDF file which is not setup in RTD. You could try to do some magic in your |
Using xelatex instead of pdflatex seems to be the only way to generate pdfs of "non-english" language, I am sure this affects every Indian languages(there are 15 official ones) and all other languages using unicode characters. Is there way to add that magic of using xelatex in place of pdflatex to conf.py? Here is the less custom option that also works, we just need option to set PDFLATEX=xelatex on readthedocs: make PDFLATEX=xelatex -e SPHINXOPTS="-D language='gu'" latexpdf This issue is duplicate of #1556 |
Details
Building pdf fails with many of these kind of errors:
! Package inputenc Error: Unicode char \u8:ત not set up for use with LaTeX.
Building epub and html completes successfully.
Expected Result
PDF build should complete successfully
Actual Result
PDF build failure
The text was updated successfully, but these errors were encountered: