thebookofshaders icon indicating copy to clipboard operation
thebookofshaders copied to clipboard

export PDF with selected language

Open martialgallorini opened this issue 7 years ago • 2 comments

Hello,

First of all, thanks a lot for this extremely useful ressource about shaders !

I exported a PDF version of the book in english. I see the online ressource has translated versions of the book. Is it possible to export the book into PDF translated into a selected language (French in my case) ?

Thanks a lot

martialgallorini avatar Jun 05 '17 09:06 martialgallorini

Hello,

I know it's an old issue but nobody has answer you. I suppose/whish you find a solution but for people who want a solution here's one :

  1. Open the file : "src/parseBook.py" in your favorite editor
  2. Search for "README" in the file (you should find 2 iteration at line 68 and 69)
  3. Add the langage you want just after "README". For example, if you want the french version of the book (my case too) you should modify those lines like that :

IssueShaderBookSolution

Hope it will someone ;)

Aros69 avatar Jul 23 '19 18:07 Aros69

Hello,

I know it's an old issue but nobody has answer you. I suppose/whish you find a solution but for people who want a solution here's one :

  1. Open the file : "src/parseBook.py" in your favorite editor
  2. Search for "README" in the file (you should find 2 iteration at line 68 and 69)
  3. Add the langage you want just after "README". For example, if you want the french version of the book (my case too) you should modify those lines like that :

IssueShaderBookSolution

Hope it will someone ;)

for README-ch.md, It will get lots of error:

[WARNING] Missing character: There is no 你 in font [lmroman10-regular]:mapping=tex-text;!

Chinese character is not supported by lmroman10-regular font, How can I change font?

WangTingZheng avatar Apr 01 '20 16:04 WangTingZheng