andkret / Cookbook

The Data Engineering Cookbook
https://learndataengineering.com/
Apache License 2.0
13.7k stars 2.5k forks source link

Generate ePub and Mobi files. #22

Open aabouzaid opened 5 years ago

aabouzaid commented 5 years ago

Hello,

Thanks for that's interesting content. Beside PDF file, I'd like to suggest to generate ePub and Mobi files as well.

In the README file it's not clear how the PDF generated, but I'd be happy to add it if PDF generation is added to readme.

Thanks.

andkret commented 5 years ago

I'm not sure what you mean. PDF is created in the Latex editor like TexEdit or TexStudio. Can you elaborate further?

php1ic commented 5 years ago

I think @AAbouZaid may be referring to which version of TeX is used to compile the document.

As you are using png files, latex will not work:

$ latex Data\ Engineering\ Cookbook.tex 
This is pdfTeX, Version 3.14159265-2.6-1.40.19 (TeX Live 2019/dev/Debian) (preloaded format=latex)
 restricted \write18 enabled.
entering extended mode
(./Data Engineering Cookbook.tex
.
.
.
! LaTeX Error: File `images/Machine-Learning-Pipeline' not found.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              

l.154 ...twidth]{images/Machine-Learning-Pipeline}

? 

The user needs to use pdflatex to create the document.

aabouzaid commented 5 years ago

@andkret The whole idea here, I'm looking for a way to generate ePub and Mobi files. So I need to know how exactly the PDF was generated. (the exact tools and steps)