Creating your ebooks

Creating your ebooks

I was tinkering with ebooks creation here and with a website to show them here.

It was all about to extract knowledge from Kinddle clippings and I ended up creating instead.

PDFs

PDFs are strange files, actually.

Thanks to R Language + Rmd + Latex, creating PDFs is very simple.

See the source code of the open ebooks Ive created for the docs here

#git clone https://github.com/JAlcocerT/JAlcocerT.git
#cd JAlcocerT/

# From the repo root 
Rscript Z_ebooks/render.R \
  --input Z_ebooks/dna-ebook.md \
  --output Z_ebooks/dna-ebook.pdf \
  --cover Z_ebooks/sample-cover.png

Epubs

Now, the epub files are closer to htmls than we might expect.