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

Unicode characters do not appear in PDF #29

Open
DavidLeoni opened this issue Jul 25, 2019 · 0 comments
Open

Unicode characters do not appear in PDF #29

DavidLeoni opened this issue Jul 25, 2019 · 0 comments

Comments

@DavidLeoni
Copy link
Owner

Unicode characters such as ✪ don't display in PDFs

To fix it, tried to add this in conf.py without success:
Taken inspiration from this

#: To fix @ issue, copied from here: https://github.com/sphinx-doc/sphinx/issues/4136#issuecomment-335956163
latex_engine = 'xelatex'
latex_elements = {
    'papersize': 'a4paper',    
    'preamble' : r"""\usepackage[T1]{fontenc} 
\usepackage[utf8]{inputenc}
"""
}
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

1 participant