heroku / erlang-in-anger

A little guide about how to be the Erlang medic in a time of war. It is first and foremost a collection of tips and tricks to help understand where failures come from, and a dictionary of different code snippets and practices that helped developers debug production systems that were built in Erlang.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error trying to build epub format.

lovelle opened this issue · comments

Hi! I would like to build epub format but I get the next error.

root@lin01:/usr/src/erlang-in-anger# pandoc -t epub text.tex -o erlang-in-anger.epub
pandoc: 
Error at "102-building.tex" (line 146, column 11):
unexpected " "
expecting "{" or "\\"
Erlang is a programming environment where the approach taken is equivalent to the human body's immune system, whereas most other languages only care about hygiene to make sure no germ enters the body. Both forms appear extremely important to me. Almost every environment offers varying degrees of hygiene. Nearly no other environment offers the immune system where errors at run time can be dealt with and seen as survivable.

Anyway, thank you for this wonderful book.

Bye

Yes, pandoc is not able to deal with the LaTeX from this book somehow. I don't know how to resolve it and the project history will show some attempts were done but none work.

I did some tweaks to get it to run through pandoc and get a PDF. Here's the result. I'm working on cleaning it up so I can create a PR.

book.epub.zip

I just updated the ebook and added missing metadata via calibre.
erlang-in-anger.zip