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

Generate epub or change PDF font #79

Open
kanor1306 opened this issue Sep 30, 2023 · 1 comment
Open

Generate epub or change PDF font #79

kanor1306 opened this issue Sep 30, 2023 · 1 comment

Comments

@kanor1306
Copy link

Hi,

I was wondering if you have a set of instructions to generate an EPUB instead of a PDF, or alternatively use a different font in the PDF.

My reason to ask is that I am trying to get a dyslexic friendly version of this book, and usually using the OpenDyslexic font helps (and you can get it automatically in an ebook when using EPUB documents).

Thanks in advance

@timmyjose
Copy link

timmyjose commented Oct 22, 2023

@kanor1306 You can do it yourself:

  % set global font to OpenDyslexic
  \usepackage{fontspec} 
  \setmainfont{OpenDyslexic}

  \begin{document}

  % the document here

  \end{document}

However, apparently, pdflatex does not support this. You have to compile it using XeLateX or LuaLaTeX.

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