Steps to make the real book using latex:
-
First copy over the
images
folder from leanpub repo fromleanpub/manuscript
torealbook/out
. Make an empty dirrealbook/out/figure
. -
Remove the images associated with the title to save space:
images/1477*
images/title_page*
- Run these bash scripts:
NOTE: if you are on a Mac, there will be an issue with the sed -i
in make_tex.sh
.
If you are on a Mac, use make_tex_mac.sh
instead.
make_md_figs.sh
make_assess.sh
make_tex.sh
make_wrapper.sh
- Try to build a PDF:
cd out
pdflatex wrapper.tex
- Search the PDF file for "## Error"